Consider the 8-bit signed integers π, π and π represented using the sign-magnitude
form. The binary representations of π and π are as follows:
π: 10110100 π: 01001100
Which of the following operations to compute π result(s) in an arithmetic
overflow?
We are given two 8-bit numbers in sign-magnitude form: X = 10110100 and Y = 01001100. We must determine which operations to compute Z cause an arithmetic overflow.
Step 1: Decode X and Y.
X = 10110100: the leftmost bit is 1, so X is negative. The magnitude bits are 0110100, which equal \(32+16+4 = 52\). So \(X = -52\).
Y = 01001100: the leftmost bit is 0, so Y is positive. The magnitude bits are 1001100, which equal \(64+8+4 = 76\). So \(Y = 76\).
Step 2: Recall the overflow rule for 8-bit sign-magnitude numbers.
With 8 bits, 1 bit is used for sign and 7 bits for magnitude, so the maximum representable magnitude is \(2^7 - 1 = 127\). An arithmetic overflow occurs whenever the true magnitude of the result exceeds 127.
Step 3: Evaluate option (A) \(Z = X + Y\).
\(Z = -52 + 76 = 24\). Magnitude 24 is well within 127, so no overflow.
Step 4: Evaluate option (B) \(Z = X - Y\).
\(Z = -52 - 76 = -128\). The magnitude required is 128, which exceeds the maximum representable magnitude of 127. This causes an overflow.
Step 5: Evaluate option (C) \(Z = -X + Y\).
\(Z = 52 + 76 = 128\). Again the magnitude 128 exceeds 127, causing an overflow.
Step 6: Evaluate option (D) \(Z = -X - Y\).
\(Z = 52 - 76 = -24\). Magnitude 24 is within range, so no overflow.
Therefore, arithmetic overflow occurs for options B and C.
\[ \boxed{\text{Options B and C}} \]A schedule of three database transactions \(T_1\), \(T_2\), and \(T_3\) is shown. \(R_i(A)\) and \(W_i(A)\) denote read and write of data item A by transaction \(T_i\), \(i = 1, 2, 3\). The transaction \(T_1\) aborts at the end. Which other transaction(s) will be required to be rolled back?

Match each addressing mode in List I with a data element or an element of a data
structure (in a high-level language) in List II:
List I
List II
P. Immediate
1. Element of an array
Q. Indirect
2. Pointer
R. Base with index
3. Element of a record
S. Base with offset/displacement 4. Constant
In a system, numbers are represented using 4-bit twoβs complement form. Consider
four numbers π1 =1011, π2 =1101, π3 =1010 and π4 =1001 in the system.
Which of the following operations will result in arithmetic overflow?
The 32-bit IEEE 754 single precision representation of a number is 0xC2710000.
The number in decimal representation is ________. (rounded off to two decimal
places)
Consider the following two statements about interrupt handling mechanisms in a
CPU.
S1: In non-vectored interrupt mechanism, it usually takes more time to start the
Interrupt Service Routine (ISR) when compared to that in a vectored interrupt
mechanism.
S2: In daisy-chain interrupt mechanism, the CPU polls all the input devices
individually to determine the source of the interrupt.
Which one of the following options is correct with respect to S1 and S2 ?
Consider the real valued variables X, Y and Z represented using the IEEE 754 single-
precision floating-point format. The binary representations of X and Y in hexadecimal
notation are as follows:
X: 35C00000 Y: 34A00000
Let π = π+ π.
Which one of the following is the binary representation of π, in hexadecimal
notation?