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. |
A_PRIVILEGE_EXCEPTION_IS_RAISED?$ |
| A. | When a process tries to change the mode of the system |
| B. | When a process tries to change the priority level of the other processes |
| C. | When a process tries to access the memory allocated to other users |
| D. | All of the mentioned |
| Answer» E. | |
| 2. |
How_is_a_privilege_exception_dealt_with?$ |
| A. | The program is halted and the system switches into supervisor mode and restarts the program execution |
| B. | The Program is stopped and removed from the queue |
| C. | The system switches the mode and starts the execution of a new process |
| D. | The system switches mode and runs the debugger |
| Answer» B. The Program is stopped and removed from the queue | |
| 3. |
The instructions which can be run only supervisor mode ar? |
| A. | Non-privileged instructions |
| B. | System instructions |
| C. | Privileged instructions |
| D. | Exception instructions |
| Answer» D. Exception instructions | |
| 4. |
The different modes of operation of a computer are |
| A. | User and System mode |
| B. | User and Supervisor mode |
| C. | Supervisor and Trace mode |
| D. | Supervisor, User and Trace mode |
| Answer» C. Supervisor and Trace mode | |
| 5. |
In Breakpoint mode of operation |
| A. | The program is interrupted after each detection |
| B. | The program will not be stopped and the errors are sorted out after the complete program is scanned |
| C. | There is no effect on the program, i.e the program is executed without rectification of errors |
| D. | The program is halted only at specific points |
| Answer» E. | |
| 6. |
In trace mode of operation is ________ |
| A. | The program is interrupted after each detection |
| B. | The program will not be stopped and the errors are sorted out after the complete program is scanned |
| C. | There is no effect on the program, i.e the program is executed without rectification of errors |
| D. | The program is halted only at specific points |
| Answer» B. The program will not be stopped and the errors are sorted out after the complete program is scanned | |
| 7. |
The two facilities provided by the debugger is |
| A. | Trace points |
| B. | Break points |
| C. | Compile |
| D. | Both Trace and Break points |
| Answer» E. | |
| 8. |
The program used to find out errors is called |
| A. | Debugger |
| B. | Compiler |
| C. | Assembler |
| D. | Scanner |
| Answer» B. Compiler | |
| 9. |
_____ is/are types of exceptions. |
| A. | Trap |
| B. | Interrupt |
| C. | System calls |
| D. | All of the mentioned |
| Answer» E. | |
| 10. |
If during the execution of an instruction an exception is raised then |
| A. | The instruction is executed and the exception is handled |
| B. | The instruction is halted and the exception is handled |
| C. | The processor completes the execution and saves the data and then handle the exception |
| D. | None of the mentioned |
| Answer» C. The processor completes the execution and saves the data and then handle the exception | |