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?
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$ ?
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.
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?
GATE CSE Subjects
Browse all chapters by subject