Code No: CSG403PC SMEC-R20
St. MARTIN’S ENGINEERING COLLEGE
UGC Autonomous
NBA & NAAC A+ Accredited
Dhulapally, Secunderabad – 500100
B.Tech II Year II Semester Regular Examinations, August-2023
OPERATING SYSTEMS
(COMPUTER SCIENCE AND DESIGN)
Time: 3 Hours Max. Marks: 70
Note: This Question Paper contains two Parts A and B
Part A is compulsory which carries 20 marks. Answer all questions in Part A at one place only.
Part B Consists of 10 questions. Answer any five (one full question from each unit).
Each question carries 10 marks and may have a, b, c as sub questions.
PART – A (20 Marks)
1. a) Define Operating System? (2M)
b) What are the OS services? (2M)
c) What are the 4 types of process? (2M)
d) What is the critical section problem with Peterson's solution? (2M)
e) What are threads in OS?. (2M)
f) Define Deadlocks? (2M)
g) What is semaphores why it is used? (2M)
h) What is paging and its example?. (2M)
i) Where is segmentation used in OS?. (2M)
j) Explain directory structure?. (2M)
PART – B (5x10 = 50 Marks)
2. Deliberate about the structure of OS in details. [10 M]
OR
3. Briefly explain about Computing Environments. [10 M]
4. Elucidate about the system calls fork, exit, wait, waitpid and exec. . [10 M]
OR
5. Demonstrate about FCFS, RR and SJF scheduling algorithm with illustrations. [10 M]
6. How can deadlock be detected and recovered? Explain in detail with relevant example. [10 M]
OR
7. Briefly explain about Critical Section Problem in details. [10 M]
8. What is Semaphore? Give the implementation of Bounded Buffer Producer Consumer
Problem using Semaphor. [10 M]
OR
9. a) Express in your own words about optimal Page replacement algorithm. [5+5 M]
b) Explain in detail Contiguous Memory Allocation.
10. a) What is a Directory? Write short note on Directory implementation. [5+5 M]
b) Interpret about linked allocation method of a file.
OR
11. Explain about the Usage of open, create, read, and write, close. [10 M]
*******