20 questions · 30 minutes · Python

Python Essentials: Quiz 1 practice quiz

20-question quiz covering core Python essentials (variables, types, functions, OOP, I/O, modules, and more).

Before you start

Answer all 20 questions. Each question carries 1 mark. No negative marking. You have 30 minutes.

You can take this without an account and you will still get the full marked review. Only signed-in attempts are saved — sign in first if you want this one kept in your history.

Questions
20
Time
30 minutes
Marks
20
Subject
Python
Marking
Server-side

What it asks

The first few questions

  1. Which keyword is used to create a new variable binding in Python?
  2. Which type is immutable in Python?
  3. What does the expression 5 // 2 evaluate to in Python 3?
  4. Which function returns the number of items in a container (e.g., list or string)?

16 more once you begin. Options are withheld until the attempt starts — the answer key never reaches the browser before you have been marked.