MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Organization knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
THE_MOST_FLEXIBLE_WAY_OF_LOGGING_THE_RETURN_ADDRESSES_OF_THE_SUBROUTINES_IS_BY_USING________?$ |
| A. | Registers |
| B. | Stacks |
| C. | Memory locations |
| D. | None of the mentioned |
| Answer» C. Memory locations | |
| 2. |
The_wrong_statement/s_regarding_interrupts_and_subroutines_among_the_following_is/are_______$ |
| A. | The sub-routine and interrupts have a return statement |
| B. | Both of them alter the content of the PC |
| C. | Both are software oriented |
| D. | Both can be initiated by the user |
| Answer» E. | |
| 3. |
The most efficient way of handling parameter passing is by using _____? |
| A. | General purpose registers |
| B. | Stacks |
| C. | Memory locations |
| D. | None of the mentioned |
| Answer» B. Stacks | |
| 4. |
When parameters are being passed on to the subroutines they are stored in ________ |
| A. | Registers |
| B. | Memory locations |
| C. | Processor stacks |
| D. | All of the mentioned |
| Answer» E. | |
| 5. |
The appropriate return addresses are obtained with the help of ____ in case of nested routines. |
| A. | MAR |
| B. | MDR |
| C. | Buffers |
| D. | Stack-pointers |
| Answer» E. | |
| 6. |
In case of nested subroutines the return addresses are stored in __________ |
| A. | System heap |
| B. | Special memory buffers |
| C. | Processor stack |
| D. | Registers |
| Answer» D. Registers | |
| 7. |
The order in which the return addresses are generated and used is _________ |
| A. | LIFO |
| B. | FIFO |
| C. | Random |
| D. | Highest priority |
| Answer» B. FIFO | |
| 8. |
Subroutine nesting means, |
| 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 |
| Answer» D. None of the mentioned | |
| 9. |
The location to return to, from the subroutine is stored in _______ |
| A. | TLB |
| B. | PC |
| C. | MAR |
| D. | Link registers |
| Answer» E. | |
| 10. |
The return address of the Sub-routine is pointed to by _______ |
| A. | IR |
| B. | PC |
| C. | MAR |
| D. | Special memory registers |
| Answer» C. MAR | |