AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Term 2 in review

Week 21 · Review: Term 2 · 3 lessons
Answers are for parents and teachers.
1
A bag-storage locker accepts a weight from 1 to 20 kg inclusive and prints Accepted or Refused. Complete the table with the kind of data and the expected output for the weights 1, 10, 20, 21 and 0.
Weight in kgKind of dataExpected output
1??
10??
20??
21??
0??
2
Trace this program with a table that has the columns n, total and Output. What does it print?
Python
1n = 3
2total = 0
3while n <= 12:
4    total = total + n
5    n = n + 4
6print(total)
3
The fee rate 0.2 is in E1 and C2 holds =B2*$E$1, filled down to C4. Write the formula in C4 and the value it shows. What would go wrong if the $ signs were left out?
C4fx?
ABCDE
1DaySalesFeeRate0.2
2Mon306
3Tue459
4Wed20?
4
The Hives table stores Keeper_ID and not the keeper’s name and village. Explain why this is better, and what could go wrong if every hive record held the name and village.
5
A tutoring centre has five computers and a printer and wants a network that keeps working when one computer is switched off. Choose a topology and give two reasons. Name its weak point.