Fast Interrupt MCQ Quiz – Objective Question with Answer for Fast Interrupt in Embedded System

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

A. 2
B. 3
C. 4
D. 5

Answer: A

The software interrupt can be split into two parts. These are foreground work and background work.

 

12. Which of the following allows the splitting of the software?

A. wait for statement
B. ready
C. interrupt
D. acknowledgment

Answer: C

The interrupt can make the software into two main parts and these are foreground work and background work.

 

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

A. background
B. foreground
C. both background and foreground
D. lateral ground

Answer: A

The interrupt mechanism is transparent to the background software, that is, the background software is not aware of the existence of the foreground software.

 

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

A. background
B. foreground
C. lateral ground
D. both foreground and background

Answer: B

In the foreground work, the tasks are performed in response to the interrupts but in the background work, the tasks are performed while waiting for an interrupt.

 

15. In which of the following method does the code written in a straight sequence?

A. method 1
B. timing method
C. sequence method
D. spaghetti method

Answer: D

In the spaghetti method, the code is written in a straight sequence in which the analysis software goes and polls the port to see if there is data.

 

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

A. data
B. data transfer rate
C. data size
D. number of bits

Answer: B

The data transfer rate can determine the number of times the port is polled while executing the task.

 

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

A. polling
B. subroutine
C. sequential code
D. concurrent code

Answer: B

The subroutine can improve the quality and the structure of the code. By using the polling method, as the complexity increases the software structure rapidly falls and it will become inefficient. So the subroutine method is adopted.

 

18. Which of the following are asynchronous to the operation?

A. interrupts
B. software
C. DMA
D. memory

Answer: A

The interrupts are asynchronous to the operation and therefore can be used with systems that are the event as opposed to the time-driven.

 

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

A. memory
B. input
C. output
D. interrupts

Answer: D

The asynchronous interrupts can be used with systems that are the event as opposed to the time-driven.

 

20. What does ISR stand for?

A. interrupt standard routine
B. interrupt service routine
C. interrupt software routine
D. interrupt synchronous routine

Answer: B

The data transfer codes are written as part of the interrupt service routine which is associated with the interrupt generation by the hardware.

Scroll to Top