Question Paper: Operating Systems Question Paper - May 18 - Information Technology (Semester 4) - Mumbai University (MU)
0

Operating Systems - May 18

Information Technology (Semester 4)

Total marks: 80
Total time: 3 Hours
INSTRUCTIONS
(1) Question 1 is compulsory.
(2) Attempt any three from the remaining questions.
(3) Draw neat diagrams wherever necessary.

1.a. What are the major activities of an Operating system with regard to file management and memory management?
(10 marks) 9695

1.b. Compare and contrast stateless and stateful service with the help of an example.
(10 marks) 9721

2.a. Explain with the help of an example, which of the following scheduling algorithms could result in starvation?

a. First-come, first-served

b. Shortest job first

c. Round robin

d. Priority

(10 marks) 9700

2.b. What resources are used when a thread is created? How do they differ from those used when a process is created?
(10 marks) 9701

3.a. Show that, if the wait () and signal () semaphore operations are not executed atomically, then mutual exclusion may be violated.
(10 marks) 9708

3.b. Consider the following snapshot of a system:

- Allocation Max Available
ABCD ABCD ABCD
p0 0012 0012 1520
p1 1000 1750
p2 1354 2356
p3 0632 0652
p4 0014 0656

Answer the following questions using the banker's algorithm:

a. What is the content of the matrix Need?

b. Is the system in a safe state?

c. If a request from process Pl arrives for $(0,4,2,0),$ can the request be granted immediately?

(10marks) 9709

4.a. With the help of a neat labeled diagram, explain the hardware support with TLB for paging.
(10 marks) 9714

4.b. Consider the following page reference string:

$1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6$ . How many page faults would occur for the following replacement algorithms, assuming one, two, three, four, five, six, and seven frames?

Remember that all frames are initially empty, so your first unique pages will cost one fault each.

$\bullet$LRU replacement

$\bullet$ FIFO replacement

$\bullet$ Optimal replacement

(10 marks) 9702

5.a. Justify the statement: Demand paging can significantly affect the performance of computer system.
(10 marks) 9715

5.b. Compare and contrast given allocation methods: Contiguous allocation, Linked allocation, Indexed allocation.
(10 marks) 9718

Write a short notes on: (Any Four)

6.a. Just-in-time compiler.
(5 marks) 9703

6.b. Memory segmentation
(5 marks) 9716

6.c. Deadlock avoidance in distributed system.
(5 marks) 9722

6.d. Operating System Schedulers
(5 marks) 9704

6.e. File system organization
(5 marks) 12816

6.f. Two-phase locking protocol
(5 marks) 9723

ADD COMMENTlink
modified 12 weeks ago  • written 12 weeks ago by gravatar for Ankit Pandey Ankit Pandey70
Please log in to add an answer.