Skip to content
GATEiit

GATE CSE 2017 Session 1 Q17: Range of an unsigned n-bit fixed-point number with f fraction bits

Syllabus topic: Number representation and arithmetic (fixed and floating point)

Question

The n-bit fixed-point representation of an unsigned real number X uses f bits for the fraction part. Let i=n−f. The range of decimal values for X in this representation is

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 1/3 mark in GATE.
Show answer and explanation

Answer: D (official GATE 2017 final answer key)

Concept used: Unsigned fixed point with i integer bits and f fraction bits represents multiples of 2−f from all-zeros to all-ones.

Concept notes

Loading notes…

First step: Write the value of the all-zeros pattern and the all-ones pattern (i integer ones followed by f fraction ones).

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Number representation and arithmetic (fixed and floating point)

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2017 Session 1 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key