0% found this document useful (0 votes)
232 views

OS Lab Assignments (6-7)

The document describes two lab assignments for an operating systems course. The first assignment involves writing a program to simulate FCFS, SJF, priority, and RR CPU scheduling algorithms. The program will allow the user to input process details and select an algorithm to calculate waiting times. The second assignment requires an in-depth explanation of file system commands like touch, find, and umask as well as hard and symbolic links, file permissions, and the expr command.

Uploaded by

VaibhavGupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
232 views

OS Lab Assignments (6-7)

The document describes two lab assignments for an operating systems course. The first assignment involves writing a program to simulate FCFS, SJF, priority, and RR CPU scheduling algorithms. The program will allow the user to input process details and select an algorithm to calculate waiting times. The second assignment requires an in-depth explanation of file system commands like touch, find, and umask as well as hard and symbolic links, file permissions, and the expr command.

Uploaded by

VaibhavGupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

LAB Assignment No.

-6
Operating Systems
(UCS 303)
Write a program using C/C++/Java to simulate the FCFS, SJF (pre-emptive as well as
non-preemptive approach), priority scheduling and RR, CPU scheduling algorithms. The
scenario is: user may input n processes with respective CPU burst time and arrival time
(also take the priority number in case of priority scheduling). System will ask the user to
select the type of algorithm from the list mentioned above. System should display the
waiting time for each process, average waiting time for whole system, and final execution
sequence.

LAB Assignment No.-7


Operating Systems
(UCS 303)
In details explanation of the following commands and topics:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.

r/w/x permissions for directory.


touch command for modifying the access timings
find command
umask command
Hard link.
Symbolic links.
Directory and associated permissions.
Modification and access times.
Locating files.
expr Computational and String handling

By: Vinay Arora, CSED

You might also like