What is an Operating System? | DIT Semester 1 Notes

What is Operating System DIT Notes Hub
DIT Operating System 1.1 — What is an Operating System?
DIT • SEMESTER 1 • OPERATING SYSTEM • ARTICLE 1.1

What is an Operating System?

A modern, simple and exam-oriented guide to the Operating System: its basic concept, role as an interface, major functions, GUI, CLI and focused exam practice.

Unit 1Article 1.1Core ConceptsGUI & CLI7 Short3 Long15 MCQs

⚡ Quick Access

Jump directly to any part of Article 1.1.

1.1.1 Introduction

Understand the basic idea before memorizing.

A computer consists of different hardware components such as the CPU, memory, storage devices, keyboard, mouse, monitor and printer. Hardware is the physical part of a computer, but hardware alone cannot provide a complete working environment for the user.

A computer needs special software to control its hardware, manage its resources and provide an environment for running other programs. This special software is called an Operating System (OS).

The Operating System is one of the most important types of system software. It provides a connection between the user, application programs and computer hardware.

Formal Definition: An Operating System is a collection of system programs that manages computer hardware and software resources and provides services to application programs and users.

In very simple English: An Operating System is the main software of a computer that helps the user use the computer and manages its hardware and other software.

1.1.2 Operating System as an Interface

The OS works as a bridge between the user and hardware.

The word interface means a way of communication between two or more components. An Operating System acts as an interface between the user, application programs and computer hardware.

FIGURE 1 • SYSTEM ARCHITECTURE
The Operating System is the communication bridge
👤UserClicks, types & requests
▦ApplicationsWord • Browser • Media
OSOPERATING SYSTEMManages • Controls • Coordinates
⚙HardwareCPU • RAM • Storage • Devices
⇄Input / OutputKeyboard • Display • Printer
The OS receives requests from users and applications, then manages the required hardware resources.
USER
↓
APPLICATION PROGRAMS
↓
OPERATING SYSTEM
↓
COMPUTER HARDWARE

For example, when a student opens a document, the student does not directly control the hard disk. The Operating System communicates with the storage device, locates the required file, loads its data into memory and provides it to the application.

Example: Printing a Document

  1. The user opens the document.
  2. The application asks the Operating System to print it.
  3. The Operating System communicates with the printer.
  4. The OS sends the required information to the printer.
  5. The printer produces the document.
The user does not need to directly control the printer's internal hardware. This is why the OS can be understood as a bridge between users/applications and hardware.

Examples of Operating Systems

Microsoft Windows, Linux, macOS, Android, iOS and UNIX are examples of Operating Systems included in the supplied Unit-1 material.

1.1.3 Major Functions of an Operating System

These seven functions are important for exam preparation.

1. Process Management

Manages running programs or processes and allocates CPU time to them.

2. Memory Management

Manages main memory and allocates memory to running programs.

3. File Management

Organizes and manages files and folders stored on storage devices.

4. Device Management

Controls and coordinates input and output devices.

5. Security & Protection

Protects data and computer resources from unauthorized access.

6. User Interface

Provides a way for users to interact with the computer through GUI or CLI.

7. Resource Management

Manages and allocates resources such as CPU, memory, storage and devices.

FIGURE 2 • OS CONTROL CENTER
Seven major functions — one coordinated system
01ProcessCPU time & running programs
02MemoryRAM allocation & release
03FilesFiles, folders & storage
OSRESOURCE
CONTROL
Manage • Protect • Coordinate
04DevicesInput & output hardware
05SecurityAccess & protection
06User InterfaceGUI & CLI interaction
07ResourcesCPU, memory, storage & devices
Exam idea: the OS does not perform one job only; it coordinates several resource-management functions together.

Process Management

A process is a program that is currently running or being executed. If a browser, music player and word processor are running at the same time, the OS manages these processes and decides when each program should use the CPU.

Memory Management

The computer's main memory is commonly called RAM (Random Access Memory). Programs need memory while they are running. The OS decides which program gets memory, how much memory is allocated and when memory can be released.

File Management

A computer stores information in the form of files and folders. The OS helps create, open, save, delete, organize and find stored files and manages folders.

Device Management

Input devices include the keyboard, mouse, scanner and microphone. Output devices include the monitor, printer and speakers. The OS controls and coordinates these devices and commonly uses device drivers to communicate with hardware.

Security and Protection

An OS can provide security features such as user authentication, password protection, access control, file protection and protection of system resources. These features help protect data and resources from unauthorized access.

Resource Management

A computer has limited resources such as CPU, RAM, storage, input devices, output devices and network resources. The OS manages these resources and allocates them to programs and users.

1.1.4 User Interface — GUI and CLI

Two important ways of interacting with a computer.

FIGURE 3 • USER INTERFACE
Two ways to communicate with a computer
GUIGraphical User Interface
File Manager
📁Documents
🖼️Pictures
🗑️Recycle Bin
IconsMenusWindowsPointer
CLICommand Line Interface
$ open document.txt
$ list files
$ print report.pdf
_
CommandsKeyboardTextTerminal
GUI uses graphical elements; CLI uses typed commands. Both provide a way for the user to communicate with the computer.

GUI — Graphical User Interface

GUI stands for Graphical User Interface. It allows the user to interact with a computer using graphical elements such as icons, menus, windows, buttons and pointers.

For example, clicking the Recycle Bin, opening File Explorer or selecting an application through an icon are examples of graphical interaction.

CLI — Command Line Interface

CLI stands for Command Line Interface. In CLI, the user communicates with the computer by typing commands instead of clicking graphical objects.

GUICLI
Graphical User InterfaceCommand Line Interface
Uses icons and menusUses typed commands
Generally easier for beginnersRequires knowledge of commands
User can click graphical objectsUser types instructions

