NEW
Font size
WorksheetsCheckpoint 2 Exam revision
Total questions: 14
Worksheet time: 11mins
Look at the blocks below. Which one can you use as a selection block?
What is the algorithm below an example of?
Sequence
Selection
Iteration
Feedback
What is the algorithm below an example of?
Sequence
Selection
Iteration
Decomposition
Look at the code below. What does this code do?
Subtract two numbers
Divide two numbers
Multiply two numbers
Add two numbers
Look at the blocks below. Which one is a loop block?
This code outputs “Pass” if the mark > 50. Which blocks can you add to output “Fail” if the mark < 50?
Look at the code below. What would be the output if the temperature sensor reads 30 Celsius?
COLD
Display
HOT
String
Why do we use iteration in code?
To repeat certain steps in code
To run the code in order
To run the code based on a condition
To collect feedback on a code we wrote
Which one is an advantage of reusing existing code?
To protect computers from cyber attacks
To save storage space
To protect copyrights
To save time, effort, and money
Why do we collect feedback on the code we write?
To break down a problem
To make our code difficult
To improve our code
To make our code longer
Look at the following code. You want to change it to multiply two numbers. Which blocks could you use to create the new program?
What do we call a program or a machine that thinks and acts like humans?
Sensor
Artificial Intelligence (AI)
Decision
Predictions and visual data
How does AI work?
Stores information --> Makes decisions -->Takes actions
Stores information --> Outputs the information
Makes decisions --> Takes actions --> Sends emotions
Takes orders --> Executes orders
Which one is a form of AI?
Ambient light
Remote control
Microcontroller
Face recognition
