Sie sind auf Seite 1von 4

Lovely Professional University, Punjab

Course Code

Course Title

Course Planner

Lectures

Tutorials

Practicals

Credits

CSE325

OPERATING SYSTEMS LABORATORY

15359::Baljit Singh Saini

0.0

0.0

2.0

1.0

Course Category

NA

 

TextBooks

Sr No

Title

Author

Edition

Year

Publisher Name

T-1

Operating System Concepts

Abraham Silberschatz, Galvin

8th

2010

Wiley-India, New Delhi

 

Reference Books

   

Sr No

Title

Author

Edition

Year

Publisher Name

R-1

Begining Linux Programming

Neil Mathew & Richard Stones

4th

2011

Wiley-India, New Delhi

R-2

Advanced Programming in the UNIX Environment

W.Richard Stevens and Stephen A. Rago

2nd

2011

Pearson

R-3

Modern Operating System

Andrew S. Tanenbaum

3rd

2005

PHI (Pretice Hall India)

R-4

UNIX System Programming Using C ++,

Terrence Chan

1st

1999

Prentice Hall of India

Other Reading

Sr No

Journals articles as Compulsary reading (specific articles, complete reference)

 

OR-1

http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-828-operating-system-engineering-fall-2006/lecture-notes/l1.pdf ,

OR-2

http://nptel.iitm.ac.in/courses/Webcourse-contents/IISc-BANG/Operating%20Systems/pdf/Lecture_Notes/Mod%201_LN.pdf ,

OR-3

http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-828-operating-system-engineering-fall-2006/lecture-notes/l3.pdf ,

OR-4

http://nptel.iitm.ac.in/courses/Webcourse-contents/IISc-BANG/Operating%20Systems/pdf/Lecture_Notes/Mod%202_LN.pdf ,

OR-5

http://nptel.iitm.ac.in/courses/Webcourse-contents/IISc-BANG/Operating%20Systems/pdf/Lecture_Notes/Mod%203_LN.pdf ,

OR-6

http://nptel.iitm.ac.in/courses/Webcourse-contents/IISc-BANG/Operating%20Systems/pdf/Lecture_Notes/Mod%204_LN.pdf ,

OR-7

http://nptel.iitm.ac.in/courses/Webcourse-contents/IISc-BANG/Operating%20Systems/pdf/Lecture_Notes/Mod%208_LN.pdf ,

OR-8

http://anale-informatica.tibiscus.ro/download/lucrari/8-2-02-Opeyemi.pdf ,

 

OR-9

http://www.doaj.org/doaj?func=abstract&id=695328&q1=system%20call&f1=all&b1=and&q2=&f2=all&recNo=2&uiLanguage=en ,

OR-10

www.softlookup.com/tutorial/os.asp ,

Relevant Websites

Sr No

(Web address) (only if relevant to the course)

Salient Features

RW-1

http://academic.research.microsoft.com/Keyword/44295/virtual-memory

Discussed Virtual Memory

RW-2

http://static.usenix.org/events/hotos11/tech/final_files/Kuz.pdf

Multicore OS benchmarks

RW-3

http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html

Information and Sample program of Thread

Scheme for CA:

Component

Frequency

Out Of

Each Marks

Total Marks

Lab evaluation

8

10

10

80

 

Total :-

10

80

*Each experiment of the lab will be evaluated using following relative scheme:

Component

% of Marks

Performance

100

Detailed Plan For Practicals

Practical No

Broad topic (Subtopic)

Practical Description

Learning Outcomes

Equipment Used

Practical 1

Process creation and threading(Creating processes)

Write a program to duplicate a process.

Student will be able to create and duplicate processes

PC/Linux environment

Process creation and threading(Process duplication using fork())

Write a program to create two child processes

Student will be able to create and duplicate processes

PC/Linux environment

Practical 2

Process creation and threading(Creating threads using pthread)

Write a program of cancelling a thread

Student will be able to create threads for a process and perform different functions from same process

PC/Linux environment

Process creation and threading(Creating Threads)

Write a program of creating a thread

Student will be able to create threads for a process and perform different functions from same process

PC/Linux environment

Practical 3

Simulation of scheduling algorithms (Simulating first come first serve scheduling algorithm)

