Operating Systems-1-Introduction - Structure
Operating Systems-1-Introduction - Structure
Introduction
FBA
Course Outcome
● To understand the fundamental concepts of computer system organization and the
structure of operating systems.
● To explore various aspects of process management in operating system
● To know how different CPU scheduling algorithm works and their respective importance
● To develop practical knowledge on the concept of threads
● To inspect process synchronization mechanisms and deadlocks
● To be able to analyze the management of main and virtual memory
Marks Distribution
● Theory – 80%
○ Class participation – 5%
○ Take Home Exam – 5%
○ Quiz – 10% (n-1)
○ Mid – 25%
○ Final – 35%
● Lab – 20%
Operating Systems
"Actual” Introduction
FBA
What is an Operating System?
A program that acts as an intermediary
between a user of a computer and the computer hardware.
USER Application
( a program or application or interface)
Operating System
( a system software )
Hardware
( processor, monitor, keyboard etc. )
System Software Vs Application Software
System Software:
Application Software:
FBA
Components of a Computer System
Kernel
The one program running at all times.
● Kernel is the central module of an operating system
● Part of OS that loads first, and it remains in main memory.
● As small as possible
● Provide all the essential services required by other parts of the operating system and applications.
● Kernel code is usually loaded into a protected area of memory to prevent it from being overwritten.
Bootstrap Program
An initial program executed when a computer starts running.
FBA
Operating System Architecture
Single-Processor Systems
Multiprocessor Systems Clustered Systems
Operating System Architecture
Multiprogramming
Time Sharing System
● Job Scheduling
● CPU Scheduling
Operating Systems
OS Structure
FBA
Operating System Structure
Simple/Monolithic structure
Layered structure Microkernel structure
FBA
Operating System Services
● OS provides an environment for the execution of programs.
● Specific services provided, differ from one operating system to another, but there are some
common classes
● Services are provided for the convenience of the programmer
Operating Systems
System Call,
System Program,
System Boot
FBA
System Call
● System calls provide an interface to the services made available by an operating system.
● These calls are generally available as routines.
● Routines are written in C or C++. Some low level tasks are written in assembly language.