Page 91 - trackpad v5.1 class 8 flipbook
P. 91
b. Repeat 5 times Marks 45 40 55 49 85
{ Result
READ Marks
IF Marks > 50 THEN
PRINT "Pass"
ELSE
PRINT "Fail"
}
c. start
Repeat 5 times
(
Put a cross
Move 1 right
Put a tick
Move 1 down
)
d. Repeat 5 times start
(
write “8”
Move 1 step left
)
5. Read the program and do as directed.
a. Repeat 4 times
( start
Colour Yellow
Skip One Triangle
)
b. Repeat 6 times start
(
Put a cross
Move 1 right
Move 1 down
)
Algorithmic Intelligence 89

