Computer Organization & Architecture (3140707) MCQs

MCQs of Central Processing Unit

Showing 11 to 20 out of 55 Questions
11.
Full-form of SP?
(a) Stack Processor
(b) Serial Pointer
(c) Stack Pointer
(d) Special Processor
Answer:

Option (c)

12.
Which of the stack organization is used in CPU?
(a) Register stack
(b) Memory stack
(c) Both A & B
(d) None
Answer:

Option (c)

13.
In register stack, initially the value of SP, EMTY and FULL should be __, __ and __ respectively.
(a) 0, 1, 0
(b) 1, 0, 0
(c) 0, 0, 0
(d) 1, 1, 0
Answer:

Option (a)

14.
In PUSH operation of register stack, value of SP is_________.
(a) decremented by 1
(b) incremented by 1
(c) decremented by 2
(d) incremented by 2
Answer:

Option (b)

15.
In POP operation of register stack, value of SP is_________.
(a) incremented by 1
(b) incremented by 2
(c) decremented by 2
(d) decremented by 1
Answer:

Option (d)

16.
Let SP = 000000 in register stack. How many items are there in the stack if Full = 1 and EMTY = 0?
(a) 0
(b) 32
(c) 64
(d) 6
Answer:

Option (c)

17.
In PUSH operation of memory stack, value of SP is_________.
(a) decremented by 1
(b) incremented by 1
(c) decremented by 2
(d) incremented by 2
Answer:

Option (a)

18.
In POP operation of memory stack, value of SP is_________.
(a) decremented by 2
(b) incremented by 2
(c) incremented by 1
(d) decremented by 1
Answer:

Option (c)

19.
Which notation is known as reverse polish notation?
(a) infix
(b) postfix
(c) prefix
(d) Any of the above
Answer:

Option (b)

20.
Convert the following expression to RPN: (A+B)*[C*(D+E)+F]
(a) DE+C*F+*AB+
(b) AB+C*DE+F+*
(c) DE+F+C*AB+*
(d) AB+DE+C*F+*
Answer:

Option (d)

Showing 11 to 20 out of 55 Questions