0% found this document useful (0 votes)
3 views8 pages

CS3461 SET 1 (1)

The document outlines the practical examination syllabus for the Operating Systems Laboratory course for B.E/B.Tech students in the fourth semester, scheduled for April/May 2025. It includes various programming tasks and UNIX commands related to operating systems, process management, scheduling algorithms, and file management, with a total of 26 questions. Each question is divided into parts, focusing on practical skills in C programming and shell scripting, with a maximum score of 100 marks per question.

Uploaded by

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

CS3461 SET 1 (1)

The document outlines the practical examination syllabus for the Operating Systems Laboratory course for B.E/B.Tech students in the fourth semester, scheduled for April/May 2025. It includes various programming tasks and UNIX commands related to operating systems, process management, scheduling algorithms, and file management, with a total of 26 questions. Each question is divided into parts, focusing on practical skills in C programming and shell scripting, with a maximum score of 100 marks per question.

Uploaded by

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

B.E/B.Tech.

PRACTICAL END SEMESTER EXAMINATIONS, APRIL/MAY2025


Fourth Semester

CS3461-OPERATINGSYSTEMSLABORATORY

(Regulations2021)

Time:3 Hours Answer anyone Question Max.Marks100

Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total


required/Procedure Program/Drawing & Results
20 30 30 10 10 100

1. a. Install any flavor of windows operating system on top of any bare metal by creating necessary
partitions for OS and user space. (80)
b. Create a directory on your own and include two files and list out the files that are present in that
directory using the necessary UNIX commands. (20)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

2. a. List out the number of lines, characters and words present in a file using the necessary UNIX
command. (15)
b.Create a process and print the process id of current process and its parent process. (15)
c. Write a C program for implementing an FCFS Scheduling algorithm by displaying process id,
average waiting time and average turnaround time. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

3. a. Find a specific file in a directory and print only the unique lines that are present in that file
using appropriate UNIX commands. (15)
b. Write a C program for identifying whether the process listed is a parent process or child
process using the necessary system calls. (15)
c. Write a C program for implementing an SJF Scheduling algorithm by displaying process id,
average waiting time and average turnaround time. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results

Page1of8
20 30 30 10 10 100

4. a. Using the appropriate UNIX Command check whether the remote host is responding well or
not. (15)
b. Write a Shell program to count the number of vowels in a line of text. (15)
c. Write a C program for implementing Inter process communication using shared memory
concept. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

5. a. Using the appropriate UNIX command print the last 10 lines of user specified file to standard
output. (15)
b.Write a shell program to find the sum and average of four integers. (15)
c.Write a C Program for simulating a dead lock detection model. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

6. a. Give the correct UNIX commands that display a list of users who are currently logged in to a
computer and which prints the calendar of the current month and year. (15)
b. Write a shell program to compute simple interest and compound interest. (15)
c. Write a C program for implementing Round Robin Scheduling algorithm. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

Page2of8
7. a. Using the desired UNIX command re-name a file of the user to a new name. (15)
b. Write a Shell program to find the area and circumference of a circle. (15)
c.Write a C program for implementing Priority Scheduling algorithm. (70)

Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total


required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

Page3of8
8. a. Give theappropriateUNIXcommandforcreatingauserfilewithspecificcontentanddisplay the same.
(15)
b.Write a C program illustrating the use of wait system call. (15)
c.Write a C program for implementing the semaphore synchronization tool. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

9. a.Write a Shell program to display student grades. (30)


b.Write a C program for implementing the concept of synchronization in threads. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

10. a. Use the appropriate UNIX command for printing the manual page of any given specific
command. (15)
b.Write a Shell program to generate Fibonacci series. (15)
c.Write a C program for implementing the concept of paging in memory management. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

11. a. Write the specific UNIX commands for listing the contents of the current directory and also
to remove the same directory. (15)
b.Write a Shell program to find the roots of a quadratic equation. (15)
c.Writea C program for implementing FIFO page replacement algorithm. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner


Page4of8
12. a. Write the appropriate UNIX commands for printing the output to a terminal and to print the
processes running in a system. (15)
b.Writeashellprogramtocheckwhetherthegivennumberispositiveornegative. (15)
c.Write a C program for implementing LRU page replacement algorithm. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

13. a.Write a shell script to display the digits which are in odd position in a given number. (30)
b.Write a C program for implementing Optimal page replacement algorithm. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

14. a. Write a shell program to find the sum of two numbers using function programming (30)
b.Write a shell program for implementing sequential file allocation strategy. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

15. a. Give the appropriate UNIX command for displaying the block number at the beginning of
each line. (15)
b.Write a Shell program to check whether the given integer is prime or not. (15)
c.Write a C program to implement Random file access technique. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner


Page5of8
16. a. Write the procedure and show the installation of any Linux flavor as a guest Operating
system on top of Windows operating system. (90)
b.Write the UNIX command needed for creating a directory. (10)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

17. Write a C program for implementing FCFS disk scheduling strategy. (100)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

18. Write a C program to implement SSTF disk scheduling strategy. (100)


Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

19. a.Give the UNIX command that forgetting information from the DNSserver. (15)
b.Write a Shellscript for calculating the area of a triangle. (15)
c.Write a C program for implementing BestFit allocation strategy. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner


Page6of8
20. a.Write a Shell program to find the smallest digit from a number. (30)
b.Write a C program for implementing Worst Fit allocation strategy. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

21. Write a C program to implement C-LOOK disk scheduling strategy. (100)


Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

22. Write a C program for implementing LOOK disk scheduling strategy. (100)

Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total


required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

Page7of8
23. a.Writeashellprogramtofindthesmallestnumberbetweentwonumbersusingfunction.(30)
b.Write a C program for implementing contiguous file allocation strategy. (70)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

24. Write a C program for implementing SCAN disk scheduling strategy. (100)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

25. Write a C program for implementing C-SCAN disk scheduling strategy. (100)
Aim/Principle/Apparatus Tabulation/Circuit/ Calculation Viva-Voce Record Total
required/Procedure Program/Drawing & Results
20 30 30 10 10 100

Internal Examiner External Examiner

26. a.Createtwofilesandmovethemintoadirectorynamed‘dir1’usingthedesiredUNIXcommands.
(15)
b.WriteaShellscriptforconvertingthetemperaturefromFahrenheitto Celsius. (15)
c.WriteaCprogramforimplementinglinkedfileallocationstrategy. (70)

Page8of8

You might also like