placeholder image to represent content

Year 7 Homework 10

Quiz by KS3 IT

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
9 questions
Show answers
  • Q1
    Which programming language is named after a type of snake?
    Java
    Ruby
    C++
    Python
    30s
  • Q2
    What is the output of the following Python code snippet: print(5 + 3 * 2)
    11
    16
    4
    10
    30s
  • Q3
    What does the 'print()' function do in Python?
    Imports external libraries
    Performs mathematical calculations
    Displays output to the screen
    Defines a new variable
    30s
  • Q4
    What python function accepts an input from a user?
    input()
    variable
    print()
    data-type
    30s
  • Q5
    What is a variable in programming?
    A data-type
    A function
    Permanent storage on the hard drive.
    A location in memory where a value can be stored while the program runs.
    30s
  • Q6
    What would be the output of print("This is a test")
    print("This is a test")
    "This is a test"
    This is a test
    Error
    30s
  • Q7
    What is the mistake in this line of code: answer = Input ("What is the capital of England?")
    There is a missing speech mark
    There is a missing bracket.
    There is not a variable.
    There should not be a capital I for input()
    30s
  • Q8
    Which of the following will produce an error?
    print(It is a nice day")
    print("I love Mondays!")
    print("Python is fun")
    print("Hello Year 7")
    30s
  • Q9
    What is an algorithm?
    A Dance?
    Something that grows in a pond?
    A mathematical formula
    A list of instructions for a digital device.
    30s

Teachers give this quiz to your class