wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Programming Quiz

Total questions: 20

Worksheet time: 13mins

Name
Class
Date
1.
What does this shape represent?
a)
Input/Output
b)
Decision
c)
Process
d)
Start/Stop
2.
What does this shape represent?
a)
Decission
b)
Process
c)
Input/Output
d)
Start/End
3.
What's missing ?
a)
On/Off
b)
Pink/Blue
c)
Hello/Goodbye
d)
Yes/No
4.
What command is this shape for?
a)
References another part of the program
b)
Data that is going in as input or coming out as output
c)
Processing something - a calculation or storing something into a variable
d)
Shows the direction of the program
5.
What is the correct definition of an algorithm?
a)
An algorithm is a step by step instructions to solve a problem.
b)
An algorithm is a process of baking bread.
c)
An algorithm is a software used to compute numbers.
d)
An algorithm is the process of breaking problems.
6.
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 
7.
What does this symbol mean?
<
a)
Greater Than
b)
Less Than
8.
What is this ?
a)
Pseudocode
b)
Flow chart
c)
Syntax
9.
An identifier is the ‘name’ given to a variable. For example: 
distanceToSchool = 10
What is the value of the variable?
a)
10
b)
=
c)
distanceToSchool
10.
Which of the following assignment statements is assigning text.
a)
myName = "David"
b)
myAge = 21
11.

What’s an algorithm?

a)

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

b)

An algorithm is a type of diagram

c)

Patterns and trends used to solve a problem

d)

A programming language

12.

What problem would you solve with an algorithm?

a)

Study

b)

Music

c)

Math

d)

All of the above.

13.

How can't an algorithm be represented?

a)

As a flowchart

b)

As pseudocode

c)

Coding

d)

As a flowchart or pseudocode

14.

Which picture can be best described as the principle of "algorithm"?

a)
b)
c)
d)
15.
In the diagram shown, where is the error?
a)
A
b)
B
c)
C
d)
D
16.
What does this shape represent in flowchart?
a)
Input/Output
b)
Process
c)
Decision
d)
Start/Stop
17.
If ................then ....else ........endif  check
a)
0ne condition
b)
two conditions
c)
threee condtions
d)
many conditions
18.
What is a flowchart?
a)
A textual representation of algorithms.
b)
A graphical representation of algorithms.
c)
A cluster of different shapes.
d)
A program code written in Logo.
19.
What are the three algorithm constructs? 
a)
Sequence, selection, repetition 
b)
Input, output, process 
c)
Input/output, decision, terminator    
d)
Loop, input/output, process    
20.
Another word for repetition
a)
iteration
b)
flow
c)
input
d)
control flow