OPERATING SYSTEM LAB PRACTICAL FILE
INDEX
1. Installation Process of Various Operating Systems
2. CPU Scheduling Algorithms
3. Installation of Virtual Machine Software
4. MS-DOS Commands
5. Shell Programming
6. Banker's Algorithm for Deadlock Avoidance
Task 1: Installation Process of Various Operating Systems
Step 1: Insert Windows installation DVD or USB.
Step 2: Restart the system and boot from DVD/USB.
Step 3: Windows setup screen appears.
Step 4: Click Install Now.
Step 5: Accept license terms and click Next.
Step 6: Select partition and continue installation.
Step 7: Enter product key and settings.
Step 8: Complete installation and restart system.
Result: Operating system installed successfully.
Task 2: FCFS Scheduling Algorithm
Aim: To implement First Come First Serve scheduling.
FCFS executes processes in order of arrival.
Steps:
1. Input burst time of processes.
2. Calculate waiting time.
3. Calculate turnaround time.
4. Display average waiting time.
Result: FCFS scheduling implemented successfully.
Task 3: SJF Scheduling Algorithm
Aim: To implement Shortest Job First scheduling.
Processes with shortest burst time execute first.
Steps:
1. Enter arrival and burst time.
2. Sort processes by burst time.
3. Calculate waiting and turnaround time.
4. Display average values.
Result: SJF scheduling implemented successfully.
Task 4: Round Robin Scheduling
Aim: To implement Round Robin scheduling.
Each process gets fixed CPU time quantum.
Steps:
1. Enter processes and burst time.
2. Select time quantum.
3. Execute each process repeatedly.
4. Calculate waiting and turnaround time.
Result: Round Robin scheduling implemented successfully.
Task 5: Installation of VMware
Step 1: Open VMware setup.
Step 2: Click Next and accept license agreement.
Step 3: Choose installation location.
Step 4: Complete setup installation.
Step 5: Launch VMware Workstation.
Result: VMware installed successfully.
Task 6: MS-DOS Commands
1. dir - Display files and folders.
2. copy - Copy files.
3. del - Delete files.
4. move - Move files.
5. ren - Rename files.
Result: MS-DOS commands executed successfully.
Task 7: Banker's Algorithm
Aim: To study deadlock avoidance using Banker's Algorithm.
Steps:
1. Enter available resources.
2. Enter allocated and maximum resources.
3. Calculate need matrix.
4. Find safe sequence.
Result: Deadlock avoidance checked successfully.