Set the bits so the 8-bit register holds 0xFB. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0xFB
N =
2.Easy
Convert the binary number 0010 1011₂ to decimal. Find N.
0010 1011₂
N =
3.Medium
The 8-bit pattern 0111 0111 stores a signed integer in two's complement. What is its value N in decimal?
0111 01118 bit
N =
4.Medium
The 8-bit pattern 0111 1111 stores a signed integer in two's complement. What is its value N in decimal?
0111 11118 bit
N =
5.Hard
An uncompressed image is 512 × 512 pixels with 32 bits per pixel. How much memory M does it take, in KiB (1 KiB = 1024 bytes)?
512 × 512 px32 bit/px1 KiB = 1024 B
M = KiB
6.Hard
Set the bits to the 8-bit result of 0111 0101 << 1. What is the result's value R in decimal?
0111 0101<< 1
R =
Answer key
- 1. N = 251
- 2. N = 43
- 3. N = 119
- 4. N = 127
- 5. M = 1024 KiB
- 6. R = 234
Full step-by-step solutions: practise this topic on examproblems.com.