Computer organization mcqs subroutines nesting

ALL PRINTABLE PDF BOOKS FREE DOWNLOAD <<CLICK HERE>>

Computer organization mcqs subroutines nesting

Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The return address of the Sub-routine is pointed to by .....
A
IR
B
PC
C
MAR
D
Special memory registers
Question 1 Explanation: 
The return address from the subroutine is pointed to by the PC.
Question 2 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The location to return to, from the subroutine is stored in .....
A
TLB
B
PC
C
MAR
D
Link registers
Question 2 Explanation: 
The registers store the return address of the routine and is pointed to by the PC.
Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is subroutine nesting?
A
Having multiple subroutines in a program
B
Using a linking nest statement to put many subroutines under the same name
C
Having one routine call the other
D
None of the mentioned
Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The order in which the return addresses are generated and used is .....
A
LIFO
B
FIFO
C
Random
D
Highest priority
Question 4 Explanation: 
That is the routine called first is returned first.
Question 5 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In case of nested subroutines the return addresses are stored in .....
A
System heap
B
Special memory buffers
C
Processor stack
D
Registers
Question 5 Explanation: 
In this case, there will be more number of return addresses it is stored on the processor stack.
There are 5 questions to complete.

DOWNLOAD ALL SUBJECTS PDF <<CLICK HERE>>