Skip to content
GK24
Computer AwarenessEasy

Which of the following is the core part of an operating system that always remains in main memory?

  1. A.Shell
  2. B.Kernel
  3. C.Compiler
  4. D.Loader

Correct answer

B. Kernel

Explanation

The correct answer is B, kernel. The kernel is the central part of the operating system and is the portion that is loaded at boot time and stays resident in main memory for as long as the computer is running. It controls the processor, allocates memory, manages files and drives the input and output devices, and every other program reaches the hardware through it.

Option A, the shell, is the outer layer of the operating system; it accepts the command typed by the user and passes it to the kernel, but it is not the core and need not always be resident. Option C, a compiler, is a language translator that converts a high level program into machine code; it is system software but not a part of the operating system core. Option D, a loader, is the program that places an executable file into main memory just before execution and then hands control to it, so it is a small utility and not the core.

Read the full article: Software and Operating Systems: Types, Functions and MCQs

View all
Q2.Computer AwarenessMedium

Which scheduling algorithm allots a fixed time slice to every process in rotation and is therefore used in time sharing systems?

  1. A.First Come First Served
  2. B.Shortest Job First
  3. C.Round Robin
  4. D.Priority scheduling
Show answer
Correct answer: C. Round Robin

In Round Robin scheduling every ready process is given the processor for a fixed period called the time quantum, and when that period expires the process is moved to the back of the queue and the next one is served.