A car has many embedded systems - Edexcel - GCSE Computer Science - Question 2 - 2018 - Paper 1
Question 2
A car has many embedded systems.
(a) An embedded system processes binary numbers.
(i) The speed limit for some roads is 60 miles per hour.
Convert the denary numbe... show full transcript
Worked Solution & Example Answer:A car has many embedded systems - Edexcel - GCSE Computer Science - Question 2 - 2018 - Paper 1
Step 1
Convert the denary number 60 to 8-bit binary.
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
To convert the denary number 60 to 8-bit binary, we divide the number by 2 and record the remainders until we reach 0.
Starting the process for 60:
60 ÷ 2 = 30 remainder 0
30 ÷ 2 = 15 remainder 0
15 ÷ 2 = 7 remainder 1
7 ÷ 2 = 3 remainder 1
3 ÷ 2 = 1 remainder 1
1 ÷ 2 = 0 remainder 1
Reading the remainders backward gives us: 0011 1100.
Thus, the 8-bit binary representation of the number 60 is: 0011 1100.
Step 2
Convert the 8-bit binary number 0010 0011 to denary.
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 convert the binary number 0010 0011 to denary, we assign powers of 2 to each bit:
The binary number can be expressed as:
0×27+0×26+1×25+0×24+0×23+1×22+1×21+1×20
Calculating this gives:
1×32+0+0+1×4+1×2+1×1=32+4+2+1=35
Therefore, the denary representation of the binary number 0010 0011 is: 35.
Step 3
Complete the table to show the result of 0010 0011 + 0100 1010.
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
To add the binary numbers 0010 0011 and 0100 1010, we align them and add like in decimal:
0010 0011
+ 0100 1010
-----------
0110 1101
Thus, the result of adding 0010 0011 and 0100 1010 in binary is: 0110 1101.
Step 4
Identify one reason why encryption is used.
98%
120 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
One reason why encryption is used is to keep data secure. This ensures that sensitive information cannot be accessed by unauthorized users.
Step 5
Complete the table using a Caesar Cipher algorithm.
97%
117 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
To apply a Caesar Cipher with a shift of +4:
The letter 'b' shifts to 'f'.
The letter 'r' shifts to 'v'.
The letter 'a' shifts to 'e'.
The letter 'k' shifts to 'o'.
The letter 'e' shifts to 'i'.
The letter 's' shifts to 'w'.
Thus, the cipher text for 'brakes' is 'fveoiw'.
Step 6
Explain one special condition a Caesar Cipher algorithm must handle.
97%
121 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
A special condition a Caesar Cipher must handle is the wrap-around of letters at the end of the alphabet. For example, if the shifting moves past 'z', it should wrap around to 'a'. For instance, shifting 'z' by +4 will yield 'd'.