The questions
- 1
What is an algorithm?
- A robot that helps in factories
- A set of step-by-step instructions
- A type of very fast computer
- A virus that harms computers
Answer: A set of step-by-step instructions
- 2
What do we call a set of instructions written for a computer to follow?
- A keyboard
- A password
- A program
- An email
Answer: A program
- 3
Putting instructions in the right order is called...
- Loop
- Selection
- Sequence
- Variable
Answer: Sequence
- 4
Put these steps in the right order: put on your shoes, put on your socks, tie your laces.
- Laces, socks, shoes
- Shoes, socks, laces
- Socks, laces, shoes
- Socks, shoes, laces
Answer: Socks, shoes, laces
- 5
A mistake in a program is called a...
- Bug
- Byte
- Loop
- Mouse
Answer: Bug
- 6
Finding and fixing mistakes in a program is called...
- Debugging
- Decoding
- Deleting
- Downloading
Answer: Debugging
- 7
What does a loop do in a program?
- It deletes the program
- It repeats some instructions
- It saves the program
- It stops the program
Answer: It repeats some instructions
- 8
What does this program draw? Repeat 3 times: move forward 10 steps, turn right 120 degrees.
- A circle
- A square
- A straight line
- A triangle
Answer: A triangle
- 9
count = 0. Repeat 5 times: count = count + 2. What is count at the end?
- 10
- 12
- 5
- 7
Answer: 10
- 10
What do we call a part of a program that repeats forever and never stops?
- A broken variable
- A sequence
- A short loop
- An infinite loop
Answer: An infinite loop
- 11
In coding, what is a variable?
- A message sent to another computer
- A mistake hidden in the code
- A named box that stores a value
- A special type of keyboard
Answer: A named box that stores a value
- 12
x = 3, then x = x + 4, then x = x × 2. What is x now?
- 10
- 11
- 14
- 7
Answer: 14
- 13
If it is raining, take an umbrella. Else, wear sunglasses. It is raining. What do you do?
- Do both
- Do nothing
- Take an umbrella
- Wear sunglasses
Answer: Take an umbrella
- 14
If score > 10, say "You win!". Else, say "Try again". The score is 10. What does the program say?
- Try again
- You win!
Answer: Try again
- 15
Repeat 3 times: clap 2 times, then stamp 1 time. How many times do you clap?
- 3
- 5
- 6
- 9
Answer: 6
- 16
This program should draw a square, but it draws only three sides. Repeat 3 times: move forward 10 steps, turn right 90 degrees. How do you fix the bug?
- Change 10 to 20
- Change 3 to 4
- Change 90 to 45
- Change right to left
Answer: Change 3 to 4
- 17
A robot faces north. It moves forward 2 squares, turns left, and moves forward 1 square. Which way is it facing now?
- East
- North
- South
- West
Answer: West
- 18
Computers store everything using only two digits. Which two?
- 0 and 1
- 0 and 9
- 1 and 2
- 5 and 10
Answer: 0 and 1
- 19
Who is often called the first computer programmer?
- Ada Lovelace
- Alan Turing
- Isaac Newton
- Tim Berners-Lee
Answer: Ada Lovelace
- 20
Bonus: which of these is a programming language?
- Algebra
- Morse code
- Python
- Spanish
Answer: Python






