Set the bits so the 8-bit register holds 0x71. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x71
N =
2.Easy
Convert the binary number 0011 0100₂ to decimal. Find N.
0011 0100₂
N =
3.Medium
Write −74 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −748 bit
U =
4.Medium
Write −65 as an 8-bit two's complement pattern. Read the pattern as an unsigned binary number: what is its value U in decimal?
N = −658 bit
U =
5.Hard
Set the bits to the 8-bit result of 0111 0100 OR 1000 1110. What is the result's value R in decimal?
0111 0100OR1000 1110
R =
6.Hard
An uncompressed image is 256 × 256 pixels with 8 bits per pixel. How much memory M does it take, in KiB (1 KiB = 1024 bytes)?
256 × 256 px8 bit/px1 KiB = 1024 B
M = KiB
Answer key
- 1. N = 113
- 2. N = 52
- 3. U = 182
- 4. U = 191
- 5. R = 254
- 6. M = 64 KiB
Full step-by-step solutions: practise this topic on examproblems.com.