GATE Computer ScienceVery hardGATE CSE · NIELIT
How many distinct 32-bit patterns represent a NaN (quiet or signalling, either sign) in IEEE 754 single precision?
- A. 16777214
- B. 8388606
- C. 16777216
- D. 8388607
Correct answer: A. 16777214
Exponent all ones and a non-zero 23-bit fraction: 2^23−1 fractions × 2 signs = 2^24 − 2 = 16777214.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- Memory has 8 low-order interleaved banks; a bank is busy for 6 clock cycles after starting an access, and at most one new access can be…
- A 64-bit virtual address space uses 8 KB pages and 8-byte page-table entries, and every page-table level occupies exactly one page. What…
- A TLB access takes 5 ns, a main-memory access 80 ns, and the TLB hit ratio is 95%. On a TLB miss, a two-level page table walk needs two…
- A disk transfers data at 12 MB/s into memory using DMA in 4-byte words. Each word transfer steals 3 bus cycles of 20 ns from the CPU…
- A microprogrammed control unit has five fields of mutually exclusive control signals containing 5, 9, 3, 12 and 7 signals respectively…
- A 64-byte direct-mapped cache with 16-byte lines is write-back and write-allocate (line = block mod 4). Accesses (type, byte address) in…