Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

GATE | Quiz for Sudo GATE 2021 | Question 31

  • Last Updated : 17 Dec, 2020

In a computer laboratory all system are 14 bit and support 2KW memory. There are two types of instructions are placed in memory (one address and zero address). If there exist 5 one address instructions then how many zero address are possible?

Note – This question is multiple select questions (MSQ).
(A) Total number of one address instructions are 8
(B) Total number of zero address instructions are 2028
(C) Total number of zero address instructions are 6144
(D) Total number of one address instructions are 10


Answer: (A) (C)

Explanation: According to given data,

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

Therefore,
Total number of one address instructions

= number of opcode 
= 23 
= 8 

And zero address instructions

= (23 - 5)*211
= 3*2048
= 6144 

So, option (A) and (C) are correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!