Task Swapping Method MCQ Quiz – Objective Question with Answer for Task Swapping Method

11. What does RMS stand for?

A. rate monotonic scheduling
B. rate machine scheduling
C. rate monotonic software
D. rate machine software

Answer: A

The rate of monotonic scheduling is a method that is used to assign priority for a pre-emptive system such that the correct execution can be guaranteed.

 

12. Which of the following task swapping method is a better choice in the embedded systems design?

A. RMS
B. pre-emptive
C. cooperative multitasking
D. time slice

Answer: B

The pre-emptive method of task swapping is the first choice for embedded system design because of its better system response.

 

13. Which of the following allows a lower priority task to run despite the higher priority task being active and waiting to preempt?

A. message queue
B. message passing
C. semaphore
D. priority inversion

Answer: D

The priority inversion mechanism where the lower priority task can continue to run despite there being a higher priority task active and waiting to preempt.

 

14. What happens to the interrupts in an interrupt service routine?

A. disable interrupt
B. enable interrupts
C. remains unchanged
D. ready state

Answer: A

In the interrupt service routine, all the other interrupts are disabled till the routine completes which can cause a problem if another interrupt is received and held pending. This can result in priority inversion.

 

15. Which of the following is a part of the RTOS kernel?

A. memory
B. input
C. ISR
D. register

Answer: C

The ISR can send the message for the tasks and it is a part of the RTOS kernel.

 

16. Which of the following is an industrial interconnection bus?

A. bus interface unit
B. data bus
C. address bus
D. VMEbus

Answer: D

The VMEbus is an interconnection bus that is used in industrial control and many other real-time applications.

 

17. Which of the following supports seven interrupt priority levels?

A. kernel
B. operating system
C. VMEbus
D. data bus

Answer: C

The VMEbus supports seven interrupt priority levels which allow the prioritization of the resources.

 

18. What type of interrupt handling is seen in multiprocessor applications?

A. centralized interrupt
B. handled by one MASTER
C. distributed handling
D. shared handling

Answer: C

The multiprocessor applications allow distributed handling in which direct communication with the individual masters is possible.

 

19. Which of the following is an asynchronous bus?

A. VMEbus
B. timer
C. data bus
D. address bus

Answer: A

The VMEbus is based on Eurocard sizes and is asynchronous which is similar to the MC68000.

 

20. Which of the following is not priority-based?

A. priority inversion
B. message passing
C. fairness system
D. message queuing

Answer: C

The fairness system allows the system which requires different characteristics from those originally provided and the system response that is not a priority based. The fairness system is not a priority based on where the bus access is distributed across the requesting processors.

Scroll to Top