Term 3 in review
Answers are for parents and teachers.
1
A 45 MB file is sent over a 60 Mbit/s connection. (a) How many seconds does it take on its own? (b) It is cut into packets of at most 10 MB. How many packets are there, and how big is each?
(a) 45 × 8 = 360 megabits, and 360 ÷ 60 = 6 seconds. (b) 5 packets: 10 MB, 10 MB, 10 MB, 10 MB and 5 MB.
2
Both devices use odd parity. (a) Write the byte sent for the data bits 0100110. (b) Write the byte sent for 1110111. (c) The byte 10010101 arrives. Does it pass?
(a) 0100110 has three 1s (odd), so the parity bit is 0: 00100110. (b) 1110111 has six 1s (even), so the parity bit is 1: 11110111. (c) 10010101 has four 1s, which is even, so it fails the odd parity check.
3
Draw the wiring list and truth table for X = (A AND B) OR (NOT (A OR B)). Use the middle outputs P = A AND B, Q = A OR B and R = NOT Q. Describe in words when X is 1.
| A | B | P | Q | R | X |
|---|---|---|---|---|---|
| 0 | 0 | ? | ? | ? | ? |
| 0 | 1 | ? | ? | ? | ? |
| 1 | 0 | ? | ? | ? | ? |
| 1 | 1 | ? | ? | ? | ? |
Gate 1: AND, A and B, gives P. Gate 2: OR, A and B, gives Q. Gate 3: NOT, Q, gives R. Gate 4: OR, P and R, gives X. Rows (A, B): 0 0 gives P 0, Q 0, R 1, X 1. 0 1 gives 0, 1, 0, X 0. 1 0 gives 0, 1, 0, X 0. 1 1 gives 1, 1, 0, X 1. X is 1 when A and B are the same.
4
A town library uses a recommendation app and a camera that counts visitors. In three or four sentences, give one benefit, one risk and one check that people should make.
Model: The app can help readers find books they enjoy, and the counter saves staff time. A risk is that the app may suggest only the kinds of books it has seen before, or that the camera may collect more personal data than it needs. Staff should check the suggestions and the counts, and the library should keep only the data it needs.
5
A clinic keeps appointment records on a computer. Name one physical and one digital protection for them, and explain why training staff matters.
Physical: a locked office, or a key card for the door. Digital: strong passwords, a firewall or regular backups. Training matters because many security problems begin when someone is tricked, for example by a phishing message, so trained staff are less likely to give access by mistake.