1.1.5 Quick Revision

Revise the whole article in a minute.

  • Operating System is system software.
  • It manages computer hardware and software resources.
  • It provides services to users and application programs.
  • It acts as an interface between users, applications and hardware.
  • Major functions are process, memory, file, device, security, user interface and resource management.
  • GUI uses graphical elements, while CLI uses typed commands.
Exam Focus: Learn the OS definition, its role as an interface, the seven major functions and the difference between GUI and CLI. These concepts form the foundation of Article 1.1.

Article 1.1 — 7 Short Questions & Answers

Tap any question to reveal its answer.

Q1. What is an Operating System?

An Operating System is system software that manages computer hardware and software resources and provides services to users and application programs.

Q2. Why is an Operating System important?

An Operating System is important because it manages computer resources, provides an environment for running application programs and makes the computer easier and more convenient to use.

Q3. What is the role of an Operating System?

The Operating System manages hardware and software resources and acts as an interface between users, application programs and computer hardware.

Q4. What is GUI?

GUI stands for Graphical User Interface. It allows users to interact with a computer through graphical elements such as icons, menus, windows, buttons and pointers.

Q5. What is CLI?

CLI stands for Command Line Interface. It is an interface in which the user interacts with the computer by typing commands.

Q6. What is Process Management?

Process Management is an OS function that manages running processes and allocates CPU time to them.

Q7. What is Memory Management?

Memory Management is the OS function that manages and allocates main memory to programs.

Article 1.1 — 3 Long Questions

Tap a question to expand the model answer.

Q1. Define an Operating System and explain its importance.

An Operating System is a collection of system programs that manages computer hardware and software resources.

It provides services to application programs and users.

It controls important resources such as the CPU, memory, storage and input/output devices.

It also provides an environment in which application programs can run.

The OS makes communication between users, applications and hardware easier.

It also provides facilities such as file management, security and user interaction.

Therefore, the Operating System is an essential part of a computer system.

Q2. Explain the Operating System as an interface between users, applications and hardware.

An Operating System acts as an interface or bridge between the user, application programs and computer hardware.

The user normally interacts with applications instead of directly controlling hardware.

When an application needs a hardware resource, it requests the required service from the OS.

The OS communicates with the appropriate hardware and manages the operation.

For example, when a document is printed, the application asks the OS to communicate with the printer.

The OS handles the required communication and sends the information to the device.

Thus, the OS makes computer hardware easier and more convenient for users and applications to use.

Q3. Explain the major functions of an Operating System.

The Operating System performs several important functions to manage a computer system.

Process Management manages running programs and allocates CPU time.

Memory Management manages and allocates main memory to programs.

File Management organizes and manages files and folders.

Device Management controls and coordinates input/output devices.

Security and Protection helps protect data and system resources from unauthorized access.

User Interface and Resource Management provide user interaction and manage resources such as CPU, memory, storage and devices.

Article 1.1 — 15 Important MCQs

All options are visible. Click “Show Answer” only when you are ready.

1. An Operating System is:
A) Hardware
B) System software
C) Application software
D) Programming language
Show Answer
Correct Answer: B) System software
2. An Operating System mainly acts as an interface between:
A) CPU and RAM
B) User, applications and hardware
C) Keyboard and mouse
D) Printer and monitor
Show Answer
Correct Answer: B) User, applications and hardware
3. Which of the following is an example of an Operating System?
A) Windows
B) MS Word
C) Photoshop
D) VLC
Show Answer
Correct Answer: A) Windows
4. Which OS function manages running programs?
A) File Management
B) Process Management
C) Security
D) Printing
Show Answer
Correct Answer: B) Process Management
5. Which OS function manages RAM?
A) Memory Management
B) File Management
C) Device Management
D) Security
Show Answer
Correct Answer: A) Memory Management
6. File Management is used to manage:
A) CPU cores
B) Files and folders
C) Keyboard keys
D) Screen brightness
Show Answer
Correct Answer: B) Files and folders
7. Device Management controls:
A) Input/output devices
B) Only files
C) Only software
D) Only folders
Show Answer
Correct Answer: A) Input/output devices
8. GUI stands for:
A) General User Input
B) Graphical User Interface
C) Graphic Utility Internet
D) General Utility Interface
Show Answer
Correct Answer: B) Graphical User Interface
9. GUI mainly uses:
A) Typed commands
B) Icons and menus
C) CPU registers
D) Hard disk sectors
Show Answer
Correct Answer: B) Icons and menus
10. CLI stands for:
A) Command Line Interface
B) Computer Line Input
C) Control Logic Interface
D) Common Link Interface
Show Answer
Correct Answer: A) Command Line Interface
11. In CLI, users normally:
A) Type commands
B) Draw icons
C) Print documents
D) Change hardware
Show Answer
Correct Answer: A) Type commands
12. OS security protects:
A) Data and resources
B) Wallpaper only
C) Keyboard color
D) Mouse shape
Show Answer
Correct Answer: A) Data and resources
13. Which is a computer resource?
A) CPU
B) Memory
C) Storage
D) All of these
Show Answer
Correct Answer: D) All of these
14. The OS provides an environment for:
A) Running application programs
B) Manufacturing hardware
C) Producing electricity
D) Printing only
Show Answer
Correct Answer: A) Running application programs
15. Which interface normally uses typed commands?
A) GUI
B) CLI
C) Desktop
D) File Manager
Show Answer
Correct Answer: B) CLI

Final Exam Reminder

Keep your Article 1.1 preparation focused.

For Article 1.1, first understand the definition of an Operating System, its role as an interface, the seven major functions, and the difference between GUI and CLI. Then practise the 7 short questions, 3 long questions and 15 MCQs.

No comments