Number Representation and Arithmetic questions

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

Q41

GATE CS 2022 CSNumber Representation and ArithmeticMCQ2 marks−2/3 if wrong
Consider three floating point numbers AA, BB and CC stored in registers RAR_A, RBR_B and RCR_C, respectively as per IEEE-754 single precision floating point format. The 32-bit content stored in these registers (in hexadecimal form) are as follows.

RA=0xC1400000RB=0x42100000RC=0x41400000R_A = \text{0xC1400000} \quad R_B = \text{0x42100000} \quad R_C = \text{0x41400000}

Which one of the following is FALSE?
Show answer without attempting

Answer: B

0/20 correct0 marks

Related topics in Digital Logic