ExamShortcut

Software & Operating Systems

🔒 Log in to track
medium importance⚡ 8 shortcuts4 subtopics
All subtopics·Subtopic 2 of 4

Operating system functions, types and booting

🔒 Log in to track
⏱ 4 min read🧩 6 question types🎯 19 practice Q
The idea in one minute

The operating system (OS) is system software. It manages the hardware and gives programs a place to run. It handles processes, memory, files, devices, security and the user screen. The kernel is its core. Booting is the start-up of the OS.

01

What an operating system is

The operating system (OS) manages all hardware and software. It gives applications a platform to run on. It is the first big program loaded, and it stays in memory until shutdown. Without an OS, the machine is only electronics.

02

The services an OS provides

ServiceWhat it does
Process managementDecides which waiting program gets the CPU next (scheduling)
Memory managementGives RAM to programs and takes it back. Virtual memory uses the disk as extra RAM
File managementFolders, names, saving and finding files through the file system
Device managementTalks to hardware through drivers
SecurityUsernames, passwords and permissions
User interfaceThe screen you work on: GUI (Windows) or command line (DOS)

The OS also handles errors, networking and resource allocation.

Tip: The six main services spell PMF-SUIE: Process, Memory, File, Security, User interface, Error handling.

03

Types of operating systems

TypeIdeaWhere you meet it
Single-user, single-taskOne user, one program at a timeOld MS-DOS
Single-user, multitaskingOne user, many programs at onceWindows on a PC
Multi-userMany users share one machineUNIX/Linux servers
MultiprogrammingSeveral programs sit in RAM. The CPU switches when one waits for input or outputServer systems
Time-sharingCPU time is cut into small slices shared among usersMainframes
Real-time (RTOS)Must answer within a fixed deadlineMissiles, robots, medical devices
DistributedMany networked machines act as oneData centres
EmbeddedA small OS built into a deviceWashing machine, router
MobileMade for smartphonesAndroid, iOS

Rule: In a real-time system, a late answer counts as a failure.

04

Kernel and shell

  • Kernel: the core of the OS. It always stays in memory. It does scheduling, memory work and device work.
  • Shell: the outer layer. It takes your commands and passes them to the kernel. It can be a CLI (typed commands) or a GUI (desktop).

Picture the kernel as the engine and the shell as the steering wheel.

05

Booting

Booting means starting the OS.

  • Cold boot: power on from the off state.
  • Warm boot: restart without cutting power.

The steps run in a fixed order.

  1. Power on. The CPU jumps to the BIOS/UEFI firmware.
  2. POST (Power-On Self-Test) checks the hardware.
  3. BIOS/UEFI finds the boot device.
  4. The boot loader loads the kernel into RAM.
  5. The OS takes charge and the login screen appears.

Watch: POST always comes first. The order is POST, boot loader, kernel, login.

06

Question types you will see

Each type: how to recognise it, the method step by step, and one question to try.

Type 1very common3 practice Q

OS service identification

How to spot it:

A job is described (giving RAM, choosing the next CPU task, managing folders, usernames) and the OS function is asked.

Method
  1. Find the object of the job: RAM, CPU, files, devices or users.

  2. Match it to its service in the table.

  3. Pick that service.

Why it works:

Each OS service handles exactly one kind of resource.

Try this

Giving RAM to each running program is the function of

Show solution
  1. The resource is RAM.

  2. The service that handles RAM is memory management.

Answer

Memory management

Type 2very common4 practice Q

OS type from the situation

How to spot it:

A scenario is given (missile guidance, many users on one server, a washing machine) and the OS type is asked.

Method
  1. Find the key word: deadline, many users, time slices, small device.

  2. Match it to the type table.

  3. Pick the matching type.

Why it works:

Every OS type has one signature situation.

Try this

An OS that must respond within a fixed deadline, as in missile guidance, is a

Show solution
  1. A fixed deadline is the key word.

  2. Late answers count as failure.

Answer

Real-time operating system (RTOS)

Type 3common2 practice Q

Kernel, shell and interface

How to spot it:

