GATE CS 2024 Set 1 | Question 13
Computer Organization & Architecture › Machine Instructions · MCQ · 1 mark · Answer: B
- Question 13Computer Organization & Architecturemcq1 markA system uses 5-bit 2's complement. and . Which operation results in arithmetic overflow/underflow?
- A.
- B.✓
- C.
- D.
Answer: B
Solution
Answer: (B) Values: , (range of 5-bit 2's complement is to ). - — in range. No overflow. - — exceeds -> overflow. - — within range (). OK. - — in range. Only cannot be represented, so it overflows. - A.
More GATE PYQ on Machine Instructions
All GATE CS Computer Organization & Architecture PYQ →Attempt GATE CS 2024 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →