wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Programming reviewing quiz

Total questions: 30

Worksheet time: 19mins

Name
Class
Date
1.

Repeating a task multiple times in programming is known as ?

a)

Iterators

b)

Scope

c)

Looping

d)

Algorithm

2.

What is this?

a)

Algorithm

b)

Flowchart

c)

Program

d)

Diagram

3.

Why are loops important?

a)
It determines the order in which instructions are carried out
b)

It simplifies the code instead of having duplicated steps

c)

It allows multiple paths of possibilities through a program

d)

It ensures the code works infinitely

4.

What are the two types used to implement loops?

a)
IF and WHILE
b)
ELSE and WHILE
c)
FOR and WHILE
d)
IF and ELSE
5.

Which type of loop is iterated until a condition is true (or false)?

a)

FOR loop

b)

WHILE loop

6.

FOR loops are

a)

loops which run an unknown number of times

b)

loops which run for a specific number of times

c)

the same as if statements

d)

not part of programming

7.

What is symbol used for?

a)

it is not used in flowcharts

b)

to start a loop

c)

begin the flowchart

d)

as a button to run a game

8.

WHILE loops are

a)

loops which run an indefinitely as long as the condition is met

b)

loops which run for a specific number of times

c)

the same as if statements

d)

loops that are iterated infinitely

9.

A condition is

a)

a statement that can be either True or False

b)

a string

c)

a while loop that was completed

d)

a list

10.

What symbol is this?

a)

Question

b)

Decision

c)

If else

d)

Condition

11.

Which kind of loop would be used?


I need a program that will keep letting me add spare coins to a piggy bank (alcancia) until I get to $100.

a)

FOR Loop

b)

WHILE Loop

12.

Which kind of loop would be used?


I need a supervision program that will check if the classroom is clean 4 times per day.

a)

FOR Loop

b)

WHILE Loop

13.

(a)   loop is used for executing statements while a given condition is true.

14.
What type of loop is used when you know how many times you want to repeat something?
a)
A WHILE Loop
b)
An IF function
c)
A FOR Loop
d)
A Variable
15.

What does symbol mean?

a)

Read

b)

Flowchart

c)

Input

d)

Process

16.

The component that uses the information given by a sensor and uses that information (thinks) to do the work or task that was it was made for.

a)

Percolator

b)

Tool

c)

Motor

d)

Resistor

17.

Which law of Robotics is about the robot protecting itself?

a)

1

b)

2

c)

3

d)

4

18.

Which robot system would be formed by the battery, wires and energy?

a)

Mechanical

b)

Intelligence

c)

Programming

d)

Electrical

19.

Which Robotics characteristic matches this definition: performs its tasks self sufficiently and independently

a)

Efficient

b)

Robot

c)

Smart

d)

Automatic

20.

It's key characteristic that a robot has in order to not be harmful to itself or other living things

a)

Smart

b)

Efficient

c)

Responsive

d)

Safe

21.

Which law of Robotics is about keeping HUMANS SAFE from robot harm?

a)

1

b)

2

c)

3

d)

4

22.

Which Robotics characteristic best matches this definition: performs its task in the best way possible and in less time than a person.

a)

Efficient

b)

Responsive

c)

Smart

d)

Autonomous

23.

If a robot does not follow commands correctly from the program code you made, which law is it violating?

a)

1

b)

2

c)

3

d)

4

24.

A device that detects or measures physical things (like obstacles, heat, light, sound, pressure, motion, etc.) and sends the data to the robot to operate.

a)

Robot

b)

Motor

c)

Sensor

d)

Tool

25.

Which of the following is NOT a key characteristic of robots?

a)

Automatic

b)

Efficient

c)

Responsive

d)

Safe

26.

It is the component that is used to turn energy into mechanical force or movement.

a)

Sensors

b)

Tools

c)

Effectors

d)

Motors

27.

What is the arrow pointing toward?

a)

Tool

b)

Motor

c)

Power Supply

d)

Sensor

28.

The set of rules that must be followed to write instructions for a programming language in order for it to understand your commands is called:

a)

executing

b)

programming

c)

algorithm

d)

syntax

29.

A set of instructions that tells a computer what to do to accomplish a particular task or assignment is:

a)

Software

b)

Web application.

c)

Program or algorithm.

d)

Programming language.

30.

What is the arrow pointing toward?

a)

Motor

b)

Tool

c)

Sensor

d)

Program