Professional Documents
Culture Documents
2
Dishonesty, Plagiarism
course
Pre-Requisites
Must have passed Data Structures
Familiar with programming C/C++
Books
Text Book:
◦ Operating System Concepts, 9th /10th Editon,
Silberschatz Galvin Gagne
Reference Books:
◦ Modern Operating Systems, 3rd Edition, Andrew S.
Tanenbaum
Tentative Evaluation Breakdown
Assignments 10
Quizzes 10
Projects 10
Mid Exam 25
CP 5
Final 40
Total 100
Computer System
1. Hardware
2. Operating system
3. Applications programs
4. Users
Computer System Layered Model
Computer System Layered Model
◦ Hardware – provides basic computing resources
CPU, memory, I/O devices
◦ Operating system
Controls and coordinates use of hardware among
various applications and users
◦ Application programs – define the ways in which
the system resources are used to solve the
computing problems of the users
Word processors, compilers, web browsers,
database systems, video games
◦ Users
People, machines, other computers
Purpose of a Computer System
synchronization, etc.
Deadlocks
Memory management
Virtual memory
File system
Secondary storage management
11
What is Operating System ?
Top Down View:
A program that acts as an intermediary between a user
of a computer and the computer hardware—provides the
user a simpler (virtual) machine to work with.
Bottom Up View:
A program that allocates and deallocates computer
system resources in an efficient, fair, and secure manner
—a resource manager
12
Operating System Goals
Execute user programs and make solving user
problems easier.
Make the computer system convenient to use.
Use the computer hardware in an efficient manner.
Types of Systems
Single User Systems
Batch Systems
Multiprogrammed Systems
Time Sharing Systems
Real Time Systems
14
Single User Systems
Personal computers – computer system dedicated
to a single user.
Interactive
User convenience and responsiveness
Individuals usually have sole use of computer and
15
Batch Systems
Why do we need Batch System:
Historical Perspective
16
Batch Systems
Reduce setup time by batching similar
jobs
A special program, the monitor, manages
Monitor
automatically transfers control
from one job to another.
17
Memory Layout
Multiprogrammed Systems
Reduce setup time by batching similar
jobs
A special program, the monitor, manages
Monitor
automatically transfers control
from one job to another.
19
Multiprogrammed Systems
Several processes/jobs
are kept in main memory
at the same time, and the
CPU is multiplexed
among them.
Multiprogrammed Systems
22
Time Sharing Systems
An interactive system with multiprogramming
23
Real Time Systems
Well-defined fixed-time constraints.
24