Test: Exceptions


10 Questions MCQ Test Computer Architecture and Organisation (CAO) - Notes & all | Test: Exceptions


Description
This mock test of Test: Exceptions for Computer Science Engineering (CSE) helps you for every Computer Science Engineering (CSE) entrance exam. This contains 10 Multiple Choice Questions for Computer Science Engineering (CSE) Test: Exceptions (mcq) to study with solutions a complete question bank. The solved questions answers in this Test: Exceptions quiz give you a good mix of easy questions and tough questions. Computer Science Engineering (CSE) students definitely take this Test: Exceptions exercise for a better result in the exam. You can find other Test: Exceptions extra questions, long questions & short questions for Computer Science Engineering (CSE) on EduRev as well by searching above.
QUESTION: 1

 If during the execution of an instruction an exception is raised then

Solution:

Answer: b
Explanation: Since the interrupt was raised during the exevution of the instruction, the instruction cannot be executed and the exception is servied immediately.

QUESTION: 2

_____ is/are types of exceptions.

Solution:
QUESTION: 3

The program used to find out errors is called

Solution:

Answer: a
Explanation: Debugger is a program used to detect and correct errors in the program.

QUESTION: 4

The two facilities provided by the debugger is

Solution:

Answer: d
Explanation: The debugger provides us with the two facilities to improve the checking of errors.

QUESTION: 5

 In trace mode of operation is ________

Solution:

Answer: a
Explanation: In trace mode the program is checked line by line and if errors are detected then exceptions are raised right away.

QUESTION: 6

 In Breakpoint mode of operation

Solution:

Answer: d
Explanation: The Breakpoint mode of operation allows the program to be alted at only specific locations.

QUESTION: 7

 The different modes of operation of a computer is

Solution:

Answer: b
Explanation: The user programs are in the user mode and the system crucial programs are in the supervisor mode.

QUESTION: 8

The instructions which can be run only supervisor mode are

Solution:

Answer: c
Explanation: These instructions are those which can are crucial for the systems performance and hence cannot be adultered by user programs, so is run only in supervisor mode.

QUESTION: 9

A privilege exception is raised

Solution:
QUESTION: 10

How is a privilege exception dealt with?

Solution:

Related tests