Assignmentoperating System
Assignmentoperating System
Signature: ……………….
Signature
REGISTRAR DIRECTOR
1|P a g e
Session: 2019–20
2|P a g e
Session: 2019–20
UNIT 1
Introduction: Concept of Operating Systems, Generations of Operating systems, Types of
Operating Systems, OS Services.
Processes: Definition, Process Relationship, Different states of a Process, Process State
transitions, Process Control Block (PCB), Context switching. Thread: Definition, Various states,
Benefits of threads, Types of threads, Multithreading.
Process Scheduling: Foundation and Scheduling objectives, Types of Schedulers, Scheduling
criteria: CPU utilization, Throughput, Turnaround Time, Waiting Time, Response Time;
Scheduling algorithms: Pre-emptive and Non-pre-emptive, FCFS, SJF, SRTF, RR Scheduling.
UNIT 2
Inter-process Communication: Critical Section, Race Conditions, Mutual Exclusion, The
Producer\ Consumer Problem, Semaphores, Event Counters, Monitors, Message Passing,
Classical IPC Problems: Reader’s & Writer Problem, Dinning Philosopher Problem etc.
Deadlocks: Definition, Necessary and sufficient conditions for Deadlock, Deadlock
Prevention, and Deadlock Avoidance: Banker’s algorithm, Deadlock detection and Recovery.
UNIT 3
Memory Management: Basic concept, Logical and Physical address map, Memory
allocation: Contiguous Memory allocation – Fixed and variable partition–Internal and External
fragmentation and Compaction; Paging: Principle of operation – Page allocation – Hardware
support for paging, Protection and sharing, Disadvantages of paging.
Virtual Memory: Basics of Virtual Memory – Hardware and control structures –
Locality of reference, Page fault, Working Set, Dirty page/Dirty bit – Demand paging, Page
Replacement algorithms: Optimal, First in First Out (FIFO), Optimal Page Replacement and
Least Recently used (LRU).
UNIT 4
3|P a g e
Session: 2019–20
File Management: Concept of File, Access methods, File types, File operation, Directory
structure, File System structure, Allocation methods (contiguous, linked, indexed), efficiency
and performance.
Disk Management: Disk structure, Disk scheduling - FCFS, SSTF, SCAN, C-SCAN, Disk
reliability, Disk formatting, Boot-block, Bad blocks. Case study on UNIX and WINDOWS
Operating System.
Text Books:
• Operating System Concepts by Silberchatz et al, 5th edition, 1998, Addison-Wesley.
• Modern Operating Systems by A. Tanenbaum, 1992, Prentice-Hall.
• Operating Systems Internals and Design Principles by William Stallings,4th edition, 2001,
Prentice Hall
Reference Books:
• Operating System By Peterson , 1985, AW. • Operating System By Milankovic, 1990, TMH.
• Operating System Incorporating With Unix & Windows By Colin Ritche, 1974, TMH.
• Operating Systems by Mandrik & Donovan, TMH • Operating Systems By Deitel, 1990, AWL.
• Operating Systems – Advanced Concepts By Mukesh Singhal , N.G. Shivaratri, 2003, T.M.H
4|P a g e
Session: 2019–20
FOCAL POINTS
1. Effort will be made to make the student conversant with the syllabus of the Subject & the
importance of the subject on the first day. Books on the subject available in the library & market
will be listed.
2. Effort will be made so that Student should remain present in the class mentally not physically.
Questions will be asked on the topic taught in the class & presence (attendance) will be given to
those students who will reply satisfactorily.
5|P a g e
Session: 2019–20
COURSE OBJECTIVE
COURSE OBJECTIVE-
The objective of this course is to study basic principles and role of operating system. In this
course students learnt about various CPU scheduling techniques , process management,
memory management techniques performed by operating system.
COURSE OUTCOMES (COS): At the end of the course, the student shall be able to:
METHODOLOGY-
i) The pedagogy will be lectures, assignments, and tests.
ii) Audio – Visual aids will be used during the course.
iii) Surprise tests and Quiz
iv) Industrial visits and seminars
EVALUATION-
Besides the semester end – examination, the students will be continuously assessed during the
course on the following basis:
i) Mid Term Examinations: 20 Marks
ii) Internal Assessment: 30 Marks
iii) Class Assesment: 25
iv) End Semester Examination: 75 Marks
Total: 150 Marks
6|P a g e
Session: 2019–20
Lesson Plan
Discipline : B.TECH
Semester : 4th
Subject : Principle of Operating System
Lesson Plan Duration : 15 Weeks
** Work Load (Lecture/Practical) per week (in hours): Lectures-03
Week Theory Practical
Lecture Topic Practical Topic
Day (including assignment/test) day
1st 1st Introduction to Operating System Introduction to UNIX
Concepts File System.
2nd Types of Operating Systems
3rd Types of Operating Systems
2nd 1st Types of Operating Systems File and Directory
2nd Various Operating system services, Related Commands in
Architecture UNIX.
3rd System programs and calls
7|P a g e
Session: 2019–20
8|P a g e
Session: 2019–20
9|P a g e
Session: 2019–20
10|P a g e
Session: 2019–20
ASSIGNMENT -1
11|P a g e
Session: 2019–20
ASSIGNMENT -2
Q5. Shortest Remaining Time first (SRT) process scheduling algorithm. Consider the arrival
times and execution times for the following processes calculate waiting time
Process Execution time Arrival time
P1 20 0
P2 25 15
P3 10 30
P4 15 45
12|P a g e
Session: 2019–20
ASSIGNMENT -3
Topics Covered: Page-Replacement Algorithms, Different types of files and their access
methods, Disk scheduling
13|P a g e
Session: 2019–20
ASSIGNMENT -4
Topics Covered: . Unix system call .,Windows architecture, Windows file system
14|P a g e
Session: 2019–20
15|P a g e
Session: 2019–20
16|P a g e
Session: 2019–20
17|P a g e
Session: 2019–20
18|P a g e
Session: 2019–20
19|P a g e
Session: 2019–20
20|P a g e
Session: 2019–20
Period of Record:-………………………………………………………………………….
Sessions:-…………………………………………………………………………………..
Assignments:-……………………………………………………………………………...
Studies discussed:-…………………………………………………………………………
Quizzes administered:-……………………………………………………………………..
Projects:-…………………………………………………………………………………...
21|P a g e
Session: 2019–20
REGISTRAR DIRECTOR
STUDENT FEED BACK FORM (Session 2019-2020)
22|P a g e
Session: 2019–20
TIME TABLE
Tuesday U
Wednesday N
Thursday
C
Friday
H
Saturday
23|P a g e