Real Time Operating system MCQ Quiz – Objective Question with Answer for Real Time Operating system

41. 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.

 

42. 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.

 

43. 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.

 

44. 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.

 

45. 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.

 

46. 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.

 

47. 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.

 

48. 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.

 

49. Which of the following can be used to refer to entities within the RTOS?

A. threads
B. kernels
C. system
D. applications

Answer: A

The threads and processes can be used to refer to entities within the RTOS. They provide an interchangeable replacement for the task. They have a slight difference in their function. A process is a program in execution and it has its own address space whereas threads have a shared address space. The task can be defined as a set of instructions that can be loaded into the memory.

 

50. Which of the following defines the set of instructions loaded into the memory?

A. process
B. task
C. thread
D. system hardware

Answer: B

The task can be defined by the set of instructions that is loaded into the memory and can be split into two or more tasks.

Scroll to Top