placeholder image to represent content

Year 7 Homework 11

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
10 questions
Show answers
  • Q1
    What is Python (computing)?
    An algorithm
    A software package
    A snake
    A programming language
    30s
  • Q2
    Which is the correct line of code for moving the turtle forward?
    turtle.forward(90)
    Turtle.forward(90)
    Turtle.left(90)
    turtle.left(90)
    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 does the word Iteration mean?
    Only run a section of code if a specific condition is true.
    A location in memory to store a value.
    Repeat a section of code.
    Error
    30s
  • Q7
    Which code will loop forever?
    for i in range (100):
    for i in range (4):
    while number == 30
    while True:
    30s
  • Q8
    Which code will iterate 10 times?
    for i in range(10):
    while number == 15:
    for i in range(5)
    while True:
    30s
  • Q9
    What is Selection?
    A box of chocolates
    Code that repeats.
    An algorithm
    When a section of code only runs if a condition is True.
    30s
  • Q10
    Which line of code will change the direction of the turtle?
    turtle.speed(120)
    turtle.width(120)
    turtle.left(120)
    turtle.forward(120)
    30s

Teachers give this quiz to your class