You are on page 1of 4

Page 1 of 4

1. a. Write a C program to implement priority scheduling algorithm (40)


b. Create a shell program to perform arithmetic operations (20)
c. Write the syntax and execute the following commands (20)
i) WHO AM I
ii) MAN

2. a. Write a C program to implement first round robin scheduling algorithm (40)


b. Write a shell program to find the sum of n numbers (20)
c. Write the syntax and execute the following commands (20)
i) PWD
ii) CD

3. a. Write a C program to implement producer-consumer problem using semaphore


concept (40)
b. Execute the following commands in UNIX operating system (20)
i) fork
ii) exec
c. Write the syntax and execute the following commands (20)
i) CAT
ii) MKDIR
4. a. Write a program to implement sequential data allocation. (40)
b. Create a shell program to perform arithmetic operations (20)
c. Write the syntax and execute the following commands (20)
i) RMDIR
ii) CLEAR

5. a. Write a C program to implement indexed file allocation strategy (40)


b. Create a shell program to perform arithmetic operations (20)
c. Write the syntax and execute the following commands (20)
i) PWD
ii) CD

6. a. Implement pipe concept in inter process communication using C program (40)


b. Execute the following commands in UNIX operating system (20)
i) opendir
ii) close
c. Write the syntax and execute the following commands (20)
i) LISTING DIRECTORY
ii) COPY

7. a. Write a C program to implement linked list file allocation Strategy (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) CAT
Page 2 of 4

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

c. Write the syntax and execute the following commands (20)


i) MAN
ii) WHO AM I

9. a. Implement the concept of threading and synchronization using C Program (40)


b. Write a shell program to find the factorial of a given number (20)
c. Write the syntax and execute the following commands (20)
i) CAT
ii) PWD

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

12. a. Implement LFU page replacement algorithm using C program (40)


b. Write a shell program to find the given number is odd or even (20)
c. Write the syntax and execute the following commands (20)
i) PWD
ii) CD

13. a. Implement the paging concept using C program (40)


b. Execute the following commands in UNIX operating system (20)
i) opendir
ii) readdir
c. Write the syntax and execute the following commands (20)
i) CAT
ii) MKDIR

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

c. Write the syntax and execute the following commands (20)


i) RMDIR
ii) CLEAR

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

c. Write the syntax and execute the following commands (20)


i) WHO AM I
ii) MAN

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

19. a. Write a C program to implement indexed file allocation strategy (40)


b. Execute the following commands in UNIX operating system (20)
i) close
ii) stat
c. Write the syntax and execute the following commands (20)
i) CAT
ii) MKDIR

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

You might also like