0% found this document useful (0 votes)
39 views

B.E / B.Tech. Practical End Semester Examinations, April / May 2019

The document contains instructions for an operating systems laboratory exam consisting of 19 questions. For each question, students are asked to write C programs implementing various concepts like memory allocation strategies and scheduling algorithms. They are also asked to write shell programs and explain UNIX system calls and commands. The questions are divided into parts worth varying point values totaling 100 points for the exam.

Uploaded by

Ecr Bharani
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

B.E / B.Tech. Practical End Semester Examinations, April / May 2019

The document contains instructions for an operating systems laboratory exam consisting of 19 questions. For each question, students are asked to write C programs implementing various concepts like memory allocation strategies and scheduling algorithms. They are also asked to write shell programs and explain UNIX system calls and commands. The questions are divided into parts worth varying point values totaling 100 points for the exam.

Uploaded by

Ecr Bharani
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Page 1 of 4

B.E / B.Tech. PRACTICAL END SEMESTER EXAMINATIONS, APRIL / MAY 2019


Fourth Semester

CS8461- OPERATING SYSTEMS LABORATORY


(Regulations 2017)

Time : 3 Hours Maximum Marks :100


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

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
Page 2 of 4

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

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)
Page 3 of 4

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)
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)
Page 4 of 4

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

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