Embedded Operating System MCQ Quiz – Objective Question with Answer for Embedded Operating System

21. Which of the following stores all the task information that the system requires?

A. task access block
B. register
C. accumulator
D. task control block

Answer: D

The task control block stores all the task information that the system requires and this is done when the context switch is performed so that the currently running program is interrupted.

 

22. Which of the following contains all the task and their status?

A. register
B. ready list
C. access-list
D. task list

Answer: B

The ‘ready’ list possesses all the information regarding a task, that is, all the tasks and their corresponding status which is used by the scheduler to decide which task should execute in the next time slice.

 

23. Which determines the sequence and the associated task’s priority?

A. scheduling algorithm
B. ready list
C. task control block
D. application register

Answer: A

The scheduling algorithm determines the sequence and an associated task’s priority. It also determines the present status of the task.

 

24. Which can control memory usage?

A. operating system
B. applications
C. hardware
D. kernel

Answer:d

The kernel can control the memory usage and it can also prevent the tasks from corrupting each other.

[/bg_collapse]

 

25. Which can control the memory sharing between the tasks?

A. kernel
B. application
C. software
D. OS

Answer: A

The kernel can control memory sharing between tasks which allows sharing of common program modules.

 

26. Which of the following can implement the message passing and control?

A. application software
B. operating system
C. software
D. kernel

Answer: D

The kernel can implement the message passing and control which acts as a message passer and controller between the tasks.

 

27. How many types of messages are associated with the real-time operating system?

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

Answer: A

There are two basic types of messages associated with the real-time operating system. These are semaphores and messages.

 

28. Which of the following can carry information and control tasks?

A. semaphore
B. messages
C. flags
D. address message

Answer: B

The messages can carry information and they can also control the task regarding the real-time operating systems. These are also known as events.

 

29. Which task swapping method does not require the time-critical operations?

A. time slice
B. pre-emption
C. cooperative multitasking
D. schedule algorithm

Answer: A

Time-critical operations are not essential in the time slice mechanism. The time slice mechanism describes the task switching in a particular time slot.

 

30. Which task swap method works in a regular periodic point?

A. pre-emption
B. time slice
C. schedule algorithm
D. cooperative multitasking

Answer: B

The time-slicing works by switching tasks in regular periodic points in time, that is, any task that needs to run next will have to wait until the current time slice is completed.

Scroll to Top