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

The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we solve previous year question papers for you.
See Our team
Wondering how we keep quality?
Got unsolved questions?

GATE-Computer-Science-Engineering-2017-->View 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 :- -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:

Likes:
|deepuckraj

Dislikes:
Be first to dislike this question

### You may also like our videos

Below are some of the videos from our collection. We saw that students not only needed content but also videos. So, we decided to build a video platform for you also an algorithm which shows best videos suites to you related to the content you are browsing check out some videos which suit best for you.

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
------------------------------------

### Lets together make the web is a better place

We made eduladder by keeping the ideology of building a supermarket of all the educational material available under one roof. We are doing it with the help of individual contributors like you, interns and employees. So the resources you are looking for can be easily available and accessible also with the freedom of remix reuse and reshare our content under the terms of creative commons license with attribution required close.

You can also contribute to our vision of "Helping student to pass any exams" with these.