wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Understanding Algorithms and Programming

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.

What is an algorithm?

a)

A computer machine

b)

A step-by-step set of commands to solve a problem

c)

A programming language

d)

A type of error

2.

Which of the following is the BEST example of an algorithm?

a)

Playing games on a tablet

b)

Writing code without steps

c)

Following steps to make a sandwich

d)

Watching a video

3.

What does sequencing mean in programming?

a)

Repeating steps many times

b)

Fixing programming errors

c)

Arranging steps in the correct order

d)

Choosing different outputs

4.

Which activity shows correct sequencing?

a)

Baking a cake before mixing ingredients

b)

Cutting bread before taking it out

c)

Following a recipe step by step

d)

Skipping steps to save time

5.

What type of structure is used when a program chooses different paths based on a condition?

a)

Loop

b)

Sequencing

c)

Selection

d)

Error

6.

Which of the following is an example of selection?

a)

Brushing teeth every morning

b)

If it is raining, take an umbrella; otherwise, do not

c)

Writing steps in order

d)

Repeating a task many times

7.

What is a loop used for in programming?

a)

To stop a program

b)

To repeat an action again and again

c)

To check spelling mistakes

d)

To arrange steps

8.

Which of the following best represents a loop?

a)

Choosing what to wear

b)

Making a sandwich once

c)

Hammering a nail repeatedly

d)

Writing one instruction