Professional Documents
Culture Documents
B.E / B.Tech / B.Arch PRACTICAL END SEMESTER EXAMINATIONS, APRIL / MAY 2022
Fourth Semester
Marks Split up
Sub Division Sub Division Sub Division
Viva (10) Record (10) Total
a b c
Program (20) Program / Syntax (5+5)
Execution (10) Syntax (10) Execution
Out put (10) Execution and
and Output(5+5) 10 10 100
Output(10)
40 20 20
10. a. Implement bankers algorithm for deadlock detection using C program (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) LISTING DIRECTORY
ii) COPY
11. a. Implement First come first serve page replacement algorithm using C program (40)
b. Write a shell program to find the factorial of a given number (20)
Page 3 of 4
12. a. Implement Least Recently Used page replacement algorithm 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) MAN
ii) WHO AM I
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) fork
ii) exec
c. Write the syntax and execute the following commands (20)
i) RMDIR
ii) CLEAR
16. a. Write a C program to implement First Fit Memory Allocation Method (40)
b. Create a shell program to perform arithmetic operations (20)
c. Write the syntax and execute the following commands (20)
i) CAT
ii) MKDIR
17. a. Write a C program to implement Worst Fit Memory Allocation Method (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
Page 4 of 4
18. a. Write a C program to implement Best 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) WHO AM I
ii) MAN
19. a. Implement Least Recently Used page replacement algorithm using C program (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) LISTING DIRECTORY
ii) COPY