20 questions · 35 minutes · Python

Python Basics: Practice Quiz 1 practice quiz

20-question practice quiz covering fundamental Python concepts (easy → medium).

Before you start

Answer all 20 questions. Each question carries 1 mark. No negative marking. You have 35 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
35 minutes
Marks
20
Subject
Python
Marking
Server-side

What it asks

The first few questions

  1. Which keyword is used to define a function in Python?
  2. How do you create a list in Python?
  3. What will be the type of the expression 3 / 2 in Python 3?
  4. Which data type is immutable in Python?

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