wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Understanding Algorithms and Flowcharts

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

What is an algorithm?

a)

A type of robot

b)

A sequence of dance steps

c)

A set of rules to solve a problem

d)

A machine part

2.

Which of the following best shows a real-life algorithm?

a)

Singing a song

b)

Playing with a ball

c)

Tying your shoelaces step-by-step

d)

Looking at the clouds

3.

What tool helps organize algorithms visually?

a)

Spreadsheet

b)

Flowchart

c)

Poster

d)

Calendar

4.

What does a rectangle in a flowchart represent?

a)

Input/Output

b)

Start/End

c)

Process

d)

Decision

5.

What symbol represents a decision in a flowchart?

a)

Circle

b)

Diamond

c)

Parallelogram

d)

Arrow

6.

A parallelogram in a flowchart is used for:

a)

Making loops

b)

Input/Output

c)

Ending a process

d)

Decisions

7.

Which flowchart symbol shows the direction of the algorithm?

a)

Oval

b)

Rectangle

c)

Arrow

d)

Triangle

8.

What does a variable do in a program?

a)

Stores values

b)

Runs the code

c)

Ends a loop

d)

Draws shapes

9.

What kind of data does a boolean variable hold?

a)

Numbers

b)

Text

c)

True or False

d)

Symbols

10.

Which of these is an example of a string variable?

a)

10

b)

True

c)

"Hello"

d)

5.7

11.

What is the main purpose of a loop?

a)

To make decisions

b)

To repeat instructions

c)

To create variables

d)

To stop the program

12.

Which of these is an arithmetic operator?

a)

==

b)

&&

c)

+

d)

=

13.

What does the “=” symbol do in programming?

a)

Adds two numbers

b)

Assigns a value to a variable

c)

Compares values

d)

Ends the code

14.

What operator is used to compare if two values are equal?

a)

=

b)

!=

c)

==

d)

>=

15.

Which operator returns True only when both conditions are true?

a)

OR

b)

AND

c)

NOT

d)

XOR

16.

What happens if you skip a step in an algorithm?

a)

The result is still the same

b)

The process might fail

c)

It becomes faster

d)

The loop ends

17.

Which is an example of using an algorithm in daily life?

a)

Guessing answers

b)

Picking clothes randomly

c)

Following a recipe

d)

Playing a game without rules

18.

In flowcharts, what shape is used for the start or end of a process?

a)

Diamond

b)

Rectangle

c)

Oval

d)

Parallelogram

19.

A sprite variable in micro:bit represents:

a)

A type of loop

b)

A text display

c)

A dot on the screen with row and column

d)

A process in flowchart

20.

What is the value of 10 % 3 using the modulus operator?

a)

3

b)

1

c)

0

d)

10

21.

Which statement is true about loops?

a)

They stop the program

b)

They delete variables

c)

They repeat actions

d)

They sort data

22.

Which is an example of a logical operator?

a)

+

b)

==

c)

AND

d)

%

23.

What operator would you use to check if one value is greater than another?

a)
b)

!=

c)

==

d)

>=

24.

Which of the following is not a type of operator?

a)

Logical

b)

Musical

c)

Arithmetic

d)

Comparison

25.

Why are flowcharts important in programming?

a)

They are beautiful

b)

They are easy to draw

c)

They show the step-by-step process

d)

They don’t need symbols

26.

What would be the result of this comparison: 8 != 5?

a)

False

b)

True

c)

Error

d)

0

27.

Which part of an algorithm makes decisions?

a)

Loop

b)

Variable

c)

Decision symbol

d)

Process symbol

28.

When is a loop most useful?

a)

When repeating actions

b)

When ending a program

c)

When storing a variable

d)

When drawing a chart

29.

What does a comparison operator do?

a)

Adds variables

b)

Compares values

c)

Displays output

d)

Repeats a loop

30.

What happens when you use the operator “NOT” on a true value?

a)

It stays true

b)

It becomes false

c)

It adds numbers

d)

It deletes the variable