A car park uses a number plate recognition system - Edexcel - GCSE Computer Science - Question 1 - 2019 - Paper 1
Question 1
A car park uses a number plate recognition system.
(a) Identify the reason why unsigned integers should be used to record the number of cars entering and leaving th... show full transcript
Worked Solution & Example Answer:A car park uses a number plate recognition system - Edexcel - GCSE Computer Science - Question 1 - 2019 - Paper 1
Step 1
Identify the reason why unsigned integers should be used to record the number of cars entering and leaving the car park
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Unsigned integers are preferred because they can only represent non-negative numbers, which is ideal for counting the number of cars. They eliminate the possibility of overflow errors, ensuring accurate representation of values when cars enter or leave the park. Therefore, the correct choice is:
B Unsigned integers cannot have overflow errors.
Step 2
Construct an expression that calculates how many bytes there are in four terabytes of disc storage
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
To calculate the total number of bytes in four terabytes, we can use the following expression:
This expression constructs the total conversion from terabytes to bytes.
Step 3
Construct a Boolean logic statement, using P, T and S, to represent the conditions necessary for the system to raise the exit barrier
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
The Boolean logic statement that ensures the exit barrier will raise is:
PextANDTextANDS
This statement indicates that all three conditions (the number plate is recorded, enough time has been paid for, and the car belongs to a member of staff) must be true for the exit barrier to function.