Interrupts and Exceptions

This set of MCQs helps students to learn about interrupts and exceptions which are unexpected events which will disrupt the normal flow of execution of instruction(that is currently executing by processor). An exception is an unexpected event from within the processor. Interrupt is an unexpected event from outside the process.

Start Quiz

Into how many parts does the interrupt can split the software?

2 3 4 5

Which of the following allows the splitting of the software?

Wait statement

Ready

Interrupt

Acknowledgement

Which part of the software is transparent to the interrupt mechanism?

Background

Foreground

Both background and foreground

Lateral ground

Which part of the software performs tasks in response to the interrupts?

Background

Foreground

Lateral ground

Both foreground and background

Which code is written as part of the ISR?

Data receive code

Sequential code

Data transfer code

Concurrent code

Which factor depends on the number of times of polling the port while executing the task?

Data

Data transfer rate

Data size

Number of bits

Which of the following can improve the quality and the structure of a code?

Polling

Subroutine

Sequential code

Concurrent code

Which of the following are asynchronous to the operation?

Interrupts

Software

DMA

Memory

Which of the following can be used to create time-driven systems?

Memory

Input

Output

Interrupts

What does ISR stand for?

Interrupt standard routine

Interrupt service routine

Interrupt software routine

Interrupt synchronous routine

Which of the following uses clock edge to generate an interrupt?

Edge triggered

Level-triggered

Software interrupt

NMI

In which interrupt, the trigger is dependent on the logic level?

Edge triggered

Level-triggered

Software interrupt

NMI

At which point the processor will start to internally process the interrupt?

Interrupt pointer

Instruction pointer

Instruction boundary

Interrupt boundary

What does 80×86 use to hold essential data?

Stack frame

Register

Internal register

Flag register

What does the RISC processor use to hold the data?

Flag register

Accumulator

Internal register

Stack register

Quiz/Test Summary
Title: Interrupts and Exceptions
Questions: 15
Contributed by:
Steve