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 check-in

Week 21 · Review: Term 2 · 3 lessons
Answers are for parents and teachers.
1
Each row in a school hall holds 12 chairs. For 100 pupils, what does math.floor(100 / 12) give, and what does it mean? How many rows are really needed, and which function gives that?
2
A game picks a number with random.randint(1, 6) and prints the number plus 10. List all the possible outputs, and say why the program can never print 17.
3
A swimming club accepts members aged 7 to 14. Write a test plan with five tests: normal, boundary and invalid. Give the expected outcome for each.
4
A receiver adds each incoming number to total, which starts at 0, and shows the sad icon when total > 10. The messages are 4, 3, 5, 2. What does it show after each message?
5
A sheet has Total = Price × Number sold. Price is 4. The goal is 100. Which number sold gives the goal? Show the inverse operation.