placeholder image to represent content

Python

Quiz by Aleksandar Takaci

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
7 questions
Show answers
  • Q1
    What is the result of the following code?x = 7 % 3print(x)
    0
    3
    1
    2
    30s
  • Q2
    What is the output of the following code?x = 'Hello'print(x[1:4])
    ell
    Hell
    elo
    Hlo
    30s
  • Q3
    What is the result of the following expression?3 + 4 * 2
    15
    14
    11
    10
    30s
  • Q4
    Which of the following is NOT a Python keyword?
    function
    while
    else
    if
    30s
  • Q5
    What is the output of the following code?x = 5y = 2print(x // y)
    5
    2
    3
    2.5
    30s
  • Q6
    Which symbol is used for assignment in Python?
    =
    -
    +
    :
    30s
  • Q7
    Which of the following is a built-in data type in Python?
    String
    Boolean
    Float
    Integer
    30s

Teachers give this quiz to your class