Number Representation and Arithmetic questions — page 2 of 2

Q4

GATE CS 2019 CSNumber Representation and ArithmeticMCQ1 mark−1/3 if wrong
In 16-bit 2's complement representation, the decimal number −28-28 is:
Show answer without attempting

Answer: C

Q8

GATE CS 2019 CSNumber Representation and ArithmeticMCQ1 mark−1/3 if wrong
Consider Z=X−YZ = X - Y, where X,YX, Y and ZZ are all in sign-magnitude form. XX and YY are each represented in nn bits. To avoid overflow, the representation of ZZ would require a minimum of:
Show answer without attempting

Answer: C

Q33

GATE CS 2018 CSNumber Representation and ArithmeticMCQ2 marks−2/3 if wrong
Consider the unsigned 8-bit fixed point binary number representation below,

b7  b6  b5  b4  b3  .  b2  b1  b0b_7 \; b_6 \; b_5 \; b_4 \; b_3 \; . \; b_2 \; b_1 \; b_0

where the position of the binary point is between b3b_3 and b2b_2. Assume b7b_7 is the most significant bit. Some of the decimal numbers listed below cannot be represented exactly in the above representation:
(i) 31.500
(ii) 0.875
(iii) 12.100
(iv) 3.001

Which one of the following statements is true?
Show answer without attempting

Answer: C

Q7

GATE CS 2017 CS-1Number Representation and ArithmeticMCQ1 mark−1/3 if wrong
The nn-bit fixed-point representation of an unsigned real number XX uses ff bits for the fraction part. Let i=n−fi = n - f. The range of decimal values for XX in this representation is
Show answer without attempting

Answer: D

Q9

GATE CS 2017 CS-1Number Representation and ArithmeticMCQ1 mark−1/3 if wrong
When two 8-bit numbers A7…A0A_7 \dots A_0 and B7…B0B_7 \dots B_0 in 2's complement representation (with A0A_0 and B0B_0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7…S0S_7 \dots S_0 and the carry bits are C7…C0C_7 \dots C_0. An overflow is said to have occurred if
Show answer without attempting

Answer: C

Q1

GATE CS 2017 CS-2Number Representation and ArithmeticMCQ1 mark−1/3 if wrong
The representation of the value of a 16-bit unsigned integer XX in hexadecimal number system is BCA9. The representation of the value of XX in octal number system is
Show answer without attempting

Answer: D

Q12

GATE CS 2017 CS-2Number Representation and ArithmeticMCQ1 mark−1/3 if wrong
Given the following binary number in 32-bit (single precision) IEEE-754 format:

0011111001101101000000000000000000111110011011010000000000000000

The decimal value closest to this floating-point number is
Show answer without attempting

Answer: C

Q24

GATE CS 2017 CS-2Number Representation and ArithmeticNAT1 mark
Consider a quadratic equation x2−13x+36=0x^2 - 13x + 36 = 0 with coefficients in a base bb. The solutions of this equation in the same base bb are x=5x = 5 and x=6x = 6. Then b=b = ____________.
Show answer without attempting

Answer: 8.0

Q7

GATE CS 2016 CS-1Number Representation and ArithmeticNAT1 mark
The 16-bit 2’s complement representation of an integer is 1111 1111 1111 0101; its decimal representation is ________.
Show answer without attempting

Answer: -11.0

Q7

GATE CS 2016 CS-2Number Representation and ArithmeticNAT1 mark
Consider an eight-bit ripple-carry adder for computing the sum of AA and BB, where AA and BB are integers represented in 2's complement form. If the decimal value of AA is one, the decimal value of BB that leads to the longest latency for the sum to stabilize is _________.
Show answer without attempting

Answer: -1.0

Q9

GATE CS 2016 CS-2Number Representation and ArithmeticNAT1 mark
Let XX be the number of distinct 16-bit integers in 2's complement representation. Let YY be the number of distinct 16-bit integers in sign magnitude representation. Then X−YX - Y is _________.
Show answer without attempting

Answer: 1.0

Q59

GATE CS 2015 CS-3Number Representation and ArithmeticNAT2 marks
Consider the equation (43)x=(y3)8(43)_x = (y3)_8 where xx and yy are unknown. The number of possible solutions is ____________.
Show answer without attempting

Answer: 5

Q8

GATE CS 2014 CS-2Number Representation and ArithmeticNAT1 mark
Consider the equation (123)5=(x8)y(123)_5 = (x8)_y with xx and yy as unknown. The number of possible solutions is _____ .
Show answer without attempting

Answer: 3

Q45

GATE CS 2014 CS-2Number Representation and ArithmeticMCQ2 marks−2/3 if wrong
The value of a float type variable is represented using the single-precision 32-bit floating point format of IEEE-754 standard that uses 1 bit for sign, 8 bits for biased exponent and 23 bits for mantissa. A float type variable X is assigned the decimal value of −14.25-14.25. The representation of X in hexadecimal notation is
Show answer without attempting

Answer: A

Q11

GATE CS 2014 CS-3Number Representation and ArithmeticNAT1 mark
The minimum number of arithmetic operations required to evaluate the polynomial P(X)=X5+4X3+6X+5P(X) = X^5 + 4X^3 + 6X + 5 for a given value of XX, using only one temporary variable is _________.
Show answer without attempting

Answer: 7

Q8

GATE CS 2014 CS-1Number Representation and ArithmeticNAT1 mark
The base (or radix) of the number system such that the following equation holds is____________.

31220=13.1\frac{312}{20} = 13.1
Show answer without attempting

Answer: 5

Q4

GATE CS 2013 CSNumber Representation and ArithmeticMCQ1 mark−1/3 if wrong
The smallest integer that can be represented by an 8-bit number in 2's complement form is
Show answer without attempting

Answer: B

Q7

GATE CS 2012 CSNumber Representation and ArithmeticMCQ1 mark−1/3 if wrong
The decimal value 0.5 in IEEE single precision floating point representation has
Show answer without attempting

Answer: B

0/180 correct0 marks

Related topics in Digital Logic