Operating System Lab Syllabus - BOS
Operating System Lab Syllabus - BOS
COURSE OVERVIEW:
Operating system provides a practical case of operating systems for the user to understand and master deeply and
tangibly the theory and algorithms in operating systems. It gives deeper insights into the hierarchical structure,
principles, applications, shells, development, and management of the operation system multi-dimensionally,
systematically and from the elementary to the profound. It makes the user to understand about how operating
system functions.
1. Provide the knowledge and skills required to understand Basics of UNIX Operating Environment
2. Describe process concepts and scheduling techniques.
3. Illustrate the use of different memory management techniques of operating system.
4. Describe the data structures and internal representation of files in operating system.
COURSEOUTCOMES(COs)
On successful completion of this course; the student shall be able to:
Page1
BLOOM’S LEVELOF THECOURSE OUTCOMES
Bloom’sLevel
CO# Remember Understand Apply Analyze Evaluate Create
(L1) (L2) (L3) (L4) (L5) (L6)
CO1
CO2
CO3
CO4
CO5
CO6
COURSE ARTICULATIONMATRIX
CO#/
PO10
PO11
PO12
PSO1
PSO2
PSO3
PO1
PO2
PO3
PO4
PO5
PO6
PO7
PO8
PO9
Pos
CO1 2 3 3
CO2 1 2 2 3 1
CO3 2 2 1 3 3
CO4 3 3 1 1 1 3
CO5 3 3 2 2 1 3
CO6 2 2 3 3 3
Note:1-Low,2-Medium,3-High PRACTICE:
PART A:
Tools and Expected Skill
No Title of the Experiment
Techniques /Ability
When the parent process creates a child process, child
process can perform any task assigned to it. During the
execution of child process, the parent process waits and
Process creation Programming with
1 vice versa.
using fork() C
Develop a program in C to create a child process to read
Commands from the standard input and execute them.
Page2
A policy is applied by a Scheduler to select a process for
execution when there is more than one process ready for
execution. The policy may be the process which arrives
first is executed first (First Come First Served-FCFS) or
the process which has shortest execution time
(Shortest Job First-SJF) amongst the set of processes is
executed first.
Develop a program in C to carry out the following tasks:
i) read a set of processes along with the CPU burst Programming with
3 Scheduling concept
C
time, arrival time (may be assumed as 0) and the
priority for each process
ii) allocate the processor to the process which has the
highest priority and
Page3
Given the list of processes and their CPU burst time,
arrival time, the Scheduler may apply a different policy
that “each process is given certain amount of execution
time called time slice or quantum time” and after
completion of time slice, another process in queue is taken
for execution. This procedure repeats until all the
processes in the list get executed for fixed amount of time.
Later, the first process in the queue is selected for the
execution once again. This process repeats until the
completion of execution of all the processes. This
technique is called Round Robin Technique.
Develop a program for carrying out the following tasks
4 Scheduling concept Programming with
i) read a set of processes along with the CPU burst time, C
arrival time (may be assumed as 0) and the time slice
or time quantum
ii) allocate the processor to the processes in the order of
their arrival based on arrival time and execute each of
them for fixed amount of time ( Time quantum).
iii) After completion of first round, if execution of
processes is not completed, repeat the step ii)
iv) compute the average waiting time and average
turnaround time
Page4
The Reader-Writer problem is a classic synchronization Programming with
6 problem in operating systems and concurrent Synchronization C
programming. It involves managing access to shared data Problem
among multiple readers and writers, ensuring that:
Page5
When a process with different size arrives to main
memory for loading, Find the frame which is larger than
the page arrived and store the page in that frame. This
strategy is termed as First fit memory allocation Memory Programming with
10 technique. management C
Develop a program in C to implement the First fit
memory allocation technique.
Page6