Lec1 CS604
Lec1 CS604
Lecture 1
Agenda for Today
Introduction and purpose of the course
Organization of a computer system
Purpose of a computer system—setting
the stage for OS concepts and principles
Outline of topics to be discussed in the
course
What is an operating system?
Recap of the lecture
July 12, 2024 © Copyright Virtual University of
Pakistan
Computer System
1. Hardware
2. Operating system
3. Applications programs
4. Users
Processor
System Bus
HD
Mem
Bus
Directorystructure
Browsing directory structure
Useful commands
library)
Sample code
Swapping
External fragmentation
Paging
Internal fragmentation
July 12, 2024 © Copyright Virtual University of
Pakistan
Memory Management …
Performance of paging
Protection and sharing
Page table issues: Multi-level paging,
Hashed page tables, Inverted page tables
Segmentation
Protection and sharing
Segmentation with paging
Intel P4 example
Page fault
Page replacement
Allocation of frames
Thrashing
Operating-system examples
Lecture 1