You are on page 1of 2

Year

Theory Formative Assessment


Date:________________

Section

Name:_______________________________
___/13=___/15

ICT

Notebook Completion Mark:___/2

Match the following programming constructs to the descriptions.


Sequence

Selection

Iteration

Construct in which an option of statements is


provided and a condition is used to decide which
option is chosen
Construct in which a group of statements is executed
repeatedly until a condition is met
Construct where a set of instructions is executed in
order

(a) Draw a flow chart for an algorithm to represent the following situation:
A boy leaves his house in the morning to travel to school. He checks the time on
his watch when he sets off. If the time is before 8am, he decides to walk to
school. However, if the time is 8am or later he decides to take the bus. Either
way, he will reach school on time, and he always follows these rules.
Ensure that you use the correct symbols for each stage of the algorithm.

Chec
k
time
Time=>

Time<8

Bus

Walk
Reach
school
Page 1 of 2

Year
Theory Formative Assessment
Date:________________

Section

ICT

STOP
(b) Write an equivalent algorithm in pseudocode for the process described in 6(a).

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

Page 2 of 2

You might also like