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.
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.
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.
Tools & References
- [1] Python Tutorial: evamariakiss.de/python/
- [2] Python Documentation at python.org: docs.python.org/3/tutorial/
- [3] Python Tutorial W3Schools: w3schools.com/python/
- [4] PIP Packet Manager: pypi.org/project/pip/
- [5] Conda Cheatsheet: conda-cheatsheet.pdf
- [6] NumPy: numpy.org/ – Arrays, Random Number Creation
- [7] Matplotlib: matplotlib.org/ – Data Visualization, Plotting
- [8] Pandas: pandas.pydata.org/ – DataFrames, Series