Challenger App

No.1 PSC Learning App

★
★
★
★
★
1M+ Downloads
Which component of the operating system handles the execution of processes and tasks ?

AFile system

BKernel

CShell

DDevice Driver

Answer:

B. Kernel

Read Explanation:

Process Management in Operating Systems

  • The Process Scheduler (or simply the Scheduler) is the core component within the operating system kernel responsible for the execution of processes.
  • Its primary function is to decide which process currently in the ready state will be allocated to the CPU for execution, ensuring efficient resource utilization.
  • Key Responsibilities:
    • Context Switching: Saving the state of the currently running process and loading the state of the next process to be executed.
    • Scheduling Algorithms: Implementing policies such as First-Come, First-Served (FCFS), Round Robin (RR), Shortest Job First (SJF), and Priority Scheduling to determine execution order.
    • Resource Allocation: Managing the CPU time so that multiple processes appear to run simultaneously (multitasking).
  • Relationship with the Kernel: The scheduler works closely with the Dispatcher, which is the module that actually gives control of the CPU to the process selected by the scheduler.
  • Types of Schedulers:
    • Long-term scheduler (Job scheduler): Determines which programs are admitted to the system for processing (loads jobs into memory).
    • Short-term scheduler (CPU scheduler): Highly frequent; decides which process in memory gets the CPU next.
    • Medium-term scheduler: Responsible for swapping processes in and out of the main memory (handling virtual memory and disk swapping).

Related Questions:

Name the computerised system which helps managers of big organisation for decisionmaking ?
ഇന്ത്യയിൽ വികസിപ്പിച്ചെടുത്ത സെർച്ച് എഞ്ചിൻ ഏതാണ് ?
Every operating system has a _____ which permanently resides in the main memory of the computer to perform some of the basic functions of the OS and to access other priorities of the OS only when they are needed.
താഴെ പറയുന്നതിൽ സെർച്ച് എൻജിൻ അല്ലാത്തത് ഏത് ?
Which operating system is developed by Apple ?