Professional Documents
Culture Documents
Section
Name:_______________________________
___/13=___/15
ICT
Selection
Iteration
(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