Term 1 review
Answers are for parents and teachers.
1
Draw a flowchart for this algorithm: set total to 0; repeat 4 times: add 5 to total; at the end show total. What does it show?
Start, ‘set total to 0’, then a loop whose question is ‘fewer than 4 turns done?’ with the action ‘add 5 to total’, then ‘show total’ and Stop. It shows 20.
2
A sheet holds the number of cakes sold on five days in B2:B6. Write the formulas for the total, the average and the most sold. If the numbers are 4, 6, 5, 9 and 6, what are the answers?
=SUM(B2:B6), =AVERAGE(B2:B6) and =MAX(B2:B6). The total is 30, the average is 6 and the most is 9.
3
A video file is 6 MB. How many kilobytes is that? How many bytes are in 2 kB?
6 × 1024 = 6144 kilobytes. 2 × 1024 = 2048 bytes.
4
A family wants to buy a tablet for drawing. Name three of the five factors and write one question to ask for each.
For example: functionality – can it run a drawing program? Compatibility – does it work with the pen? Cost – is the price fair? Answers vary, but each question must match its factor.
5
Trace this: set tokens to 12, then repeat until tokens is less than 4, changing tokens by −5. List the values and the final value.
tokens goes 12, 7, 2. At 2 the condition is true, so the loop stops. The final value is 2.