Computer organization mcqs exceptions
Click on any option to know the CORRECT ANSWERS
If during the execution of an instruction an exception is raised then .....
The instruction is executed and the exception is handled
The instruction is halted and the exception is handled
The processor completes the execution and saves the data and then handle the exception
None of the mentioned
Question 1 Explanation:
Since the interrupt was raised during the execution of the instruction, the instruction cannot be executed and the exception is served immediately.
..... is/are types of exceptions.
All of the mentioned
The program used to find out errors is called .....
Question 3 Explanation:
Debugger is a program used to detect and correct errors in the program.
The two facilities provided by the debugger is .....
Both Trace and Break points
Question 4 Explanation:
The debugger provides us with the two facilities to improve the checking of errors.
In trace mode of operation is .....
The program is interrupted after each detection
The program will not be stopped and the errors are sorted out after the complete program is scanned
There is no effect on the program, i.e the program is executed without rectification of errors
The program is halted only at specific points
Question 5 Explanation:
In trace mode, the program is checked line by line and if errors are detected then exceptions are raised right away.
There are 5 questions to complete.