Question 3Asked in UGC NET Computer Science, December 2014 (Paper II & III, Selected Questions)

The size of the ROM required to build an 8-bit adder/subtracter with mode control, carry input, carry output and two's complement overflow output is given as :

  1. A2¹⁶ × 8
  2. B2¹⁸ × 10
  3. C2¹⁶ × 10
  4. D2¹⁸ × 8
Show answerHide answer

Correct answer: (B) 2¹⁸ × 10

Explanation

Total inputs to the ROM = 8 + 8 (two 8-bit numbers) + 1 (mode) + 1 (carry in) = 18, so the ROM has 2¹⁸ words. Outputs = 8 result bits + 1 carry out + 1 overflow = 10 bits. Hence the ROM size is 2¹⁸ × 10.

From UGC NET Computer Science PYQ, December 2014 (Paper II & III, Selected Questions)

This is question 3 of UGC NET Computer Science PYQ, December 2014 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.