You are on page 1of 4

Page 1 of 4

1. a. Write a C program to implement First Fit Memory Allocation Method (40)


b.In UNIX operating system, explain the following system calls (20)
i) OPEN
ii) LINK
c. Write the syntax and execute the following command (20)
i) FOLD
ii) TAR

2. a. Write a C program to implement Indexed file allocation Strategy (40)


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

3. a. Implement the concept of Threading and Synchronization using C Program (40)


b. In UNIX operating system, explain the following system calls (20)
i) FORK
ii) WAIT
c. Write the syntax and execute the following command (20)
i) WHO
ii) FINGER

4. a. Write a C program to implement Priority Scheduling algorithm (40)


b. Execute the following command in UNIX operating system (20)
i) DF
ii) DU
c. Write the syntax and execute the following command (20)
i) ALIAS
ii) TOP

5. a. Write a C program to implement First Fit Memory Allocation Method (40)


b. Write a C program to implement the UNIX command (20)
i) CP
ii) LS
c. Write the syntax and execute the following command (20)
i) RM
ii) CP

6. a. Write a C program to implement Worst Fit Memory Allocation Method (40)


b. Explain the concept of looping using shell programming (20)
c. Write the syntax and execute the following command (20)
i) CAT
ii) MKDIR
Page 2 of 4

7. a. Write a C program to implement Best Fit Memory Allocation Method (40)


b. Create a shell program to find the greatest among the given three numbers (20)
c. Write the syntax and execute the following command (20)
i) RMDIR
ii) CLEAR

8. a. How the data is allocated sequentially, write a C program to implement (40)


b. Create a shell program to perform arithmetic operations (20)
c. Write the syntax and execute the following command (20)
i) RMDIR
ii) RM

9. a. Write a C program to implement First Round Robin Scheduling algorithm (40)


b.Execute the following command in UNIX operating system (20)
i) MV
ii) CP
c. Write the syntax and Execute the following command (20)
i) MAN
ii) CD

10. a. How the data is allocated sequentially, write a C program to implement. (40)
b. Write a shell program to find the factorial of a given number. (20)
c. Write the syntax and execute the following command (20)
i) PASSWD
ii) PS

11. a. Implement pipe concept in Inter Process Communication using C program (40)
b. Execute the following command in UNIX operating system (20)
i) MAN
ii) CD
c. Write the syntax and execute the following command (20)
i) MV
ii) CP

12. 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 command (20)
i) RMDIR
ii) MKDIR

13. 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 command (20)
Page 3 of 4

i) PWD
ii) CD

14. a. Write a C program to implement Producer-Consumer Problem using semaphore


concept (40)
b. Execute the following command in UNIX operating system (20)
i) MC
ii) CP
c. Write the syntax and execute the following command (20)
i) RMDIR
ii) CLEAR

a. Write a C program to implement Worst Fit Memory Allocation Method (40)


b. Execute the following command in UNIX operating system (20)
i) FTP
ii) TELNET
c. Write the syntax and execute the following command (20)
i) CAT
ii) MKDIR

15. a. Write a C program to implement Best Fit Memory Allocation Method (40)
b. Create a shell program to perform arithmetic operations (20)
c. Write the syntax and execute the following command (20)
i) WHO
ii) HISTORY

16. a. How the data is allocated sequentially, write a C program to implement (40)
b. Create a shell program to perform arithmetic operations (20)
c. Write the syntax and execute the following command (20)
i) DU
ii) DF

17. 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 command (20)
i) LS
ii) RD

18. a. Write a C program to implement Linkedlist file allocation Strategy (40)


b. Write a C program to implement the UNIX command (20)
i) LP
ii) DF
Page 4 of 4

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


iii) TOP
iv) MAN

19. a. Write a C program to implement First Come First Serve Scheduling algorithm (40)
b. Execute the following command in UNIX operating system (20)
i) HISTORY
ii) FTP
c. Write the syntax and execute the following command (20)
i) RM
ii) CP

You might also like