GCSE A451 - Binary and Hex Flashcards
Calculate the denary value of the 8-bit binary number 10010111. Explain working out. (2)
- 128 + 16 + 4 + 2 + 1
- 151
Add the following two 8-bit binary numbers and explain the result.
1 0 0 1 0 1 1 1
+
1 1 0 1 1 0 0 0
1 0 0 1 0 1 1 1
1 1 0 1 1 0 0 0
0 1 1 0 1 1 1 1
1 (extra bit/overflow) 1
- There is an overflow
- The answer cannot be represented in 8-bits
Convert hexadecimal number 6A to denary. Explain your working out (2)
- 6 * 16 (= 96) / 10 (for A)
- 106
Convert hexadecimal number 6A to binary. Explain your working out (2)
0110 1010
Convert binary number 0 01 1 1 1 0 1 to hexadecimal. Explain your working out (2)
3D
Explain why hexadecimal numbers are often used to represent binary numbers (2)
Hex numbers are shorter
… and can easily be converted to and from binary…
… as each hex digit corresponds to 4 binary digits
Convert the denary value 55 into an 8-bit binary number. Explain working out. (2)
0011 0111
Convert the denary value 55 into hexadecimal (2)
37
Explain why computers use binary (2)
So that computers can be based on logic circuits.
… ( each part of the circuit) can be in one of two states
… 0 and 1/true or false
Explain how instructions are stored in binary (2)
-The instruction consists of an op code (instruction)
… and an operand (address of data)