wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

ALGORITHM AND FLOWCHART

Total questions: 51

Worksheet time: 3hrs 59mins

Name
Class
Date
1.
What command is this shape for?
a)
START / STOP
b)
INPUT / OUTPUT
c)
PROCESS
d)
DECISION
2.
What does this shape represent?
a)
Input/Output
b)
Decision
c)
Process
d)
Start/Stop
3.

Algorithm is a

a)

Step by step procedure

b)

difficult procedure

c)

complex

d)

hard steps

4.

Flowchart are ____________________________ in nature.

a)

Easy

b)

Simple

c)

Complex

d)

Hard

5.

______________________ is a pictorial representation of steps.

a)

Algorithm

b)

Flowchart

c)

Connectors

d)

Flowlines

6.

What are the three algorithm constructs?

a)

Sequence, selection, repetition

b)

Input, output, process

c)

Input/output, decision, terminator

d)

Loop, input/output, process

7.

What is the difference between a flowchart and pseudocode?

a)

A flowchart is diagrammatic whilst pseudo code is written in a programming language (eg. Pascal or Java)

b)

flowchart is textual but pseudo code is diagrammatic

c)

A flowchart is a diagrammatic description of an algorithm whilst pseudo code is a textual description of an algorithm

d)

A flowchart and pseudo-code are the same thing

8.
What does this shape represent?
a)
Decission
b)
Process
c)
Input/Output
d)
Start/End
9.

The ordering of steps in algorithm is Process,

input, output.

a)

True

b)

False

10.

Any shapes can be used for drawing flowchart.

a)

True

b)

False

11.

Only one arrow should enter the decision box.

a)

True

b)

False

12.

What does this symbol represent?

a)

Input/Output

b)

Start

c)

Stop

d)

Decision

13.

What does an arrow represent in a flow chart

a)

Decision making

b)

Data Flow

c)

Start

d)

Stop

14.

What is an Algorithm?

a)

A set of instructions in order

b)

A task for the computer

15.

What is the purpose of a flowchart?

a)

To plan the program before it is made

b)

Because it is easier

16.

A diagram to show each step in solving a problem is a____________?

a)

Flowchart

b)

Algorithm

17.

A flowchart does not need to have a Start

a)

True

b)

False

18.

What symbol do flowcharts begin with?

a)

oval

b)

parallelogram

c)

rectangle

d)

diamond

19.

What symbol shows something you need to do?

a)

oval

b)

parallelogram

c)

rectangle

d)

diamond

20.

How do you repeat things in a Flowchart?

a)

Loop

b)

Start/Stop

c)

Play

21.

What is a flowchart symbol?

a)

Specific shape used to create a visual representation of the program

b)

It is a directional symbol for traffic

c)

it shows a connection

d)

words that flow with the chart

22.

What does the Start/End symbol do?

a)

Ends the program Only

b)

Can be used to show the beginning or ending of a program.

c)

Visual representation of the entire program

d)

Starts the program Only

23.

A parallelogram indicates.......................

a)

input/output

b)

process

c)

input

d)

output

24.

What's missing from this part of a flowchart?

a)

An Arrow

b)

A Line

c)

A Square

d)

A Diamond

25.

What is the purpose of an arrow in a flowchart?

a)

Shows the relationships between shapes/ the flow of information

b)

They look nice when we use them

c)

We don't use arrows

d)

Shows the way the arrow is directed

26.

How many arrows should come out of a decision symbol in a flowchart?

a)

0

b)

1

c)

2

d)

3

27.

A flowchart needs to represent the a situation where for each mark a student is award 'Pass' or 'Fail'...the system will consider the mark and if it's 50 or over award 'Pass', else it awards 'Fail'. This is an example of which of the algorithm constructs?

a)

Decision

b)

Loop

c)

Sequence

d)

All of the above

28.

In a flowchart a calculation (process) is represented by

a)

A rectangle

b)

A rhombus

c)

A parallelogram

d)

A circle

29.

What will be displayed as output?

a)

10

b)

20

c)

30

d)

40

30.

Assume n1 = 10 ... n2 = 2 ... n3 = 2

What will be displayed as output?

a)

10

b)

20

c)

30

d)

40

31.

What is the Output if the user enters:

Yes

a)

Leave umbrella at home

b)

Take an umbrella

32.

What is the Output if the temperature is:

19

a)

Below Freezing

b)

Above Freezing

33.

Assume n1 = 6 ... n2 = 4 ... n3 = 2

What will be displayed as output?

a)

3

b)

4

c)

5

d)

6

34.

Assume n1 = 10 ... n2 = 20

What will be displayed as output?

a)

10

b)

20

35.

A symbol that leads to two possibilities in a flow chart is known as a...

a)

loop

b)

decision

c)

end

d)

sequence

36.

A symbol that automatically performs an action in a flow chart is known as a...

a)

sequence

b)

input / output

c)

decision

d)

wait

37.

A section in a flowchart that requires an action from a user is known as a...

a)

decision

b)

loop

c)

wait

d)

input

38.

A section of flowchart that happens continuously is known as a...

a)

loop

b)

wait

c)

decision

d)

input / output

39.

A benefit of using flowcharts is:

a)

They help you program faster

b)

They write the program for you

c)

They are easier

d)

They help you to visually plan a program

40.

Using a flow chart to plan a program is known as...

a)

decomposition

b)

abstraction

c)

planning

d)

programming

41.

A section in a flowchart that displays a message to a user is known as a...

a)

output

b)

decision

c)

sequence

d)

wait

42.

What type of flowchart is shown here?

a)

selection

b)

iteration / loop

c)

sequence

43.

What type of flowchart is shown here?

a)

selection

b)

iteration

c)

sequence

44.

A symbol that starts or ends a flow chart is known as a...

a)

terminator

b)

decision

c)

loop

d)

sequence

45.

Another name for a terminator in a flow chart is...

a)

start / end

b)

decision

c)

process

d)

data input / output

46.

This refers to a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

a)

Pseudocode

b)

Flowchart

c)

Algorithm

d)

Design Documentation

47.

This refers to a description of an algorithm of a computer program using natural language.

a)

Pseudocode

b)

Flowchart

c)

Data Types

d)

Design Documentation

48.

This is the ___________ in the basic flowchart symbols.

a)

Decision Symbol

b)

Process Symbol

c)

Terminal Symbol

d)

Connector Symbol

49.

This is the ___________ in the basic flowchart symbols.

a)

Decision Symbol

b)

Process Symbol

c)

Terminal Symbol

d)

Connector Symbol

50.

What is the difference between a flowchart and pseudocode?

a)

A flowchart is diagramatic whilst pseudocode is written in a programming language (eg. Pascal or Java)

b)

A flowchart is textual but pseudocode is diagrammatic

c)

A flowchart is a diagrammatic description of an algorithm whilst pseudocode is a textual description of an algorithm

d)

A flowchart and pseudocode are the same thing

51.

An Algorithm asks the user to enter their gender (M or F) and prints out a different comment depending on what they entered.

This is an example of which of the algorithm constructs?

a)

Decision (Selection)

b)

Loop (Iteration)

c)

Order (Sequence)

d)

All of the above