placeholder image to represent content

Python pc

Quiz by Matthew Morton-Banner

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
10 questions
Show answers
  • Q1
    What symbol is used to define a string in Python?
    $
    &
    "
    '
    30s
  • Q2
    Which of the following is a correct way to assign a value to a variable in Python?
    my variable == 10
    10 = my_variable
    my-variable: 10
    my_variable = 10
    30s
  • Q3
    What will be printed when the following line of code is executed: print("Hello, World!")?
    Hello, World!
    "Hello, World!"
    Error: Invalid syntax
    Hello World!
    30s
  • Q4
    What is the purpose of using quotes (" ") in Python?
    To indicate a function
    To create a comment
    To separate variables
    To define string literals
    30s
  • Q5
    What is Python?
    A type of snake
    An online game
    A programming language
    A school subject
    30s
  • Q6
    Who created Python?
    Mark Zuckerberg
    Bill Gates
    Steve Jobs
    Guido van Rossum
    30s
  • Q7
    What operator would you use to multiply two numbers in Python?
    /
    *
    -
    +
    30s
  • Q8
    Which operator would you use to divide two numbers in Python?
    -
    /
    +
    *
    30s
  • Q9
    What does the '+' operator do in Python?
    It subtracts one number from another
    It adds two numbers together
    It multiplies two numbers
    It divides one number by another
    30s
  • Q10
    In Python, which operator is used to subtract one number from another?
    *
    -
    /
    +
    30s

Teachers give this quiz to your class