GATE Computer ScienceVery hardGATE CS (PYQ pattern)
In a custom 8-bit floating-point format there is 1 sign bit, 4 exponent bits (bias 7) and 3 fraction bits, with IEEE-like rules (exponent 1111 reserved for infinities and NaN, exponent 0000 for zero and denormals). What are the largest finite value and the smallest positive denormal?
- A. 240 and 2⁻⁷
- B. 248 and 2⁻⁶
- C. 240 and 2⁻⁹
- D. 480 and 2⁻⁹
Correct answer: C. 240 and 2⁻⁹
Largest exponent field is 1110 = 14 → 2⁷; significand 1.111₂ = 1.875; 1.875 × 128 = 240. Denormals use exponent 2⁻⁶ (1 − bias) and fraction steps of 1/8: 2⁻⁶ × 2⁻³ = 2⁻⁹.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A MIPS-like J instruction has a 26-bit field holding a word address; the target is formed from the top 4 bits of PC + 4, followed by the…
- A processor services interrupts with nested priorities: a higher-priority interrupt (larger number) preempts a running lower-priority…
- Radix-4 Booth recoding of the 8-bit two's-complement multiplier 01101110 (value 110) produces four digits in {−2, −1, 0, +1, +2}. Which…
- Three interrupt handlers have no overhead: A (priority 1, arrives at 0 µs, runs 10 µs), B (priority 3, arrives at 4 µs, runs 5 µs) and C…
- A cache access takes 2 ns on a hit; a miss takes 22 ns in total (hierarchical model). The average access time is 5 ns. What is the miss…
- In an n-bit two's-complement adder, which pair (carry into the MSB, carry out of the MSB) signals signed overflow?