Operating Systems
Operating Systems
Course Objectives:
After successfully completing the course, students will be able to Provides insight to Operating general purpose computers, Overcome
challenges they face in real world use of computers. Understand how memory is managed. In different Operating Systems, Understands the
characteristics, on which choice of Operating Systems depends, understand how files and processes are managed on a computer.
Course Contents/Syllabus:
Weightage (%)
Module I: Introduction to operating system: 15
Operating system and function, Evolution of operating system, Batch, Interactive, multiprogramming, Time Sharing
and Real Time System, multiprocessor system, Distributed system, System protection. Operating System structure,
Operating System Services, System Program and calls.
Module II: Process Management
Process concept, State model, process scheduling, job and process synchronization, structure of process 25
management, Threads.
Interprocess Communication and Synchronization: Principle of Concurrency, Producer Consumer Problem,
Critical Section problem, Semaphores, Hardware Synchronization, Critical Regions, Conditional critical region,
Monitor, Inter Process Communication.
CPU Scheduling: Job scheduling functions, Process scheduling, Scheduling Algorithms, Non Preemptive and
preemptive Strategies, Algorithm Evaluation, Multiprocessor Scheduling.
Deadlock: System Deadlock Model, Deadlock Characterization, Methods for handling deadlock, Prevention
strategies, Avoidance and Detection, Recovery from deadlock combined approach.
LAB
.
1. Use of Basic UNIX Shell Commands/Linux Commands.
2. Commands related to inode, I/O redirection and piping, process control commands, mails
3. Shell Programming: Shell script exercises based on following:
(i) Interactive shell scripts
(ii) (ii) Positional parameters
(iii) Arithmetic
(iv) if-then-fi, if-then- else-fi, nested if-else
(v) Logical operators
(vi) else + if equals elif, case structure
(vii) while, until, for loops, use of break
4. Write a shell script that accept a file name starting and ending line numbers as arguments and display all the lines between given line no.
5. Write a shell script that delete all lines containing a specified word.
6. Write a shell script that displays a list of all the files in the current directory
75 25 100