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

A byte addressable computer has a memory capacity of 2ᵐ K bytes and can perform 2ⁿ operations. An instruction involving 3 operands and one operator needs a…

A byte addressable computer has a memory capacity of 2ᵐ K bytes and can perform 2ⁿ operations. An instruction involving 3 operands and one operator needs a maximum of
  1. A3m bits
  2. Bm + n bits
  3. C3m + n bits
  4. D3m + n + 30 bits
Show answerHide answer

Correct answer: (D) 3m + n + 30 bits

Explanation

Memory capacity is 2ᵐ Kbytes = 2^(m+10) bytes, so the whole memory can be addressed with m + 10 bits. 2ⁿ operations can be represented by n bits. An instruction of the form OP, operand₁, operand₂, operand₃ will therefore take 3(m + 10) + n = 3m + n + 30 bits. So the answer is (d).

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

This is question 29 of UGC NET Computer Science PYQ, June 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.