GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 85b

Normalizing the stored fraction with zero fill

Computer Organization & Architecture · Data Representation & Arithmetic · Full GATE CSE 2005 paper

GATE 2005, Q85b 2 marks · MCQ
Report issue

Data Representation & Arithmetic

Question 85b, GATE 2005: A 16-bit format has sign bit 15, seven-bit excess 64 exponent in 14…8, eight-bit pure fractional mantissa in 7…0; sign-magnitude. Printed 85(b): normalize the representation from(a), now storing an implicit leading 1 before the binary point, padding only zeros during shifts. Hex choices A 0A20; B 1134; C 49D0; D 4AE8. Preserve the linked truncated value, not a fresh conversion of the exact decimal.
Question 85b, GATE 2005: A 16-bit format has sign bit 15, seven-bit excess 64 exponent in 14…8, eight-bit pure fractional mantissa in 7…0; sign-magnitude. Printed 85(b): normalize the representation from(a), now storing an implicit leading 1 before the binary point, padding only zeros during shifts. Hex choices A 0A20; B 1134; C 49D0; D 4AE8. Preserve the linked truncated value, not a fresh conversion of the exact decimal.
Question 85b, GATE 2005: A 16-bit format has sign bit 15, seven-bit excess 64 exponent in 14…8, eight-bit pure fractional mantissa in 7…0; sign-magnitude. Printed 85(b): normalize the representation from(a), now storing an implicit leading 1 before the binary point, padding only zeros during shifts. Hex choices A 0A20; B 1134; C 49D0; D 4AE8. Preserve the linked truncated value, not a fresh conversion of the exact decimal.
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Part(a) stores the fraction .00111101₂ times 213. Moving the radix point three places right gives 1.11101₂×210. With the leading 1 implicit and only zeros padded, the eight stored fraction bits are 11101000=0xE8. The biased exponent is 10+64=74=0x4A, so the word is 0x4AE8, option D. This normalizes the truncated stored mantissa from part(a). Directly converting the original exact decimal to normalized form would produce different low bits; the explicit zero-fill rule is essential.

Begin with the already truncated .00111101×213. Shift three places to make its leading 1 sit before the point:1.11101×210. Drop only that implicit leading 1 and pad the remaining fraction to 11101000. The new biased exponent 10+64=74 gives high byte 4A; the fraction givesE 8. This transformation preserves the stored number exactly. Re-expanding the original decimal instead would introduce nonzero lower bits disallowed by the zero-padding premise.

Original paper, page 12