Computer Science · Oct / Nov 2023 · Paper 11 · Question 2
0478
As printed in the paper
The question as text
A car park has a payment machine that allows a customer to pay for their parking. The cost of parking is displayed as a denary number on a screen on the payment machine. The cost of parking is stored in two 8-bit binary registers. For the parking cost of $10.50: • register 1 stores the denary value 10 as binary • register 2 stores the denary value 50 as binary.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
2(a)[2]
One mark for each correct part of the fee, in the correct order:
1770(Correct fee $17.70)
2(b)[2]
One mark for each correct binary value:
Register 1
00001110Register 2
011000102(c)[4]
One mark for each correct hexadecimal value, in the correct order.
A03D(Ticket number A03D)
2(d)[2]
Two from:
It contains logic gates/switches …… that process the values 1 and 0 // have two states2(e)[4]
Any four from:
Compares the ticket number received to stored data… that is a database/file of ticket numbers… checks the ticket number is listed as paidIf the data matches/cost is paid it sends a signal to raise the barrierIf the data does not match/cost is not paid, the barrier remains down
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