Program to print the average waiting time and average turnaround time using first come first serve algorithm

Student learns which scheduling algorithm is best

PC/Linux environment

Simulation of scheduling algorithms (Simulating shortest job first scheduling algorithm)

Program to print the average waiting time and average turnaround time using shortest job first algorithm

Student learns which scheduling algorithm is best

PC/Linux environment

Practical 4

Simulation of scheduling algorithms (Simulating priority scheduling algorithm)

Program to print the average waiting time and average turnaround time using priority scheduling algorithm

Student learns which scheduling algorithm is best

PC/Linux environment

Simulation of scheduling algorithms (Simulating round robin scheduling algorithm)

Program to print the average waiting time and average turnaround time using round robin algorithm

Student learns which scheduling algorithm is best

PC/Linux environment

Practical 5

Process creation and threading (Environment list)

Write a program to show the use of environment list

Student will be able to work on environment list

PC/Linux environment

Process creation and threading(setjmp, longjmp, getrlimit and setrlimit functions)

Write a program showing the use of setrlimit and getrlimit functions

Student will be able to understand the concept of getrlimit and setrlimit

PC/Linux environment

Practical 6

Process creation and threading (Environment variables)

1.

Write a program making use of

Student will be able to use environment variables

PC/Linux environment

environment variables in lecture 6.

 

2.

Test in practical 7 of topics covered till

 

practical 6

Practical 7

Process creation and threading (Environment variables)

1.

Write a program making use of

Student will be able to use environment variables

PC/Linux environment

environment variables in lecture 6.

 

2.

Test in practical 7 of topics covered till

 

practical 6

Practical 8

Simulation of deadlock related algorithms (Simulation dead lock avoidance using banker's algorithm)

Write a program to simulate deadlock detection

Student learns how deadlock can be prevented in a system

PC/Linux environment

Simulation of deadlock related algorithms (To create deadlock using files)

Write a program to create deadlock.

Student learns about how deadlock gets created and hence hoe to avoid it

PC/Linux environment

Practical 9

Simulation of disk management algorithms(Simulating first come first serve algorithm)

Write a program to simulate first come first serve disk scheduling algorithm

Student learns which disk scheduling algorithm is best

PC/Linux environment

Simulation of disk management algorithms(Simulating shortest seek time first algorithm)

Write a program to simulate shortest seek time first disk scheduling algorithm

Student learns which disk scheduling algorithm is best

PC/Linux environment

Practical 10

Simulation of disk management algorithms(Simulating SCAN algorithm)

Write a program to simulate SCAN disk scheduling algorithm

Student learns which disk scheduling algorithm is best

PC/Linux environment

Simulation of page replacement algorithms(Simulating least recently used algorithm)

Write a program to simulate page replacement algorithms like least recently used

Student learns which page replacement algorithm is best

PC/Linux environment

Practical 11

Simulation of page replacement algorithms(Simulating first in first out algorithm)

Write a program to simulate page replacement algorithms like first in first out

Student learns which page replacement algorithm is best

PC/Linux environment

Simulation of page replacement algorithms(Simulating optimal page replacement algorithm)

Write a program to simulate page replacement algorithms like optimal page replacement

Student learns which page replacement algorithm is best

PC/Linux environment

Practical 12

Shared Memory(Programs on memory management: shared memory)

Write a program to show inter process communication using shared memory.

Students learns how processes communicate

PC/Linux environment

Shared Memory(Programs on memory management: message passing)

Write a program to show inter process communication using message passing

Students learns how processes communicate

PC/Linux environment

Practical 13

Inter-process communication(Stream pipes, passing file descriptors)

Write a program to create a pipe to pass data from parent to child process.

Students learns how processes communicate

PC/Linux environment

Inter-process communication(Pipes, popen and pclose functions)

1.

Write a program to show the use of

Students learns how processes communicate

PC/Linux environment

popen and pclose functions.

 

2.

Test in practical 14 of topics covered

 

till practical 13

Practical 14

Inter-process communication(Pipes, popen and pclose functions)

1.

Write a program to show the use of

Students learns how processes communicate

PC/Linux environment

popen and pclose functions.

 

2.

Test in practical 14 of topics covered

 

till practical 13

 

SPILL OVER

Practical 15

 

Spill Over