OS Assignment
OS Assignment
1) A) Explain the various types of system calls with an example for each. (8)
B) Discuss the functionality of system boot with respect to an Operating System. (5)
2) State the operating system structure. Describe the operating system operations in detail.
Justify the reason why the lack of a hardware – supported dual mode can cause serious
shortcoming in an operating system? (13)
B) List five services provided by an operating system. Explain how each provides
convenience to the users. (8)
UNIT 2
1) What are threads? Discuss different types of threads. What resources are used when a
thread is created? How do they differ from those used when a process is created? (13)
2) What are the classical problems of synchronization? State and explain any one of the
problem with example. (13)
3) Describe the difference among short-term, medium-term and long-term scheduling with
suitable example. (13)
4) A) What is a process? Discuss components of process and various states of a process with
the help of a process state transition diagram. (8)
B) Write the difference between user thread and kernel thread. (5)
5) A) What is a critical section? Explain readers and writers problem with semaphore. (8)
B) Explain the dining – philosopher critical section problem solution using monitor.(5)
UNIT 3
1) What is the need of swapping in storage management? State and the explain in detail with
example. (13)
2) Explain the following with example: (13)
(i) Thrashing
(ii) Page replacement algorithm
3) Draw the diagram of segmentation memory management scheme and explain its principle.
(13)
4) Compare paging with segmentation in terms of the amount of memory required by the
address translation structures in order to convert virtual addresses to physical addresses.
(13)
5) Discuss situation under which the most frequently used page replacement algorithm
generates fewer page faults than the least recently used page-replacement algorithm. Also
discuss under which circumstances the opposite holds. (13)