• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 101 pages
Class notes

Operating System complete study notes

Document preview thumbnail
Preview 4 out of 101 pages

These operating system notes are designed to help student understand important concept in operating systems. They provide study material for student pursuing computer sciences , information technology, and related computing courses.

Content preview

KENYATTA UNIVERSITY

SCHOOL OF ENGINEERING AND TECHNOLOGY

COMPUTING & INFORMATION TECHNOLOGY DEPARTMENT


SCO217/231Operating System
Standard Notes




i

,Contents
CHAPTER 1: INTRODUCTION TO OPERATING SYSTEM............................................................. 5
Introduction to Operating system .............................................................................................................. 5
Operating Systems Terminology’s ...........................................................................................6
The History of Operating Systems ........................................................................................................ 7
Operating System Structure ...................................................................................................................... 9
Operating System ─ Types ............................................................................................................... 11
Operating System ─ Properties ..............................................................................................14
Job control .............................................................................................................................................18
CHAPTER 2: PROCESS MANAGEMENT ..........................................................................................20
Definition of a Process and terms ...........................................................................................................20
The Process Model...............................................................................................................................21
Process Levels ..................................................................................................................................21
Process States Life Cycle ................................................................................................................28
Inter-process communication .............................................................................................................30
Race Conditions ...............................................................................................................................30
Critical Section ..................................................................................................................................31
Mutual Exclusion ...............................................................................................................................31
Using Systems calls 'sleep' and 'wakeup' ......................................................................................33
Semaphore & Monitor ......................................................................................................................34
Process scheduling ..................................................................................................................................36
Definition ............................................................................................................................................36
Process Scheduling Queues ...........................................................................................................36
Process scheduling and Job scheduling ........................................................................................38
Schedulers.........................................................................................................................................39
Context Switch ..................................................................................................................................41
Process Scheduling Algorithms ......................................................................................................42
Deadlock ................................................................................................................................................45
Introduction........................................................................................................................................45
Deadlock Characterization ..............................................................................................................46
Resource-Allocation Graph .............................................................................................................46
Page 2 of 101

, Method for Handling Deadlock //Detection ....................................................................................48
Description of Error Diagnosis ............................................................................................................52
CHAPTER 3: MEMORY MANAGEMENT..........................................................................................54
Introduction to Memory management ................................................................................................54
Memory management Objective ....................................................................................................54
Memory management Concepts ........................................................................................................54
Static vs Dynamic Loading ..............................................................................................................55
Static vs Dynamic Linking ................................................................................................................56
Memory allocation technique ..............................................................................................................56
Contiguous Allocation ......................................................................................................................58
Paging ................................................................................................................................................59
Virtual Memory ......................................................................................................................................62
Basic Concept of virtual memory ....................................................................................................62
Demand Paging ................................................................................................................................64
Page Replacement Algorithm .........................................................................................................66
Segmented paging and Paged segmentation?.............................................................................69
CHAPTER 4: DEVICE (1/0) MANAGEMENT ....................................................................................74
Objectives of device (I/O) management ............................................................................................74
Principles of device (I/O) Hardware ....................................................................................................75
Device Controllers ............................................................................................................................76
Direct Memory Access (DMA) .........................................................................................................78
Principles of I/O Software ....................................................................................................................80
Goals of the I/O Software .................................................................................................................80
Introduction to I/O software .............................................................................................................81
Device Drivers ...................................................................................................................................82
Interrupt handlers .............................................................................................................................82
Device-Independent I/O Software ..................................................................................................83
User-Space I/O Software .................................................................................................................83
Kernel I/O Subsystem ......................................................................................................................83
Disks and disk operations ....................................................................................................................84
Overview of Mass-Storage Structure .............................................................................................84
Page 3 of 101

, Disk Structure ....................................................................................................................................86
Disk Performance Parameters........................................................................................................86
Disk Scheduling ................................................................................................................................87
Disk Management.............................................................................................................................89
Swap Space Management ..............................................................................................................89
Stable Storage Implementation ......................................................................................................90
Disk Reliability ...................................................................................................................................90
Summary ...........................................................................................................................................90
Computer clocking system ..................................................................................................................91
Introduction to system clocking .......................................................................................................91
The hardware and software clocks .................................................................................................91
Computer terminals ..............................................................................................................................92
Computer Terminal Hardware ........................................................................................................92
Summary .............................................................................................................................................93
Input/Output software.......................................................................................................................93
Virtual devices .......................................................................................................................................93
Objective of Virtual devices .............................................................................................................93
History of Virtual devices .................................................................................................................93
Virtual Device Types ........................................................................................................................94
CHAPTER 5: FILE MANAGEMENT ...................................................................................................96
File management ..................................................................................................................................96
File system ............................................................................................................................................96
File Concept ......................................................................................................................................96
File Structure .....................................................................................................................................96
File Attributes ....................................................................................................................................97
File Operations ..................................................................................................................................97
File Types – Name, Extension ........................................................................................................98
File Management Systems:.................................................................................................................98
File-System Mounting ....................................................................................................................... 100
File Access Mechanisms .................................................................................................................. 100
Space Allocation ................................................................................................................................ 100
Page 4 of 101

Document information

Uploaded on
November 25, 2026
Number of pages
101
Written in
2026/2027
Type
Class notes
Professor(s)
Dean sarah szanton
Contains
All classes
$22.39

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
16
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions