Operating System [ DI03000041 ] Practical with Solutions | OS Lab Programs for CSE Students

Practical Outcome: Compare windows and Linux OS. (latest version)
1 Compare windows and Linux OS. (latest version)
 
Practical Outcome: Solve below given example with SJF, FCFS and Round robin algorithm. Draw Gantt chart. Time quantum = 2
1
Process Scheduling algorithms Calculator (FCFS, SJF, SRTN, RR): Click to View
2
Process Arrival Time (AT) Burst Time (ET) Priority
P0 0 5 2
P1 1 3 1 (Highest)
P2 2 8 3
P3 3 6 2

Priority Process Scheduling Algorithm: Click to View
 

Practical Outcome: Process requests are given as: 25 K , 50 K , 100 K , 75 K

Solve above example using following algorithms:

1. First fit

2. Best fit

3. Worst fit

Memory Allocation: First Fit vs. Best Fit vs. Worst Fit Explained - Click To learn More
 

Practical Outcome: Page replacement algorithms

1
First in First out (FIFO) - Consider page reference string 1, 3, 0, 3, 5, 6, 3 with 3 page frames. Find the number of page faults.
Page Replacement Algorithms (FIFO vs. LRU) Explained
2
Least Recently Used – Consider the page reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2 with 4 page frames. Find number of page faults.
Page Replacement Algorithms (FIFO vs. LRU) Explained
   
Practical Outcome: Disk Scheduling Algorithms
1
Scan: Suppose the requests to be addressed are- 82,170,43,140,24,16,190. And the Read/Write arm is at 50, and it is also given that the disk arm should move “towards the larger value”.Disk Scheduling with SCAN vs. C-SCAN - Click To Learn More
2
CScan: Suppose the requests to be addressed are- 82,170,43,140,24,16,190. And the Read/Write arm is at 50, and it is also given that the disk arm should move “towards the larger value”. Disk Scheduling with SCAN vs. C-SCAN - Click To Learn More
 
Practical Outcome: Test and run basic unix commands.
1
2
3
Practical Outcome:Test and run Advanced unix commands.
1
2
3
LINUX COMMAND : EXPR, TEE, SET
4
LINUX ADVANCED COMMAND : DF, FIND, WHEREIS, SERVICE, MOUNT, GCC, G++
 
Practical Outcome: Test commands related with File editing with Vi, Vim, gedit, gcc.
   
Practical Outcome: Create a shell script to read from command line and print “Hello”.
1
2
CREATE A SHELL SCRIPT TO READ FROM COMMAND LINE AND PRINT “HELLO”.
3
CREATE A SHELL SCRIPT TO READ NAME AND ROLL NUMBER FROM COMMAND LINE AND PRINT.
4
WRITE A SHELL SCRIPT TO DISPLAY WELCOME MESSAGE TO THE USER, PRINT THE USER’S HOME DIRECTORY WITH DATE AND TIME OF USER LOGIN.
 
Practical Outcome: Create a Shell script to read and display content of a file. And append content of one file to another
1
2
3
 
Practical Outcome: Create a Shell script to accept a string in lower case letters from a user, & convert to upper case letters.
1 CREATE A SHELL SCRIPT TO ACCEPT A STRING IN LOWER CASE LETTERS FROM A USER, AND CONVERT TO UPPER CASE LETTERS. - Click For Solution
   
Practical Outcome: Create a Shell script to add two numbers.
1
2
 
Use of if else
3
4
                           

Post a Comment

0 Comments