Python quiz: 120 questions
120 questions from the 40 lessons of Python Programming. Each answer is explained, with a link back to the lesson it comes from, and your best score stays on this device.
Test yourself
120 questions from this course's lessons, in a random order. See what you remember, then go back to the lessons behind the questions you missed.
What the quiz covers
- Your first program (3 questions)
- Variables and assignment (3 questions)
- Numbers and operators (3 questions)
- Input and type conversion (3 questions)
- Formatting output (3 questions)
- Decisions with if (3 questions)
- Repeating with for loops (3 questions)
- Repeating with while (3 questions)
- Nested loops (3 questions)
- Working with strings (3 questions)
- Lists (3 questions)
- enumerate and zip (3 questions)
- Lists of lists (3 questions)
- Functions and recursion (3 questions)
- More about functions (3 questions)
- Functions as values (3 questions)
- Using modules (3 questions)
- Tuples and sets (3 questions)
- Dictionaries (3 questions)
- List comprehensions (3 questions)
- Processing text data (3 questions)
- Generators (3 questions)
- Errors and exceptions (3 questions)
- Raising your own errors (3 questions)
- Testing your code (3 questions)
- Debugging (3 questions)
- Classes and objects (3 questions)
- Inheritance (3 questions)
- Special methods (3 questions)
- Recursion in practice (3 questions)
- Memoization (3 questions)
- Stacks and queues (3 questions)
- Linked lists (3 questions)
- Binary trees (3 questions)
- How fast is your code? (3 questions)
- Sorting algorithms (3 questions)
- Two pointers and sliding windows (3 questions)
- Project: a grade book (3 questions)
- Project: a shop inventory (3 questions)
- What comes next (3 questions)