5 (a) Convert the denary value 178 into an 8-bit binary number - OCR - GCSE Computer Science - Question 5 - 2021 - Paper 1
Question 5
5 (a) Convert the denary value 178 into an 8-bit binary number.
(b) Computers make use of electronic switches called transistors.
Describe how transistors can be us... show full transcript
Worked Solution & Example Answer:5 (a) Convert the denary value 178 into an 8-bit binary number - OCR - GCSE Computer Science - Question 5 - 2021 - Paper 1
Step 1
Convert the denary value 178 into an 8-bit binary number.
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 value 178 to an 8-bit binary number, we can divide the number by 2 and record the remainders. Starting with 178:
178 ÷ 2 = 89, remainder 0
89 ÷ 2 = 44, remainder 1
44 ÷ 2 = 22, remainder 0
22 ÷ 2 = 11, remainder 0
11 ÷ 2 = 5, remainder 1
5 ÷ 2 = 2, remainder 1
2 ÷ 2 = 1, remainder 0
1 ÷ 2 = 0, remainder 1
Reading the remainders from bottom to top gives us 10110010. Thus, the 8-bit binary representation of 178 is 10110010.
Step 2
Describe how transistors can be used to store a value in binary.
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
Transistors are fundamental components in digital circuits that act as switches. They can be in one of two states: on or off, corresponding to binary 1 and 0, respectively.
When a transistor is on, it allows current to flow, representing a binary 1. Conversely, when it is off, no current flows, representing a binary 0.
By combining multiple transistors, complex values can be stored by creating a binary representation of the value where the state of each transistor indicates a specific binary digit.
Step 3
Convert the binary value 11000111 into hexadecimal.
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 convert the binary value 11000111 to hexadecimal, we can group the binary digits into sets of four, starting from the right:
1100 0111
Now, we convert each group to its hexadecimal equivalent:
1100 = C
0111 = 7
Therefore, the hexadecimal representation of the binary number 11000111 is C7.
Step 4
Tick one box to identify whether Azmi is correct. Justify your answer.
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
Azmi's statement is Incorrect.
Justification: While hexadecimal notation can represent values more compactly than binary (using fewer digits), it does not mean it takes up less storage space in total. In a computer's memory, the storage space is typically oriented towards bytes (8 bits), and the size used by hexadecimal values would be determined by the bit representation; thus, the storage space remains the same regardless of whether the format is binary or hexadecimal.
Step 5
Draw one line from each shift on the left to its correct outcome on the right.
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
Right shift of 2 places on 10101000 → 00101010 (divides by 4)
Left shift of 1 place on 00101100 → 01011000 (multiplies by 2)
Right shift of 2 places on 11101001 → 00111010 (divides by 4)
Left shift of 3 places on 00001111 → 11111000 (multiplies by 8)
Step 6
Add the following 8 bit binary integers, giving your answer in binary.
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
To add the two binary numbers 00110110 and 10010110: