Question - What is a task's priority and how is it used in scheduling?
Answer -
A task's priority is an integer value that identifies the relative order in which it should be executed with respect to other tasks. The scheduler attempts to schedule higher priority tasks before lower priority tasks.