Photo AI

5 (a) Convert the denary value 178 into an 8-bit binary number - OCR - GCSE Computer Science - Question 5 - 2021 - Paper 1

Question icon

Question 5

5-(a)-Convert-the-denary-value-178-into-an-8-bit-binary-number-OCR-GCSE Computer Science-Question 5-2021-Paper 1.png

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

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:

  1. 178 ÷ 2 = 89, remainder 0
  2. 89 ÷ 2 = 44, remainder 1
  3. 44 ÷ 2 = 22, remainder 0
  4. 22 ÷ 2 = 11, remainder 0
  5. 11 ÷ 2 = 5, remainder 1
  6. 5 ÷ 2 = 2, remainder 1
  7. 2 ÷ 2 = 1, remainder 0
  8. 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

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

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

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

Answer

  1. Right shift of 2 places on 10101000 → 00101010 (divides by 4)
  2. Left shift of 1 place on 00101100 → 01011000 (multiplies by 2)
  3. Right shift of 2 places on 11101001 → 00111010 (divides by 4)
  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

Answer

To add the two binary numbers 00110110 and 10010110:

  00110110
+ 10010110
-----------
  11001100

The result of the addition is 11001100.

Join the GCSE students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;