Computer Arithmetic questions

Q28

GATE CS 2026 CS-2Number Representation and ArithmeticMSQ1 mark
In a system, numbers are represented using 4-bit two’s complement form. Consider four numbers N1=1011N1 = 1011, N2=1101N2 = 1101, N3=1010N3 = 1010 and N4=1001N4 = 1001 in the system.
Which of the following operations will result in arithmetic overflow?
More than one option can be correct.
Show answer without attempting

Answer: B, D

Q32

GATE CS 2025 CS-2Number Representation and ArithmeticNAT1 mark
The following two signed 2’s complement numbers (multiplicand M and multiplier Q) are being multiplied using Booth’s algorithm:

M: 1100 1101 1110 1101 and Q: 1010 0100 1010 1010

The total number of addition and subtraction operations to be performed is ___________. (Answer in integer)
Show answer without attempting

Answer: 13

Q13

GATE CS 2024 CS-1Number Representation and ArithmeticMCQ1 mark−1/3 if wrong
Consider a system that uses 5 bits for representing signed integers in 2's complement format. In this system, two integers AA and BB are represented as A=01010A=01010 and B=11010B=11010. Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow?
Show answer without attempting

Answer: B

Q18

GATE CS 2022 CSNumber Representation and ArithmeticMCQ1 mark−1/3 if wrong
Let R1R1 and R2R2 be two 4-bit registers that store numbers in 2's complement form. For the operation R1+R2R1+R2, which one of the following values of R1R1 and R2R2 gives an arithmetic overflow?
Show answer without attempting

Answer: B

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

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

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

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

0/100 correct0 marks

Related topics in Number Representation and Arithmetic