INTRODUCTION TO OPERATING
SYSTEMS
Prerequisites
l COS 217: Introduction to Programming Systems
l COS 226: Algorithms and Data Structures
300-400 courses in systems
l COS318: Operating Systems
l COS320: Compiler Techniques
l COS333: Advanced Programming Techniques
l COS432: Information Security
l COS475: Computer Architecture
Courses needing COS318
l COS 461: Computer Networks
l COS 518: Advanced Operating Systems
l COS 561: Advanced Computer Network
, WHAT IS AN OPERATING SYSTEM
What is an Operating System? - A Detailed Explanation
An Operating System (OS) is the core software that manages computer hardware and
software resources, providing a bridge between users and the computer’s physical
components. It enables applications to run efficiently and provides various services such as
file management, memory management, process scheduling, and security.
1. The Role of an Operating System
At a fundamental level, an OS performs three main functions:
1. Resource Management – The OS controls and allocates system resources like
CPU, memory, storage, and input/output (I/O) devices.
2. Process Management – It manages running programs, ensuring fair CPU usage
and multitasking.
3. User Interface – It provides a way for users to interact with the system through a
command-line interface (CLI) or graphical user interface (GUI).
2. Key Components of an OS
Operating Systems are made up of several core components that ensure efficient operation:
A. Kernel
The kernel is the heart of the OS and runs in a privileged mode (kernel mode). It directly
interacts with hardware and performs essential tasks like:
● Process Management – Controls execution of programs.
● Memory Management – Allocates and deallocates memory.
● Device Management – Communicates with hardware devices via drivers.
● Interrupt Handling – Responds to hardware and software interrupts.
B. User Interface (UI)
The User Interface provides access to OS functionalities. There are two main types: