Computer Organization and Architecture MCQ -5


1
Which of the following is not major part of CPU.

(a) Register
(b) C.U.

(c) ALU
(d) IO
2
 _________is multi purpose register.

(a) AC
(b) PC

(c) SP
(d) DR
3
Stack works on _________algorithm.

(a) FIFO
(b) LIFO

(c) Both
(c) None
4
Which of the following stack.

(a) PUSH
(b) POP

(c) Both
(d) None
5
In memory stack pointer is ________ at the time of push.

(a) Increment
(b) Decrement

(c) Divide
(d) None
6
Polish notation of A+(B*C) is

a)    ABC*+
b)     AB+C*

c)      AB*+C
d)     AB+*C
7
Polish notation of  A*B+C*D+E*F  is


(a) AB*CD*EF*++
(b) ABCDEF***++

(c) ABCD*EF**++
(d) AB+CD+EF***
8
Reverse polish notation is useful for

(a) Evaluation of Arithmetic Expression

(b) Evaluation of tree


(c) Evaluation of stack


(d) Evaluation of  queue

9
Which of the following is not type of  interrupt ?

(a) External
(b) Internal

(c) Software
(d) None
10
When an interrupt occurs, the processor completes the current _____________ before jumping to the interrupt service subroutine.

(a) Microinstruction it is executing
(b) Instruction it is executing

(c) Current macro it is executing
(d) procedure call it is executing
11
Parentheses are required to indicate the order of evaluation of arithmetic operation is

(a) Prefix expression
(b) Infix expression

(c) Postfix expression
(d) Both (a) and (c)
12
In a stack computer, there is support for

(a) PUSH  and POP instruction only
(b) Zero address instruction only

(c) Zero address instruction,PUSH & POP
(d) None
13
There reverse polish expression “ead+cab+*/+” stand for

(a) (e+(a+d)/(c*(a+b)))
(b) (e+a*(d+c)/(a+b)))

(c) (e+(a+d)+c*(a/b)))
(d) None of the above
14
CPU gets the address of next instruction to be processed

(a) Instruction register
(b) Memory Address Register

(c) Index Register
(d) Program counter
15
Which of the following will be able to verify if a given string is a valid parenthesized arithmetic expression?

(a) A lexical analyzer
(b) A parser

(c) A postfix expression evaluator
(d) None of the above