placeholder image to represent content

Y8: Python: 1st Lesson:Retrieval

Quiz by Teran Subasinghe

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
11 questions
Show answers
  • Q1
    What does the 'print' function do in Python?
    Creates a list
    Displays output on the screen
    Performs mathematical calculations
    Defines a function
    30s
  • Q2
    Which symbol is used for the assignment operator in Python?
    =
    *
    +
    -
    :
    30s
  • Q3
    What is the result of 4 * 3 in Python?
    15
    10
    7
    12
    30s
  • Q4
    What does the 'len()' function do in Python?
    Converts a string to lowercase
    Rounds a floating-point number
    Finds the maximum value in a list
    Returns the length of a string or list
    30s
  • Q5
    What is the output of the following code snippet: print('Hello' + 'World')?
    Hello_World
    Hello+World
    Hello World
    HelloWorld
    30s
  • Q6
    What is the correct way to start a single-line comment in Python?
    //
    /*
    --
    #
    30s
  • Q7
    What is the output of the following code snippet: print(2 ** 3)?
    8
    5
    6
    10
    30s
  • Q8
    Which of the following is not a comparison operator in Python?
    >
    ==
    <
    ++
    30s
  • Q9
    What is the result of 5 + 3 * 2 in Python?
    16
    10
    11
    13
    30s
  • Q10
    In Python, which keyword is used to define a function?
    def
    let
    define
    func
    30s
  • Q11
    What is the output of the following code snippet in Python: print(3 == 3)
    Error
    False
    None
    True
    30s

Teachers give this quiz to your class