GATE Computer ScienceHardGATE CS (PYQ pattern)
Which hexadecimal pattern is the IEEE 754 single-precision representation of 0.1 (round to nearest)?
- A. 0x3E4CCCCD
- B. 0x3F19999A
- C. 0x3DCCCCCC
- D. 0x3DCCCCCD
Correct answer: D. 0x3DCCCCCD
0.1 = 1.6 × 2⁻⁴, so the exponent field is 127 − 4 = 123 = 0x7B → 0x3D…; the fraction 0.6 = 0.1001 1001 1001 … is cut after 23 bits and the discarded tail (1001 …) is more than half a unit, so it rounds up to …CCD rather than the truncated …CCC.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A 4-stage pipeline has stage delays 240, 160, 320 and 200 ps and a 40 ps latch after each stage. The 320 ps stage is split into two 160 ps…
- A memory has B low-order interleaved banks (bank = word address mod B, any positive integer B). A bank stays busy for 6 cycles after an…
- IEEE 754 half precision has 1 sign bit, 5 exponent bits (bias 15) and 10 fraction bits. What is the smallest positive integer that it…
- A 4-stage pipeline has stage delays 140, 300, 170 and 260 ps and no latch overhead. The slowest stage is duplicated into two identical…
- A 32-bit machine uses a two-level page table: 10-bit top index, 10-bit second-level index, 12-bit offset, 4-byte entries, every table…
- A machine has 48-bit virtual addresses, 4 KB pages and 16 GB of RAM (1 GB = 2³⁰ B). Its inverted page table has one entry per frame…