Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Review2T1G5

Total questions: 14

Worksheet time: 7mins

Name
Class
Date
1.

Look at the blocks below. Which one can you use as a selection block?

a)
b)
c)
d)
2.

What is the algorithm below an example of?

a)

a.     Sequence

b)

a.     Selection

c)

a.     Iteration

d)

a.     Feedback

3.
a)

a.     Sequence

b)

a.     Selection

c)

a.     Iteration

d)

a.     Decomposition

4.

Look at the code below. What does this code do?

a)

a.     Subtract two numbers

b)

a.     Divide two numbers

c)

a.     Multiply two numbers

d)

a.     Add two numbers

5.

  Look at the blocks below. Which one is a loop block?

a)
b)
c)
d)
6.

This code outputs “Pass” if the mark > 50.  Which blocks can you add to output “Fail” if the mark < 50?

a)
b)
c)
d)
7.

Look at the code below. What would be the output if the temperature sensor reads 30 Celsius?

a)

Cold

b)

Display

c)

Hot

d)

String

8.

Why do we use iteration in code?

a)

a.     To repeat certain steps in code

b)

a.     To run the code in order

c)

a.     To run the code based on a condition

d)

a.     To collect feedback on a code we wrote

9.

  Which one is an advantage of reusing existing code?

a)

a.     To protect computers from cyber attacks

b)

a.     To save storage space

c)

a.     To protect copyrights 

d)

a.     To save time, effort, and money 

10.

Why do we collect feedback on the code we write?

a)

a.     To break down a problem

b)

a.     To make our code difficult

c)

a.     To improve our code

d)

a.     To make our code longer

11.

Look at the following code. You want to change it to multiply two numbers. Which blocks could you use to create the new program?

a)
b)
c)
d)
12.

What do we call a program or a machine that thinks and acts like humans?

a)

a.          Sensor

b)

a.          Artificial Intelligence (AI)

c)

a.          Predictions and visual data

d)

a.          Decision

13.

How does AI work?

a)

a.     Stores information        Makes decisions       Takes actions

b)

a.     Stores information        Outputs the information

c)

a.     Makes decisions        Takes actions       Sends emotions

d)

a.     Takes orders       Executes orders

14.

Which one is a form of AI?

a)
b)
c)
d)