Digital Signal Processing

Representation of Numbers

Question 1
Marks : +2 | -2
Pass Ratio : 100%
What is the mantissa and exponent respectively obtained when we add 5 and 3/8 in binary float point representation?
0.101010,011
0.101000,011
0.101011,011
0.101011,101
Explanation:
We can represent the numbers in binary float point as
Question 2
Marks : +2 | -2
Pass Ratio : 100%
The binary point between the digits b0 and b1 exist physically in the computer.
True
False
Explanation:
The binary point between the digits b0 and b1 does not exist physically in the computer. Simply, the logic circuits of the computer are designed such that the computations result in numbers that correspond to the assumed location of this point.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
If E=0 and M=0, then which of the following statement is true about X?
Not a number
Infinity
Defined
Zero
Explanation:
According to the IEEE 754 standard, for a 32-bit machine, single precision floating point number is represented as X=(-1)s.2E-127(M).
Question 4
Marks : +2 | -2
Pass Ratio : 100%
What are the mantissa and exponent required respectively to represent ‘5’ in binary floating point representation?
011,0.110000
0.110000,011
011,0.101000
0.101000,011
Explanation:
We can represent 5 as
Question 5
Marks : +2 | -2
Pass Ratio : 100%
For a twos complement representation, the truncation error is ____________
Always positive
Always negative
Zero
None of the mentioned
Explanation:
For a two’s complement representation, the truncation error is always negative and falls in the range
Question 6
Marks : +2 | -2
Pass Ratio : 100%
If (101.01)2=(x)10, then what is the value of x?
505.05
10.101
101.01
5.25
Explanation:
(101.01)2=1*22+0*21+1*20+0*2-1+1*2-2=(5.25)10
Question 7
Marks : +2 | -2
Pass Ratio : 100%
If E=255 and M≠0, then which of the following statement is true about X?
Not a number
Infinity
Defined
Zero
Explanation:
According to the IEEE 754 standard, for a 32-bit machine, single precision floating point number is represented as X=(-1)s.2E-127(M).
Question 8
Marks : +2 | -2
Pass Ratio : 100%
The truncation error for the sign magnitude representation is symmetric about zero.
True
False
Explanation:
The truncation error for the sign magnitude representation is symmetric about zero and falls in the range
Question 9
Marks : +2 | -2
Pass Ratio : 100%
If the two numbers are to be multiplied, the mantissa are multiplied and the exponents are added.
True
False
Explanation:
Let us consider two numbers X=M.2E and Y=N.2F
Question 10
Marks : +2 | -2
Pass Ratio : 50%
What is the range of round-off error for a foxed point representation?
[-0.5(2-b+2-bm), 0.5(2-b+2-bm)]
[0, (2-b+2-bm)]
[0, (2-b-2-bm)]
[-0.5(2-b-2-bm), 0.5(2-b-2-bm-bm)]
Explanation:
The round-off error is independent of the type of fixed point representation. The maximum error that can be introduced through rounding is 0.5(2-b+2-bm) and this can be either positive or negative, depending on the value of x. Therefore, the round-off error is symmetric about zero and falls in the range