wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Problem Solving and Program Design Final Quiz

Total questions: 40

Worksheet time: 3hrs 20mins

Name
Class
Date
1.
What does this flowchart symbol represent?
a)
data input / output
b)
decision
c)
start / end
d)
process / sequence
2.
What does this flowchart symbol represent?
a)
process  / sequence
b)
decision
c)
start / end
d)
wait
3.
What does this flowchart symbol represent?
a)
data input / output
b)
start / end
c)
decision
d)
wait
4.
What does an arrow represent in a flow chart
a)
Decision making
b)
Data Flow
c)
Start
d)
Stop
5.

What is an algorithm?

a)

Patterns and trends used to solve a problem

b)

A set of step-by-step instructions to resolve a problem

c)

A programming language

6.

What are algorithms used for?

a)

To plan out the solution to a problem

b)

As a platform to program a solution

c)

To test a solution to a problem

7.

When can an algorithm be used?

a)

Only with computers

b)

For programming

c)

To design a solution to any problem

8.

If it is AFTER 7am, what do you need to do?

a)

Take the bus

b)

Take the subway

c)

Check the time

d)

Leave home

9.

What should be considered when designing an algorithm?

a)

If there is more than one way to solve the problem

b)

If the correct hardware is being used

c)

If the correct software is being used

10.

You are at the yellow arrow, pointing in the direction indicated. How would you move to fill in the 2 black squares?

a)

Straight, Turn right, Straight x 1, Fill Square, Straight x 2, Turn left, Straight x 1, Fill Square

b)

Straight x 2, Turn right, Straight x 1, Fill Square, Straight x 2, Turn left, Straight x 1, Fill Square

c)

Straight x 2, Turn right, Straight x 1, Fill Square, Straight x 2, Turn right, Straight x 1, Fill Square

d)

Straight x 2, Turn right, Straight x 1, Fill Square, Straight x 2, Turn left, Straight x 2, Fill Square

11.

What is the correct symbol for a process instruction in a flowchart?

a)

A rectangle

b)

A parallelogram

c)

A square

12.

In a flow chart what is this symbol used for?

a)

Start/End

b)

Process

13.

In programming, what is iteration?

a)

The repetition of instructions within a program

b)

The order in which instructions are carried out

c)

A decision point in a program

d)

Testing a program to make sure it works

14.

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

15.

A condition is

a)

a statement that is either True or False

b)

a string

c)

an integer

d)

a list

16.

Which kind of loop would be used?


I need a program that will keep letting me add a monthly payment for 12 months.

a)

FOR Loop

b)

WHILE Loop

17.

Which kind of loop would be used?


I need a revision program that will run through revision questions 4 times.

a)

FOR Loop

b)

WHILE Loop

18.

Look at the following code snippet, what will it generate?

a)

1,2,3,4,5,6,7,8,9,10,11,12

b)

0,1,2,3,4,5,6,7,8,9,10,11,12

c)

1,2,3,4,5,6,7,8,9,10,11,12,13

d)

0,1,2,3,4,5,6,7,8,9,10,11,12,13

19.

Look at the following code snippet, what will it generate?

a)
b)
c)
d)

1,2,3,4

20.

what is the name of the variable used in the following code snippet?

a)

counter

b)

print

c)

for

d)

do

21.

When a dual option selection statement is needed. The program uses an:

a)

If Then Else

b)

If Then

c)

Nested If

d)

None of these are correct

22.

When a single option selection statement is needed, it would be best to use an:

a)

IF-THEN-ELSE

b)

IF-THEN

c)

Nested IF

d)

None of the above

23.

Where more than two options are required in a selection statement, the best approach would be to use a:

a)

IF-THEN-ELSE

b)

IF-THEN

c)

Nested IF

d)

None of the above

24.

What signifies then end of a program?

a)

end

b)

end.

c)

end;

d)

Exit

25.

How many "if" statements can a single program have?

a)

<10

b)

<20

c)

<30

d)

As many as is needed

26.
Identify a variable within this flowchart.
a)
INPUT
b)
Start
c)
12
d)
RESULT
27.

What does sequence mean?

a)

To create a pattern

b)

To do something in order

c)

To do something randomly

d)

To repeat something over and over again

28.
What is the Output if the user enters:
Yes
a)
Leave umbrella at home
b)
Take an umbrella
29.
What is the Output if the temperature is:
19
a)
Below Freezing
b)
Above Freezing
30.

In this flowchart, r ...

a)

is the radius of a circle

b)

stands for random number

c)

represents a running total

d)

is a miscellaneous variable

31.

This flowchart is made to ...

a)

find out which of two numbers is the biggest

b)

add two numbers together and output the larger result

c)

input two numbers and expand them

32.

This flowchart has a major flaw. It is

a)

Not using diamonds for decisions

b)

Asking too many questions

c)

Being illegible for horses

d)

Helping people who think they are horses realise they are not

33.
Which data type is used to store:
"D"
a)
Character
b)
String
c)
Integer
d)
Double
34.
This data type is used to store whole numbers
a)
Integer
b)
Double
c)
Boolean
d)
String
35.
This data type is used to store a mixture of letters and numbers and symbols.
a)
String
b)
Character
c)
Boolean
d)
Integer
36.

What is a Constant?

a)

A storage location of memory which does not change

b)

A random area to store things in.

c)

Something that changes

d)

Something that can only store numbers

37.

Flowcharts and Algorithms are the same

a)

TRUE

b)

FALSE

38.

In the following Flowchart example; the most appropriate symbol/shape that completes the sequence should be:

a)

Process

b)

Input/Output

c)

Start/End

d)

Decision

39.

Given the flowchart below, what will be output if the mark inputted is 12%?

a)

Distinction

b)

Merit

c)

Pass

d)

Level 1

e)

Unclassified

40.

What is wrong about the following flowchart?

a)

The decision box has two output connectors but should have two input connectors instead.

b)

There is a process box where there should be a data i/o box.

c)

The terminators at the beginning and end should be rectangles.

d)

The flowchart doesn't have any output.