wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Intro to Algorithm

Total questions: 7

Worksheet time: 4mins

Name
Class
Date
1.

What is an algorithm?

a)

A computer

b)

A step-by-step way to solve a problem

c)

A programming language

d)

A device setting

2.

Which of the following is an example of an algorithm in daily life?

a)

Watching Netflix

b)

Choosing a filter on Instagram

c)

Following a recipe

d)

Drinking Milo

3.

In algorithm structure, which one is IF/ELSE?

a)

Sequence

b)

Selection

c)

Repetition

d)

Encryption

4.

Which statement describes a loop?

a)

A choice between two options

b)

Repeating steps until a condition changes

c)

Stopping the algorithm

d)

Rearranging items

5.

What does Bubble Sort do?

a)

Sorts by splitting lists into halves

b)

Sorts by comparing and swapping neighbors.

c)

Sorts using hashtags

d)

Sort randomly

6.

Why does TikTok show you certain videos?

a)

It knows your favourite food

b)

It guesses randomly

c)

Based on your interactions and watch time

d)

It follows a country rule

7.

Why do we write pseudocode before coding?

a)

To make the computer happy

b)

To plan the logic clearly

c)

Because teachers ask us to

d)

To decorate the program