1
GATE CSE 2026 Set 1
MCQ (More than One Correct Answer)
+1
-0

Consider the 8-bit signed integers $X, Y$ and $Z$ represented using the sign-magnitude form. The binary representations of $X$ and $Y$ are as follows:

$$ X: 10110100 \quad Y: 01001100 $$

Which of the following operations to compute $Z$ result(s) in an arithmetic overflow?

A

$Z=X+Y$

B

$Z=X-Y$

C

$Z=-X+Y$

D

$Z=-X-Y$

2
GATE CSE 2025 Set 1
MCQ (More than One Correct Answer)
+1
-0

The number -6 can be represented as 1010 in 4-bit 2's complement representation. Which of the following is/are CORRECT 2's complement representation(s) of $-6$ ?

A
10001010 in 8-bits
B
11111010 in 8-bits
C
1000000000001010 in 16-bits
D
1111111111111010 in 16-bits
3
GATE CSE 2024 Set 2
MCQ (Single Correct Answer)
+1
-0.33

The format of a single-precision floating-point number as per the IEEE 754 standard is:

Sign
(1 bit)
Exponent
(8 bits)
Mantissa
(23 bits)

Choose the largest floating-point number among the following options.

A

Sign

0

Exponent

0111 1111

Mantissa

1111 1111 1111 1111 1111 1111

B

Sign

0

Exponent

1111 1110

Mantissa

1111 1111 1111 1111 1111 1111

C

Sign

0

Exponent

1111 1111

Mantissa

1111 1111 1111 1111 1111 1111

D

Sign

0

Exponent

0111 1111

Mantissa

0000 0000 0000 0000 0000 0000

4
GATE CSE 2024 Set 1
MCQ (Single Correct Answer)
+1
-0.33

Consider a system that uses 5 bits for representing signed integers in 2’s complement format. In this system, two integers A and B are represented as A=01010 and B=11010. Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow?

A

A + B

B

A - B

C

B - A

D

2 * B

GATE CSE Subjects

Browse all chapters by subject

Software Engineering
Web Technologies