Y24 OS Handout New
Y24 OS Handout New
K L Deemed to be University
CSE-1 -- KLAZIZ
Course Handout
2025-2026, Odd Sem
Course Title :OPERATING SYSTEMS
Course Code :24CS2101A
L-T-P-S Structure : 4-1-2-0
Pre-requisite :
Credits :6
Course Coordinator :Sumalakshmi C H
Team of Instructors :
Teaching Associates :
Syllabus :CO1: Role, Purpose and Principles of Operating Systems: Basics: Operating System Functionalities (Universal operating system functions Example
concepts: a. Interfaces (process, user, device, etc), b. Persistence of data), Types of Operating Systems, general hardware and application-specificpurpose software
Operating system (Example concepts: Operating system as an abstract virtual machine via an API), specialized operating system functions (Example concepts:
Embedded systems, Server types suchas file, web, multimedia, boot loaders and boot security) Process Model: Processes, Process API code,Direct Execution.
Scheduling: CPU Scheduling, Multilevel Feedback, Lottery Scheduling, code,Multiprocessor Scheduling. CO2 Concurrency & Deadlocks: Concurrency and
Threads, Threads code,Thread API, Locks, Locked Data Structures, Condition Variables, Mutex, Common concurrency problems,emaphores, Monitors. Deadlock:
Prevention, Detection and Avoidance. CO3 Virtualization & MemoryManagement: Virtualization overview, Pros & Cons, Common Uses. Memory Virtualization:
AddressSpaces, Memory API, Address Translation, Segmentation, Free Space Management, Introduction to Paging,Translation Look Aside Buffer, Swapping,
Demand Paging, Thrashing, Page eplacement algorithms CO4:Advanced File system and Device Management: Persistence I/ O Devices, Device Management
Techniques,Hard Disk Drives, Redundant Disk Arrays (RAID), Files and Directories, File System Implementation,Distributed File Systems, Network File System
(NFS), InterProcess Communication, Data Integrity and Protection, Types of Allocating Devices, Dedicated Devices, Shared devices and Virtual devices. Real-time
and Embedded Systems, Fault Tolerance. CO5: Social, Ethical and Professional topics: Protection and Security: Goals of Protection, Principles of Protection,
Domain of Protection. The Security Problem,Program Threats, System and Network Threats.
Text Books :Silberschatz, Abraham, Galvin, Peter B., and Gagne, Greg. Operating System Concepts, 10thEdition, Wiley, 2018. Dhamdhere, D. M. Operating
Systems: A Concept-Based Approach, McGraw-HillEducation, 2009. Operating Systems: Three Easy Pieces Remzi H. Arpaci-Dusseau and Andrea
C.ArpaciDusseau,, May, (2014). Arpaci-Dusseau Books Operating system concepts essentials. Silberschatz,A., Galvin, P.B. and Gagne, G., John Wiley & Sons, Inc
Reference Books :The Design of the Unix Operating System Maurice J. Bach, 2013 PHI Publishing.Operating Systems: A Concept-based Approach D. M.
Dhamdhere 2E Tata McGraw-Hill Education.
Web Links :https://www.cse.iitb.ac.in/~mythili/os/ https://www.cse.iitd.ac.in/~sumantra/courses/os/os_pg.html https://cse.iitkgp.ac.in/~agupta/OS/
https://cse.iitkgp.ac.in/~bivasm/OS2016.html http://www.cse.iitd.ernet.in/os-ectures
MOOCS : :https://www.coursera.org/specializations/codio-introduction-operating-systems https://www.coursera.org/learn/os-power-user
https://www.coursera.org/learn/unix https://www.coursera.org/ learn/
Blooms
CO Taxonomy
Course Outcome (CO) PO/PSO
NO Level
(BTL)
CO1 Understanding the basic algorithms for the process and CPUScheduling, Operating Systems Basics PO4,PSO1,PO3 2
CO2 Apply Concurrency and different Lock Algorithms & SolveSynchronisation Problems PO3,PO4,PSO1 3
CO3 Understand memory, process virtualization, Paging and applyPage Replacement Algorithms. PO3,PO4,PSO1 3
Apply the knowledge of persistence concepts, Redundant diskarrays, File System Implementation,
CO4 PO3,PSO1,PO4 3
Inter-processCommunication and Distributed Systems. Apply DiskScheduling Algorithms.
CO5 Apply the knowledge of CPU Scheduling in Real TimeOperating Systems. PO3,PO4,PSO1 3
Analyse Unix System Calls. Use C Programming Language toimplement Operating System Concepts
CO6 PO2,PO3,PO4,PSO1 4
(Practicals)
Outcome Highest
COI-1 COI-2 COI-3 COI-4
No. BTL
Btl-2
Btl-1 Understanding thebasic algorithms
Btl-3
List the forprocess and
CO1 2 Problem Solving onCPU
OperatingSystemFunctionalities,Types CPUscheduling,Operating
SchedulingAlgorithms
of OperatingSystems. SystemsBasics,Functionalities,Types
of OperatingSystems
Btl-3
Btl-2 Btl-2
Apply algorithms forprocess and
UnderstandsVirtualizationoverview, UnderstandsVirtualizationoverview,
CO2 3 CPUscheduling,Operating
paging,Segmentation andTranslation paging,Segmentation andTranslation
SystemsBasics,Functionalities,Types
LookAside Buffer. LookAside Buffer.
of OperatingSystems
Btl-2 Btl-3
understand about theLocked Apply the Problemsolving
CO3 3
DataStructures, ConditionVariables, techniqueson Commonconcurrency
Mutex,Semaphores,Monitors problem
Btl-2 Btl-3
Understands DeadLocks, Applies Problem solving methods
CO4 3 RedundantDisk Arrays on Memory managements, File
(RAID),Redundant DiskArrays System Implementation and
(RAID), Filesand Directories Distributed systems
about:blank 1/15
17/08/2025, 23:04 about:blank
Btl-2 Btl-3
CO5 3 Understands theprinciples of apply the principlesof Real
RealTime OperatingSystems TimeOperating Systems
Btl-4
Analyze the basicMs Dos Com
UnixCommands,schedulingalg
CO6 4
memorymanagement andalloca
Pagereplacement,algorithms,D
DiskScheduling
T BOOK[1], CH 4.4–4.5,
p. 136–152; TBOOK ALM,End Semester Exam,Home
COI-
11 CO2 Common concurrency problems,Mutex [2],CH 5, p.200–207; Chalk,PPT,Talk Assignment,SEM-
2
TBOOK [3],Part II EXAM1,Tutorial
(CH26)
about:blank 2/15
17/08/2025, 23:04 about:blank
Book No[CH No][Page Teaching-Learning
Sess.No. CO COI Topic EvaluationComponents
No] Methods
ALM,ALM-CO2,End Semester
COI- T BOOK[1],CH 31, Exam,HA,MOOCs
15 CO2 Monitors implementation PPT
3 Pageno 341- 358 Certification,SEM-EXAM1,Skill
In-Sem Exam-I
ALM,End Semester
COI- Gate Problems-
18 CO2 Dead lock relatedproblems solving PPT Exam,HA,MOOCs Review,SEM-
3 InternetResources
EXAM1
ALM,End Semester
COI- Textbook[2]CH13 &14
19 CO3 VIRTUAL MEMORY, MEMORY MANAGEMENT PPT,Talk Exam,LCE,MOOCs
2 PG NO 109-127
Certification,SEM-EXAM2
ALM,End Semester
COI- Gate
22 CO3 Introduction to Paging PPT Exam,HA,MOOCs Review,SEM-
3 PreviousQuestionPapers
EXAM2
about:blank 3/15
17/08/2025, 23:04 about:blank
Book No[CH No][Page Teaching-Learning
Sess.No. CO COI Topic EvaluationComponents
No] Methods
SESSION NUMBER : 1
Session Outcome: 1 course handout, Introduction to UNIX OS, Operating system functionalities
SESSION NUMBER : 2
SESSION NUMBER : 3
SESSION NUMBER : 4
SESSION NUMBER : 5
SESSION NUMBER : 6
about:blank 4/15
17/08/2025, 23:04 about:blank
Session Outcome: 1 CPU Scheduling - II ( ROUND ROBIN)
SESSION NUMBER : 7
SESSION NUMBER : 8
Session Outcome: 1 CPU Scheduling - III (Lottery Scheduling,Multi level Feedback Scheduling)
SESSION NUMBER : 9
SESSION NUMBER : 10
SESSION NUMBER : 11
SESSION NUMBER : 12
SESSION NUMBER : 13
SESSION NUMBER : 14
SESSION NUMBER : 15
SESSION NUMBER : 16
about:blank 5/15
17/08/2025, 23:04 about:blank
50 Thrashing, Demand Paging 5 PPT Group Discussion
SESSION NUMBER : 17
SESSION NUMBER : 18
SESSION NUMBER : 19
SESSION NUMBER : 20
SESSION NUMBER : 21
SESSION NUMBER : 22
SESSION NUMBER : 23
SESSION NUMBER : 24
SESSION NUMBER : 25
SESSION NUMBER : 26
about:blank 6/15
17/08/2025, 23:04 about:blank
Teaching- Learning Active Learning
Time(min) Topic BTL
Methods Methods
50 Dead lock related problems solving 4 PPT Seminars
SESSION NUMBER : 27
SESSION NUMBER : 28
SESSION NUMBER : 29
SESSION NUMBER : 30
SESSION NUMBER : 31
SESSION NUMBER : 32
Session Outcome: 1 Types of Allocating Devices, Dedicated Devices, Shared devices and Virtual devices
SESSION NUMBER : 33
SESSION NUMBER : 34
SESSION NUMBER : 35
SESSION NUMBER : 36
about:blank 7/15
17/08/2025, 23:04 about:blank
Teaching- Learning Active Learning
Time(min) Topic BTL
Methods Methods
--- NOT
5 Attendance 1 Talk
APPLICABLE ---
--- NOT
35 Implementing Real Time Operating Systems 3 PPT
APPLICABLE ---
--- NOT
20 Summary 2 PPT
APPLICABLE ---
SESSION NUMBER : 37
SESSION NUMBER : 38
SESSION NUMBER : 39
Lab
session List of Experiments CO-Mapping
no
SESSION NUMBER : 1
SESSION NUMBER : 2
about:blank 8/15
17/08/2025, 23:04 about:blank
--- NOT
50 CPU Scheduling - II ( ROUND ROBIN) 3 LTC
APPLICABLE ---
SESSION NUMBER : 3
SESSION NUMBER : 4
SESSION NUMBER : 5
SESSION NUMBER : 6
SESSION NUMBER : 7
SESSION NUMBER : 8
SESSION NUMBER : 9
SESSION NUMBER : 10
SESSION NUMBER : 11
about:blank 9/15
17/08/2025, 23:04 about:blank
Practical Course DELIVERY Plan:
Tutorial
Session Topics CO-Mapping
no
Unix commands -- Man, Who, pwd etc Problem Description: Stanley wants to get started with terminal commands in
Linux. Help him out toper from the following set of statements: a. He wants to know the current directory that he is
1 CO6
working with, in the system. After identifying the current directory, he desires to create a folder called Marvel. b. Now, he
wants to list out all the Avengers of the “Marvel” universe. He adds the following set of Avengers to Avengers.txt:
UNIX FILE OPERATIONS AND SYSTEM CALLS 1. Write a C program that reads file.txt line by line and prints the
first 10-digit number in the given file (digits should be continuous), If not found then print the first 10 characters
2 CO6
excluding numbers. 2. Write a C program that saves 10 random numbers to a file, using your own “rand. h” header file
which contains your own random () function.
PROCESS API 1. write a program for implementing process management using the following system calls of the UNIX
3 operating system: fork, exec, getpid, exit, wait, close 2. To write a program for implementing Directory management CO6
using the following system calls of the UNIX operating system: opendir, readdir
Process Scheduling 1. Write a program for implementing process management using the following system calls of the
UNIX operating system: fork, exec, getpid, exit, wait, close. 2 T -series creates a text document (song.txt) that contains
the lyrics of a song. They want to know how many lines and words are present in the song.txt. They want to utilize Linux
4 CO6
directions and system calls to accomplish their objective. Help T -T-series to finish their task by utilizing a fork system
call. Print the number of lines in song.txt using the parent process and print the number of words in it using the child
process
Process Scheduling -II 1. Write a C program to implement the FCFS process scheduling algorithm. 2. Write a C program
5 to implement the SJF process scheduling algorithm. 3. Write a C program to implement the Round Robin process CO6
scheduling algorithm.
Virtualizing the CPU and Memory 1. write a C program to implement Dynamic Memory Allocation. 2. write a C program
to implement the Memory Management concept using the technique of Best fit algorithms. 3. write a C program to
6 CO6
implement the Memory Management concept using the technique worst fit algorithms. 4. write a C program to implement
the Memory Management concept using the technique of first fit algorithms.
Memory Management and Allocation Techniques 1. Write a C Program to implement the Memory Fixed Partitioning
7 Technique (MFT) algorithm. 2. Write a C program to implement the Memory Variable Partitioning Technique (MVT) CO6
algorithm.
PAGE REPLACEMENT TECHNIQUES - I 1. write a C program to implement the FIFO page replacement algorithm. 2.
8 CO6
write a C program to implement the LRU page replacement algorithm
PAGE REPLACEMENT ALGORITHMS - II REVISION 1. Write a C program to simulate Optimal page replacement
9 CO6
algorithms. 2. Write a C program to simulate LFU page replacement algorithms.
DEAD LOCKS 1. Write a C program to simulate the Bankers Algorithm for Deadlock Avoidance. 2. Write a C program
10 CO6
to simulate the Bankers Algorithm for Deadlock Prevention.
Concurrency 1. Write a C program to implement the Producer-Consumer problem. 2. Write a C program to implement the
11 CO6
Dining Philosopher problem
DISK SHEDULING ALGORITHMS 1. Write a C program to implement the FCFS Disk Scheduling Algorithm. 2. Write
12 a C program to implement the SCAN Disk scheduling algorithm. 3. Write a C program to implement the CSCAN Disk CO6
scheduling algorithm.
Inter Process Communication 1. Write a C program to implement IPC using shared memory. 2. Write a C program to
13 CO6
print numbers in a sequence using Thread Synchronization
File Organization 1. Write a C program to organize the file using single-level directory. 2. Write a C program to organize
14 CO6
the file using a level directory.
SHELL SCRIPTING 1. Write a Shell Script to accept a number and find Even or ODD 2. Write a Shell Script to find the
15 Factorial of a given number. 3. Write a Shell Script to find the Greatest of the given Three numbers. 4. Write a Shell CO6
Script to accept numbers and print sorted numbers.
SESSION NUMBER : 1
about:blank 10/15
17/08/2025, 23:04 about:blank
--- NOT
30 Shell Script 3 PPT
APPLICABLE ---
--- NOT
10 Summary & Conclusion 1 Talk
APPLICABLE ---
SESSION NUMBER : 2
SESSION NUMBER : 3
SESSION NUMBER : 4
SESSION NUMBER : 5
SESSION NUMBER : 6
SESSION NUMBER : 7
SESSION NUMBER : 8
Session Outcome: 1 PAGE REPLACEMENT TECHNIQUES - I 1. write a C program to implement the FIFO page replacement algorithm. 2. write a C program to
implement the LRU page replacement algorithm
SESSION NUMBER : 9
Session Outcome: 1 PAGE REPLACEMENT ALGORITHMS - II REVISION 1. Write a C program to simulate Optimal page replacement algorithms. 2. Write a C
program to simulate LFU page replacement algorithms.
SESSION NUMBER : 10
Session Outcome: 1 DEAD LOCKS 1. Write a C program to simulate the Bankers Algorithm for Deadlock Avoidance. 2. Write a C program to simulate the Bankers
Algorithm for Deadlock Prevention.
SESSION NUMBER : 11
Session Outcome: 1 Concurrency 1. Write a C program to implement the Producer-Consumer problem. 2. Write a C program to implement the Dining Philosopher
problem
SESSION NUMBER : 12
SESSION NUMBER : 13
Session Outcome: 1 Inter Process Communication 1. Write a C program to implement IPC using shared memory. 2. Write a C program to print numbers in a
sequence using Thread Synchronization
about:blank 12/15
17/08/2025, 23:04 about:blank
Teaching- Learning Active Learning
Time(min) Topic BTL
Methods Methods
--- NOT
10 Attendance 2 Talk
APPLICABLE ---
--- NOT
50 1. Write a C program to implement IPC using shared memory. 3 PPT
APPLICABLE ---
--- NOT
40 Viva, Summary & Conclusion 2 Talk
APPLICABLE ---
SESSION NUMBER : 14
Session Outcome: 1 File Organization 1. Write a C program to organize the file using single-level directory. 2. Write a C program to organize the file using a level
directory.
SESSION NUMBER : 15
Assignment
Week Assignment Type Topic Details co
No
Hour 1 2 3 4 5 6 7 8 9
Day Component
Theory --- --- --- H-S4 H-S5 H-S5 -- -- ---
Tutorial --- --- --- H-S3 -- -- -- -- ---
Mon
Lab --- --- --- -- -- -- H-S1 H-S1 ---
Skilling --- --- --- -- -- -- -- -- ---
Theory -- -- H-S4 -- -- -- H-S3 H-S3 ---
Tutorial -- -- -- -- -- -- -- -- ---
Tue
Lab H-S4 H-S4 H-S2 H-S2 H-S5 H-S5 H-S6 H-S6 ---
Skilling -- -- -- -- -- -- -- -- ---
Theory -- H-S6 --- --- H-S2 H-S2 H-S3 H-S3 ---
Tutorial H-S6 -- --- --- -- -- -- -- ---
Wed
Lab -- -- --- --- -- -- -- -- ---
Skilling -- -- --- --- -- -- -- -- ---
Theory H-S5 H-S5 H-S1 H-S1 --- --- --- --- ---
Tutorial H-S4 -- -- -- --- --- --- --- ---
Thu
Lab -- -- -- -- --- --- --- --- ---
Skilling -- -- -- -- --- --- --- --- ---
Theory H-S6 --- H-S2 H-S2 --- --- -- --- ---
Tutorial -- --- -- H-S5 --- --- H-S2 --- ---
Fri
Lab -- --- -- -- --- --- -- --- ---
Skilling -- --- -- -- --- --- -- --- ---
Sat Theory H-S1,H-S4,H-S6 H-S1,H-S4,H-S6 -- -- --- --- -- --- ---
Tutorial -- -- -- -- --- --- H-S1 --- ---
Lab -- -- H-S3 H-S3 --- --- -- --- ---
about:blank 13/15
17/08/2025, 23:04 about:blank
Skilling -- -- -- -- --- --- -- --- ---
Theory -- -- -- -- -- -- -- -- --
Tutorial -- -- -- -- -- -- -- -- --
Sun
Lab -- -- -- -- -- -- -- -- --
Skilling -- -- -- -- -- -- -- -- --
REMEDIAL CLASSES:
Supplement course handout, which may perhaps include special lectures and discussions that would be planned, and schedule notified according
SELF-LEARNING:
Content beyond syllabus covered (if any) should be delivered to all students that would be planned, and schedule notified accordingly.
S.no Advanced Topics, Additional Reading, Research papers and any CO ALM References/MOOCS
EVALUATION PLAN:
Evaluation Type Evaluation Component Weightage/Marks Assessment Dates Duration (Hours) CO1 CO2 CO3 CO4 CO5 CO6
End Semester Weightage 16 16
Lab End Semester Exam 180
Summative Max Marks 50 50
Evaluation Weightage 24 4.8 4.8 4.8 4.8 4.8
Total= 40 % End Semester Exam 180
Max Marks 100 20 20 20 20 20
Weightage 8 8
Continuous Evaluation - Lab Exercise 120
Max Marks 50 50
In Semester Weightage 6 1.2 1.2 1.2 1.2 1.2
Home Assignment and Textbook 120
Formative Max Marks 50 10 10 10 10 10
Evaluation Weightage 8 1.6 1.6 1.6 1.6 1.6
Total= 28 % Tutorial 120
Max Marks 50 10 10 10 10 10
Weightage 6 1.2 1.2 1.2 1.2 1.2
ALM 120
Max Marks 50 10 10 10 10 10
Weightage 6 6
Lab In Semester Exam 120
In Semester Max Marks 50 50
Summative Weightage 13 6.5 6.5
Semester in Exam-II 120
Evaluation Max Marks 50 25 25
Total= 32 %
Weightage 13 6.5 6.5
Semester in Exam-I 120
Max Marks 50 25 25
ATTENDANCE POLICY:
Every student is expected to be responsible for regularity of his/her attendance in class rooms and laboratories, to appear in scheduled tests and examinations and
fulfill all other tasks assigned to him/her in every course
In every course, student has to maintain a minimum of 85% attendance to be eligible for appearing in Semester end examination of the course, for cases of medical
issues and other unavoidable circumstances the students will be condoned if their attendance is between 75% to 85% in every course, subjected to submission of
medical certificates, medical case file and other needful documental proof to the concerned departments
DETENTION POLICY :
In any course, a student has to maintain a minimum of 85% attendance and In-Semester Examinations to be eligible for appearing to the Semester End Examination,
failing to fulfill these conditions will deem such student to have been detained in that course.
PLAGIARISM POLICY :
Supplement course handout, which may perhaps include special lectures and discussions
COURSE TEAM MEMBERS, CHAMBER CONSULTATION HOURS AND CHAMBER VENUE DETAILS:
Supplement course handout, which may perhaps include special lectures and discussions
Delivery Component Sections of Chamber Chamber Consultation Chamber Consultation Signature of
Name of Faculty
of Faculty Faculty Consultation Day (s) Timings for each day Room No: Course faculty:
Saidireddy
L 3-MA - - - -
Malgireddy
Saidireddy
P 4-MA,3-MA - - - -
Malgireddy
Saidireddy
T 4-MA,3-MA - - - -
Malgireddy
Sumalakshmi H L 2-MA,1-MA - - - -
about:blank 14/15
17/08/2025, 23:04 about:blank
Sumalakshmi H P 1-MA,2-MA - - - -
Sumalakshmi H T 1-MA,2-MA - - - -
Sasidhar Kothuru L 6-MA,5-MA - - - -
Sasidhar Kothuru P 5-MA,6-MA - - - -
Sasidhar Kothuru T 5-MA,6-MA - - - -
Narasimha K L L 4-MA - - - -
GENERAL INSTRUCTIONS
Students should come prepared for classes and carry the text book(s) or material(s) as prescribed by the Course Faculty to the class.
NOTICES
All notices concerning the course will be displayed on the respective Notice Boards.
(Sumalakshmi C H)
Department Of CSE-1
HEAD OF DEPARTMENT:
about:blank 15/15