Professional Documents
Culture Documents
ii) MKDIR
8. a. Write a C program to implement first come first serve scheduling algorithm (40)
b. Execute the following commands in UNIX operating system (20)
i) close
ii) stat
10. a. Implement bankers algorithm for deadlock detection using C program (40)
b. Create a shell program to perform arithmetic operations (20)
c. Write the syntax and execute the following commands (20)
i) WHO
ii) MOVE
11. a. Implement least recently used page replacement algorithm using C program (40)
b. Explain the following system calls in UNIX operating system (20)
i) fork
ii) exec
c. Write the syntax and execute the following commands (20)
i) RMDIR
ii) CLEAR
14. a. Write a C program to implement best fit memory allocation method (40)
b. Create a shell program to perform arithmetic operations (20)
Page 3 of 4
15. a. Write a C program to implement Shortest Job First Scheduling algorithm (40)
b. Execute the following commands in UNIX operating system (20)
i) wait
ii) exit
16. a. Write a C program to implement first fit memory allocation method (40)
b. Write a C program to implement the UNIX commands ‘cp, ls, grep’ (20)
c. Write the syntax and execute the following commands (20)
i) MOVE
ii) WHO
17. a. Write a C program to implement worst fit memory allocation method (40)
b. Execute the following commands in UNIX operating system (20)
i) getpid
ii) close
c. Write the syntax and execute the following commands (20)
i) LS
ii) COPY
18. a. Implement Least Recently Used page replacement algorithm using C program (40)
b. Create a shell program to find the greatest among the given three numbers (20)
c. Write the syntax and execute the following commands (20)
i) PWD
ii) CD
20. a. Implement first come first serve page replacement algorithm using C program (40)
b. Explain the concept of looping using shell programming (20)
c. Write the syntax and execute the following commands (20)
i) LISTING DIRECTORY
ii) COPY
Page 4 of 4