Challenger App

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:

Which of the following stores long text entries upto 64000 characters long?
Any software stored in a form of read only memory is called as :
The first spreadsheet software for personal computers?

ഇവയിൽ അവതരണ സോഫ്റ്റ് വെയർ (Presentation Software) അല്ലാത്തത്?

  1. ഒറാക്കിൾ
  2. ആപ്പിൾ ഐ വർക്ക് കീനോട്ട്
  3. ഇൻക്സ്കേപ്പ്
  4. ഓപ്പൺ ഓഫീസ് ഇംപ്രെസ്
    Which of the following are the functions of a operating system?