You are on page 1of 20

CAP560

OPERATING SYSTEMS
Lecture #0

Dr. Amar Singh


Associate Professor,
Lovely Professional University
Course details
• LTP – 4 0 0 [Four lectures/week]

• Text Book
• OPERATING SYSTEMS CONCEPTS by A
SILBERSCHARTZ AND GALVIN, ADDISON-
WESLEY
Course Assessment Model
• Marks break up*
• Attendance 5
• CA (2 best out of 3 tests) 25
• MTE* 20
• ETE 50
• Total 100
• * Proposed:
• Three class tests – One before MTE, Two after MTE
The course contents
• Introduction to Operating System
• Process Management
• CPU Scheduling and Process Synchronization
• Deadlock
• Memory Management
• Protection and Disk Management
Course Outcomes
• CO1 :: describe the essential
elements of operating systems and
its types
•CO2 :: use the knowledge about
process management and memory
management in Operating System
•CO3 :: interpret the various ways to
improve the efficiency of system
and to use different scheduling
algorithms
Syllabus
Books
Why do we need an Operating
System?

Write a program to sort n


elements

Hardware (resource)
Dis
k
Input/
CPU Memory Output
Operating System Usage
• Hardware Abstraction
– Turns hardware into something that applications
can use.
• Resource Management
– Manage System’s Resources
A Simple Program
What is the output of following program?
A Simple Program
What is the output of following program?

How is the string displayed on the screen?


Displaying on the Screen
Operating System Provides
Abstraction
What is an Operating System?

– A program that acts as an intermediary between a


user of a computer and the computer hardware
– Defines an interface for the user to use services
provided by the system
– Creates an environment for the user
What is an Operating System?

Application

Shell

Operating
System

CPU Memory
Video Card Network
Monitor Disk Printer
Operating System As a Resource
Manager
• Multiple Apps but limited hardware
OS- Wake Up Call
OS- Wake Up Call

These instructions are called


Power on Self Test (POST)

It checks to make sure that


everything is functioning properly

It checks the CPU, Memory and


Basic Input Output system
(BIOS) for errors
OS- Wake Up Call

• Once successful, the software will begin to


activate the computer's disk drives.
• The BIOS attempts to access the first sector of
the drive designated as the boot disk.
• The BIOS confirms there's a bootstrap loader,
or boot loader, in that first sector of the boot
disk, and it loads that boot loader into
memory (RAM)

You might also like