GATE Computer ScienceVery hardGATE CS (PYQ pattern)
How many distinct finite non-zero IEEE 754 single-precision numbers x satisfy 1 ≤ x < 4?
- A. 2²⁴ = 16,777,216
- B. 2²⁵ = 33,554,432
- C. 2²³ = 8,388,608
- D. 3 × 2²³ = 25,165,824
Correct answer: A. 2²⁴ = 16,777,216
Each binade [2^e, 2^(e+1)) holds exactly 2²³ values; [1,2) and [2,4) are two binades, so 2 × 2²³ = 2²⁴.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- An 8-bit ALU computes 0x50 − 0xB0 by adding 0x50 to the two's complement of 0xB0. What are the result and the signed-overflow flag V?
- A processor has a 64-entry fully associative TLB, 4 KB pages, and a data cache of 512 KB. A program sweeps through an array of 1 MB…
- A 32 KB cache with 64-byte blocks and 36-bit physical addresses is 4-way set-associative. If the associativity is doubled (8-way) while…
- A stack machine evaluates the sum of 16 distinct variables arranged as a perfectly balanced binary tree of additions (addition is…
- A program has three disjoint parts: 20% not improvable, 30% sped up 5× by a vector unit, and 50% sped up 2× by a faster memory. What is…
- In IEEE 754 single precision with round-to-nearest-even, let x = 2²³ = 8,388,608. What are the results of (x + 0.5) + 0.5 and x + (0.5 +…