Embedded System Middleware and Scheduling MCQ Quiz – Objective Question with Answer for Embedded System Middleware and Scheduling

41. Which scheduling algorithm is can be used for an independent periodic process?

A. EDD
B. LL
C. LST
D. RMS

Answer: D

The RMS os rate monotonic scheduling is a periodic scheduling algorithm but EDD, LL, and LST are aperiodic scheduling algorithms.

 

42. What is the relationship between the priority of tasks and their period in RMS?

A. decreases
B. increases
C. remains unchanged
D. linear

Answer: A

The priority of the task decreases monotonically with respect to their period in the rate of monotonic scheduling, that is, the task with a long period will get a low priority but the task with a short period will get a high priority.

 

43. Which of the following uses a preemptive periodic scheduling algorithm?

A. Pre-emptive scheduling
B. RMS
C. LL
D. LST

Answer: B

The rate monotonic scheduling is a periodic scheduler algorithm that follows a preemptive algorithm. LL is also preemptive scheduling but it is an aperiodic scheduling algorithm.

 

44. Which of the following is based on static priorities?

A. Periodic EDF
B. RMS
C. LL
D. Aperiodic EDF

Answer: B

The rate monotonic scheduling is a periodic scheduler algorithm that follows a preemptive algorithm and has static priorities. EDF and LL have dynamic priorities.

 

45. How many assumptions have to meet for a rate of monotonic scheduling?

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

Answer: D

The rate of monotonic scheduling has to meet six assumptions. These are: All the tasks should be periodic, all the tasks must be independent, the deadline should be equal to the period for all tasks, the execution time must be constant, the time required for the context switching must be negligible, it should hold the accumulation utilization equation.

 

46. Which of the following can be applied to periodic scheduling?

A. EDF
B. LL
C. LST
D. EDD

Answer: A

The earliest deadline first can be applied both to the periodic and aperiodic scheduling algorithm. But LL, LST, and EDD are aperiodic scheduling. It is not applicable to periodic scheduling.

 

47. Which of the following periodic scheduling is dynamic?

A. RMS
B. EDF
C. LST
D. LL

Answer: B

The EDF or the earliest deadline first is a periodic scheduling algorithm that is dynamic but RMS or rate monotonic scheduling is the periodic algorithm that is static. The LL and LST are aperiodic scheduling algorithms.

 

48. Which of the following do the sporadic events are connected?

A. Interrupts
B. NMI
C. Software interrupt
D. Timer

Answer: A

The sporadic events are connected to the interrupts thereby executing them immediately as possible since the interrupt priority is the highest in the system.

 

49. Which of the following can execute quickly, if the interrupt priority is higher in the system?

A. EDD
B. Sporadic event
C. LL
D. Aperiodic scheduling

Answer: B

The sporadic events are connected to the interrupts and executed them immediately because the interrupt priority is the highest priority level in the system.

 

50. Which of the following are used to execute at regular intervals and check for ready sporadic tasks?

A. sporadic task server
B. sporadic task client
C. sporadic event application
D. sporadic register

Answer: A

The special sporadic task servers are used that execute at regular intervals and check for ready sporadic tasks which improve the predictability of the whole system.

 

51. How is a sporadic task can turn into a periodic task?

A. scheduling algorithm
B. sporadic task event
C. sporadic register
D. sporadic task server

Answer: D

The special sporadic task servers execute at regular intervals and check for ready sporadic tasks and by this, sporadic tasks are essentially turned into periodic tasks which can improve the predictability of the whole system.

 

52. Which of the following is more difficult than the scheduling independent task?

A. scheduling algorithm
B. scheduling independent task
C. scheduling dependent task
D. aperiodic scheduling algorithm

Answer: C

The scheduling-dependent task is more difficult than the independent scheduling task. The problem of deciding whether or not a schedule exists for a given set of dependent tasks and a given deadline is NP-complete.

 

53. Which scheduling is the basis for a number of formal proofs of schedulability?

A. LL
B. RMS
C. LST
D. EDD

Answer: B

The rate monotonic scheduling which is an independent scheduling algorithm form the basis for a number of formal proofs of schedulability.

 

54. Which of the following is independent scheduling?

A. LL
B. LST
C. EDD
D. RMS

Answer: D

The RMS or rate monotonic scheduling is the independent scheduling algorithm that is included in the assumptions of RMS, that is, all tasks should be independent.

Scroll to Top