35 questions · 45 minutes · Python

Python Final Quiz 2 practice quiz

35 MCQs on Python: variables, datatypes, strings, lists, tuples, dictionaries, sets, conditionals, loops, functions, lambda, modules, exceptions, files, regex, and basics.

Before you start

Answer all 35 questions. 1 mark each. No negative marking.

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
35
Time
45 minutes
Marks
35
Subject
Python
Marking
Server-side

What it asks

The first few questions

  1. Which of the following is a valid variable name in Python?
  2. What is the return type of input() in Python 3?
  3. What is the result of type(3.0)?
  4. Which operator is used for exponentiation in Python?

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