Computer organization questions answers entrance exams

YOU may join our Telegram for all subjects PDF BOOKS.

https://t.me/+Ccx9McEia7wyODg1

Computer organization questions answers entrance exams

Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The private work space dedicated to a subroutine is called as .....
A
System heap
B
Reserve
C
Stack frame
D
Allocation
Question 1 Explanation: 
This work space is where the intermediate values of the subroutines are stored.
Question 2 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
If the subroutine exceeds the private space allocated to it then the values are pushed onto .....
A
Stack
B
System heap
C
Reserve Space
D
Stack frame
Question 2 Explanation: 
If the allocated work space is exceeded then the data is pushed onto the system stack.
Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
..... pointer is used to point to parameters passed or local parameters of the subroutine.
A
Stack pointer
B
Frame pointer
C
Parameter register
D
Log register
Question 3 Explanation: 
This pointer is used to track the current position of the stack being used.
Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The reserved memory or private space of the subroutine gets deallocated when .....
A
The stop instruction is executed by the routine
B
The pointer reaches the end of the space
C
When the routine's return statement is executed
D
None of the mentioned
Question 4 Explanation: 
The work space allocated to a subroutine gets deallocated when the routine is completed.
Question 5 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The private space gets allocated to each subroutine when .....
A
The first statement of the routine is executed
B
When the context switch takes place
C
When the routine gets called
D
When the Allocate instruction is executed
Question 5 Explanation: 
When the call statement is executed, simultaneously space also gets allocated.
There are 5 questions to complete.