CS3461 - OS Lab QP
CS3461 - OS Lab QP
Install any flavour 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)
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)
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)
b. Write a shell program to find the sum and average of four integers. (15)
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)
b. Write a Shell program to find the area and circumference of a circle. (15)
8. a. Give the appropriate UNIX command for creating a user file with specific
content and display the same. (15)
10. a. Use the appropriate UNIX command for printing the manual page of any
given specific command. (15)
12. a. Write the appropriate UNIX commands for printing the output to a terminal
and to print the processes running in a system. (15)
14. a. Write a shell program to find the sum of two numbers using function
programming (30)
b. Write a Shell program to check whether the given integer is prime or not.
(15)
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)
20. a. Write a Shell program to find the smallest digit from a number. (30)
22. Write a C program for implementing LOOK disk scheduling strategy. (100)
24. Write a C program for implementing SCAN disk scheduling strategy. (100)
26. a. Create two files and move them in to a directory named ‘dir1’ using the
desired UNIX commands. (15)