Computer Organization & Architecture (3140707) MCQs

MCQs of Central Processing Unit

Showing 21 to 30 out of 55 Questions
21.
Convert the following expression to RPN: A*B+A*(B*D+C*E)
(a) BD*CE*+A*AB*+
(b) AB*+BD*CE*+A*
(c) BD*CE*A*+AB*+
(d) None of above
Answer:

Option (a)

22.
Which instruction format has an advantage of short programs when evaluating arithmetic expressions?
(a) Two address
(b) Three address
(c) Zero address
(d) One address
Answer:

Option (b)

23.
Which of the following instruction is example of three-address instruction format?
(a) ADD R1, R1, R2
(b) ADD R1, A
(c) ADD R1, A, B
(d) ADD B
Answer:

Option (c)

24.
Stack organization is used in which instruction format?
(a) Two address
(b) One address
(c) Three address
(d) Zero address
Answer:

Option (d)

25.
To evaluate arithmetic expressions in a stack computer, it is necessary to convert the expression into ________.
(a) postfix
(b) infix
(c) prefix
(d) Not required to convert
Answer:

Option (a)

26.
Which instruction format use an implied accumulator (AC) register for all data manipulation?
(a) Zero address
(b) One address
(c) Three address
(d) Two address
Answer:

Option (b)

27.
The instruction set of a typical RISC processor is restricted to the use of _____ and ______ instructions when communicating between memory and CPU.
(a) push, pop
(b) write, read
(c) load, store
(d) call, ret
Answer:

Option (c)

28.
TOS stands for?
(a) Top of stack
(b) Temporary storage
(c) Type of stack
(d) Type of storage
Answer:

Option (a)

29.
To evaluate arithmetic expressions of data stored in memory, which two instruction formats use LOAD as their first instruction?
(a) One address, Zero address
(b) RISC, Zero address
(c) RISC, Two address
(d) One address, RISC
Answer:

Option (d)

30.
Zero-address instructions in a stack-organized computer are ____________ instructions.
(a) register mode
(b) implied mode
(c) direct address mode
(d) indirect address mode
Answer:

Option (b)

Showing 21 to 30 out of 55 Questions