App Logo

No.1 PSC Learning App

1M+ Downloads
How many types of scheduling can be done?

A3

B4

C2

D5

Answer:

C. 2

Read Explanation:

  • CPU scheduling is a process which allows one process to use CPU while another to hold on waiting state due to non-availability of resources.

  • Scheduling can be done in two ways

PRE EMPTIVE SCHEDULING

  • In this, the resources (CPU Cycle) have been allocated to a process for a limited amount of time.

  • A process can be interrupted when it is being executed.

  • If a process that has a high priority arrives frequently in the 'ready' queue, the low priority processes may starve.

  • Examples: Round Robin scheduling Shortest Remaining Time First scheduling

NON PRE EMPTIVE SCHEDULING 

  • In this, once the resources (CPU cycle have been allocated to a process, the process holds it until it completes its burst time or switches to the 'wait'state.

  • A process can't be interrupted until it terminates itself or its time is over.

  • If a process that has a long burst time is running the CPU, then the process that has less CPU burst time would starve.

  • Examples: First Come First Serve and Shortets Job First .


Related Questions:

Who developed the Linux operating system?
The basic storage unit of a spreadsheet file is known as?
ടേൺ എറൌണ്ട് സമയവും ബേസ്റ്റ് സമയവും തമ്മിലുള്ള സമയ വ്യത്യാസം അറിയപ്പെടുന്നത് ?
താഴെ കൊടുത്ത ഏത് ഭാഷ ഉപയോഗിച്ചാണ് വെബ് പേജുകൾ നിർമിക്കുന്നത് ?
What do we use to extend the connectivity of the processor bus?