Practical List -Operating System [ 4330703 ] [ PRACTICAL EXERCISES ] - Computer Bits Daily

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.
1
 

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

 

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.
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.
   
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”.
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”.
 
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
CREATE A SHELL SCRIPT TO READ AND DISPLAY THE CONTENT OF A FILE.
2
WRITE A SHELL SCRIPT TO APPEND CONTENT OF ONE FILE INTO ANOTHER.
3
CREATE A SHELL SCRIPT TO READ AND DISPLAY THE CONTENT OF A FILE. AND APPEND CONTENT OF ONE FILE TO ANOTHER
 
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.
   
Practical Outcome: Create a Shell script to add two numbers.
1
CREATE A SHELL SCRIPT TO ADD TWO NUMBERS.
2
WRITE A SHELL SCRIPT TO PERFORM ALL ARITHMETIC OPERATIONS. ( + , - , , ,% )
 
Use of if else
3
WRITE A SHELL SCRIPT TO FIND A MAXIMUM FROM THREE NUMBERS.
4
WRITE A SHELL SCRIPT TO FIND A MINIMUM FROM THREE NUMBERS.
                           

Post a Comment

0 Comments