Computer organization mcqs exceptions

 

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

Computer organization mcqs exceptions

Click on any option to know the CORRECT ANSWERS

Question 1
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
Current affairs Questions answers

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.
Question 2
..... is/are types of exceptions.
A
Trap
B
Interrupt
C
System calls
D
All of the mentioned
Arab culture Questions answers

Question 3
The program used to find out errors is called .....
A
Debugger
B
Compiler
C
Assembler
D
Scanner
Home science Questions answers

Question 3 Explanation: 
Debugger is a program used to detect and correct errors in the program.
Question 4
The two facilities provided by the debugger is .....
A
Trace points
B
Break points
C
Compile
D
Both Trace and Break points
KBC Questions answers

Question 4 Explanation: 
The debugger provides us with the two facilities to improve the checking of errors.
Question 5
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
GK Questions answers

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.

 

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