Python Quizzes

Each Python quiz consists of ten questions, each question has three to five possible answers, at least one of them is correct. There may be multiple correct or incorrect answers. Check those answers that you think are correct, then click the "Submit Quiz" button. Read the Python Tutorial on this site for a brief summary on these topics. Have fun!

 Quiz: Python Basics

Test your basic understanding of Python programming and language syntax by taking the quiz "Python Basics".
Topics of this quiz are: variables, lists and NumPy arrays, Python built-in functions and user-defined functions, creating figures with line plots.

Start the Quiz  

 Quiz: Python Lists and Arrays

Test your basic understanding of Python data structures by taking the quiz "Python Lists and Arrays".
Topics of this quiz are Python lists and NumPy arrays. What is the difference between Python lists and NumPy arrays? Python lists store data of arbitrary data type dynamically and support linked list and stack operations such as insert, append, pop, sort, reverse. NumPy arrays store data of the same data type in an efficient way with a focus on elementwise operations and statistic functions, useful for creating sequences, random numbers, multidimensional arrays.

  For background and answers look at the short description of lists in the Python tutorial.

Start the Quiz 

 Quiz: Python Functions

Test your basic understanding of Python functions by taking the quiz "Python Functions".
Topics of this quiz are: defining and using functions, passing arguments to functions, local and global variables, annotations, docstrings, lambda functions, vectorize functions.

  For background and answers look at the short explanation in the Python tutorial: Functions.

Start the Quiz 

Tools & References