Test: Exceptions


10 Questions MCQ Test Computer Architecture & Organisation (CAO) | Test: Exceptions


Description
Attempt Test: Exceptions | 10 questions in 10 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study Computer Architecture & Organisation (CAO) for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
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:
Use Code STAYHOME200 and get INR 200 additional OFF
Use Coupon Code