The core of the OS, the part that takes commands, or CLI versus GUI is asked.

Method
  1. Core that stays in memory means kernel.

  2. Part that takes your commands means shell.

  3. Typed commands mean CLI. Icons and windows mean GUI.

Why it works:

The kernel does the work. The shell only takes commands and passes them on.

Try this

The part of the OS that accepts your commands and passes them to the core is the

Show solution
  1. The core is the kernel.

  2. The layer that accepts commands is the shell.

Answer

Shell

Type 4common4 practice Q

Boot sequence, POST, cold and warm boot

How to spot it:

The first check at start-up, the order of boot steps, or restart without power-off is asked.

Method
  1. Recall the order: POST, boot loader, kernel, login.

  2. Cold boot means from off.

  3. Warm boot means restart without a power cut.

Why it works:

The boot order is fixed, so it can be learned as one chain.

Try this

Arrange in order: A. Boot loader B. POST C. Kernel loads D. Login screen

Show solution
  1. POST runs first.

  2. The boot loader comes next.

  3. It loads the kernel.

  4. The login screen appears last.

Answer

B, A, C, D

Type 5occasional

Multiprogramming, time-sharing and multitasking

How to spot it:

The question describes how the CPU is shared and asks for the name.

Method
  1. Check what is shared: RAM slots or CPU time.

  2. CPU switches when one program waits for I/O: multiprogramming.

  3. CPU time cut into slices among users: time-sharing.

Why it works:

The trigger for the switch decides the name.

Try this

An OS gives each user a small slice of CPU time in turn. This is called

Show solution
  1. Slices of CPU time are the key idea.

  2. That is time-sharing.

Answer

Time-sharing

Type 6occasional

Mobile operating systems

How to spot it:

A question asks which OS a phone uses, or which kernel Android is built on.

Method
  1. Recall Android is Linux-kernel based.

  2. Recall iOS belongs to Apple.

  3. Pick the option that fits.

Why it works:

Only two mobile names are usually asked.

Try this

Android is based on which kernel?

Show solution
  1. Android is a mobile OS.

  2. It is built on Linux.

Answer

The Linux kernel

07

Shortcuts that save time

⚡ PMF-SUIE services

The OS gives Process, Memory, File, Security, User interface and Error handling. A 'manage the machine' answer is OS work. Computing payroll is application work.

Example

Which OS service gives RAM to programs?

Show solution
  1. The question is about RAM.

  2. RAM work belongs to memory management.

Answer

Memory management

⚡ Boot words

Cold boot starts from a cold, switched-off machine. Warm boot restarts without a power cut. POST always comes first.

Example

Restarting a running computer is called

Show solution
  1. Power stays on.

  2. That is a warm boot.

Answer

Warm boot

08

Mistakes to avoid

Where most students lose marks on this subtopic.

Mistake 01

Mixing up multiprogramming and time-sharing.

Multiprogramming keeps many programs in RAM. Time-sharing gives each user a slice of CPU time.

Mistake 02

Saying the shell stays in memory as the OS core.

The kernel is the core that stays in memory. The shell is the interface.

Mistake 03

Putting the boot loader before POST.

The order is POST, boot loader, kernel, login.

Mistake 04

Calling a restart a cold boot.

A cold boot starts from power off. A restart is a warm boot.

Mistake 05

Thinking iOS runs on many brands of phone.

iOS is Apple's mobile OS. Android runs on the Linux kernel.

09

Quick revision

Read this the night before the exam.

  • Main services: process, memory, file, device, security, user interface.

  • Virtual memory uses the disk as extra RAM.

  • Multiprogramming = many programs in RAM. Time-sharing = CPU time slices. RTOS = fixed deadline.

  • Kernel = core, always in memory. Shell = interface (CLI or GUI).

  • Boot order: POST, boot loader, kernel, login.

  • Cold boot = from off. Warm boot = restart without power cut.

  • Android is based on the Linux kernel.

10

Practice: 19 questions

Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.

Topic test · 10 questions

Suggested time 5 min · wrong answers go to your mistake notebook automatically.