Computer organization mcqs subroutines nesting

 

 Buy/Download all MCQ Ebook   >>>Click Here<<<

Computer organization mcqs subroutines nesting

Click on any option to know the CORRECT ANSWERS

Question 1
The return address of the Sub-routine is pointed to by .....
A
IR
B
PC
C
MAR
D
Special memory registers
Reasoning Questions answers

Question 1 Explanation: 
The return address from the subroutine is pointed to by the PC.
Question 2
The location to return to, from the subroutine is stored in .....
A
TLB
B
PC
C
MAR
D
Link registers
KBC Questions answers

Question 2 Explanation: 
The registers store the return address of the routine and is pointed to by the PC.
Question 3
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
Civics Test Questions answers

Question 4
The order in which the return addresses are generated and used is .....
A
LIFO
B
FIFO
C
Random
D
Highest priority
English literature Questions answers

Question 4 Explanation: 
That is the routine called first is returned first.
Question 5
In case of nested subroutines the return addresses are stored in .....
A
System heap
B
Special memory buffers
C
Processor stack
D
Registers
EVS Questions answers

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.

 

 Buy/Download all MCQ Ebook >>>CLICK HERE<<<