See Our team

Wondering how we keep quality?

Got unsolved questions?

Ask Questions

Engineering
GATE
CBSE
NCERT
Psychology
English
Computer
Constitution
Astrology
Yoga
Economics
Physics
Biology
Electronics
Microprocessor
Career
Interview
Anatomy
Botany

## 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 :- -gate computer science 2017

A) 2^-f

B) 2^-f to ( 2^i - 2^-f)

C) 0 to 2^-i

D) 0 to (2^i -2^-f)

By:satyashiromani

Taged users:

|satyashiromani|milan-ransingh|manjarimattur|aksingh1818|Umang|geetika|ThreeRed|batsam22|deepuckraj|Manisha12|Anandi-|Aparna-Dasgupta|Tanushree|Ashwath-Shetty|milanyoyoyogmailcom|13priya|rathinlz04|Amogh|--|Chetan-kumar|vivek25|vaishnavi-Deshpande|DEEPAK202|psonika29|debikadebnath|Vansh-ahuja|Samira|metaphor|rinku|

Likes:

|deepuckraj

Dislikes:

Be first to dislike this question

Talk about thisDelete|Like|Dislike|

## Answers

**D) 0 to (2^i-2^-f)**

Explanation:

Since given number is in unsigned bit representation, its decimal value starts with 0.

We have i bit in integral part so maximum value will be 2i

Thus integral value will be from 0 to 2i - 1

We know fraction part of binary representation are calculated as (1/0)*2-f

Thus with f bit maximum number possible = sum of GP series with a = 1/2 and r = 1/2

Thus fmax = {1/2(1 – (1/2)^f}/(1 – 1/2)

= 1 – 2^-f

Thus maximum fractional value possible = 2^i – 1 + (1 – 2^-f )

= 2^i - 2^-f

deepuckraj

Likes:

Be first to like this answer

Dislikes:

Be first to dislike this answer

Talk about this|Once you have earned teacher badge you can edit this questionDelete|Like|Dislike|

------------------------------------

## Use Me ?