Professional Documents
Culture Documents
Lecture 1 OS
Lecture 1 OS
Lecture 1
by
Nazia Shahzadi
nazia.shahzadi@giki.edu.pk
Lecturer (FCSE)
Ghulam Ishaq Khan Institute,
Topi, KPK, Pakistan
Operating System Concepts – 9th Edition 1.1 Silberschatz, Galvin and Gagne
Office Hours
Operating System Concepts – 9th Edition 1.2 Silberschatz, Galvin and Gagne
Reference Books
Operating System Concepts – 9th Edition 1.3 Silberschatz, Galvin and Gagne
Outline
• What is an Operating System?
• Goals of an Operating System
• Computer System Structure
• Four Components of a Computer System
• What Operating Systems Do
• Types of Operating System
• History of Operating system
• Operating System Definition
• Computer Startup
• Computer System Organization
• Storage-Device Hierarchy
• Caching
Operating System Concepts – 9th Edition 1.4 Silberschatz, Galvin and Gagne
Lecture 1
Introduction
systems
environments
Operating System Concepts – 9th Edition 1.6 Silberschatz, Galvin and Gagne
Know any OS names?
Source: https://hackweser.blogspot.com/2018/02/list-of-operating-systems.html
Operating System Concepts – 9th Edition 1.7 Silberschatz, Galvin and Gagne
What is an Operating System?
• A program that acts as an intermediary between a user of a
computer and the computer hardware
• OS manages the computer’s hardware
Operating System Concepts – 9th Edition 1.8 Silberschatz, Galvin and Gagne
Goals of an Operating System
Operating System Concepts – 9th Edition 1.9 Silberschatz, Galvin and Gagne
Computer System Structure
Operating System Concepts – 9th Edition 1.10 Silberschatz, Galvin and Gagne
Four Components of a Computer System
Operating System Concepts – 9th Edition 1.11 Silberschatz, Galvin and Gagne
What Operating Systems Do
Depends on the point of view
Users want convenience, ease of use
Don’t care about resource utilization
But shared computer such as minicomputer must keep all users happy
Users of dedicate systems such as workstations have dedicated resources but
frequently use shared resources from servers
Handheld computers are resource poor, optimized for usability and battery life
Some computers have little or no user interface, such as embedded computers in
devices and automobiles
Operating System Concepts – 9th Edition 1.12 Silberschatz, Galvin and Gagne
Types of Operating System
Operating System Concepts – 9th Edition 1.13 Silberschatz, Galvin and Gagne
History of Operating system
Types of
Generation Year Electronic device used
Hardware Device
Operating System Concepts – 9th Edition 1.14 Silberschatz, Galvin and Gagne
Computer Startup
• Bootstrap program is loaded at power-up.
• Power ON.
• CPU will move to BIOS (Basic Input Output System) into ROM. BIOS
helps the computer to load the OS.
• POST (Power-on Self-Test) where all the hardware devices are tested.
• BIOS will load MBR (Master Boot Record) to RAM.
• MBR will load the bootloader in RAM.
• Bootloader will load OS to RAM.
Operating System Concepts – 9th Edition 1.15 Silberschatz, Galvin and Gagne
Computer System Organization
• Computer-system operation
• One or more CPUs, device controllers connect through common
bus providing access to shared memory
• Concurrent execution of CPUs and devices.
Operating System Concepts – 9th Edition 1.16 Silberschatz, Galvin and Gagne
Storage-Device Hierarchy
Operating System Concepts – 9th Edition 1.17 Silberschatz, Galvin and Gagne
Caching
• Information in use copied from slower to faster storage
temporarily
• Faster storage (cache) checked first to determine if the
information is there
• If it is, information used directly from the cache (fast)
• If not, data is copied to the cache and used there
Operating System Concepts – 9th Edition 1.18 Silberschatz, Galvin and Gagne
Computer-System Architecture
• Most systems use a single general-purpose processor
• Most systems have special-purpose processors as well
Operating System Concepts – 9th Edition 1.19 Silberschatz, Galvin and Gagne
Assignment for Next Lecture
Operating System Concepts – 9th Edition 1.20 Silberschatz, Galvin and Gagne
End