Question 6Medium
What is the sum of the binary numbers 1011 and 1101?
- 10110
- 1111
- 110
- 11000
Answer: D. 11000
Explanation
11 + 13 = 24, which is 11000 in binary.
Step-by-step solution
- 1011 = 11 and 1101 = 13.
- 11 + 13 = 24.
- 24 = 11000 in binary.
Why the other options are wrong
- A. 10110 is 22.
- B. 1111 is 15.
- C. 110 is the result if all carries are ignored.
Tip: Check by converting to decimal.
Question 9Hard
About how long does it take to download a 25 MB file over a 100 Mbps connection, ignoring overheads and taking 1 MB = 8 Mb?
- 0.25 seconds
- 2 seconds
- 4 seconds
- 25 seconds
Answer: B. 2 seconds
Explanation
25 MB = 200 megabits; 200 Mb ÷ 100 Mb/s = 2 s. Network speeds are in bits, file sizes in bytes.
Step-by-step solution
- Convert size to bits: 25 MB × 8 = 200 Mb.
- Time = 200 Mb ÷ 100 Mbps.
- = 2 seconds.
Why the other options are wrong
- A. 0.25 s forgets to convert bytes to bits.
- C. 4 s doubles the correct time.
- D. 25 s treats the speed as 1 MB per second.
Tip: Time = (size in MB × 8) ÷ speed in Mbps.
Question 10Hard
What is the minimum number of bits needed to represent 1000 distinct values?
- 10
- 9
- 1000
- 11
Answer: A. 10
Explanation
2^9 = 512 is too few, while 2^10 = 1024 is enough.
Step-by-step solution
- Need 2^n ≥ 1000.
- 2^9 = 512 is too few;
2^10 = 1024 is enough.
- So 10 bits.
Why the other options are wrong
- B. 9 bits give only 512 values.
- C. 1000 bits would be one bit per value, far more than needed.
- D. 11 bits work but are not the minimum.
Tip: 1024 ≈ 1000 is 2^10.