// Anna University, Chennai / 2024
Anna University — Introduction to Operating Systems (CS3451), November/December 2024
Introduction to Operating Systems · CS3451 · R2021 · B.E. Computer Science and Engineering · Semester 4
Files open in a new tab. Use your browser's download or save option to keep a copy.
Work through the questions
16 questions
No verified answers are available for this paper.
Define Operating Systems.
No verified answer or solution is available for this question.
List out different services of operating systems.
No verified answer or solution is available for this question.
What do you mean by cooperating process?
No verified answer or solution is available for this question.
Define IPC.
No verified answer or solution is available for this question.
What is address binding?
No verified answer or solution is available for this question.
What is page fault, and how is it handled?
No verified answer or solution is available for this question.
Name the three methods of allocating disk space for file systems.
No verified answer or solution is available for this question.
List the operations that can be performed on the directory.
No verified answer or solution is available for this question.
Define virtualization.
No verified answer or solution is available for this question.
State the merits of Android OS.
No verified answer or solution is available for this question.
(a) Explain the following terms with necessary illustrations. (i) Buffering (2) (ii) Spooling (2) (iii) Time sharing systems (3) (iv) Distributed systems (3) (v) Real-time systems. (3) (OR) (b) What are system calls? Explain different categories of system calls with examples. (13)
No verified answer or solution is available for this question.
(a) (i) Explain the difference between long-term, short-term, and medium-term schedulers. (5) (ii) Discuss about threads. (8) (OR) (b) (i) Explain deadlock prevention and avoidance. (5) (ii) Given 3 processes, A, B and C, three resources, x, y, and z and following events, (8) (i) A requests x (ii) A requests y (iii) B requests y (iv) B requests z (v) C requests z (vi) C requests x (vii) C requests y Assume that requested resources should always be allocated to the request process if available. Draw the resource allocation graph for the sequences. Also, mention whether it is a deadlock. If it is, how to recover from the deadlock.
No verified answer or solution is available for this question.
(a) (i) Explain paging scheme of memory management. (5) (ii) Discuss about the different memory allocation techniques. (8) (OR) (b) Consider the following page-reference string 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1 2 3 4. (i) How many Page hits would occur in the following page replacement algorithms, assuming four-page frames? Remember that all frames are initially empty, so your first unique pages will all cost one fault each. - Least-Recently-Used (2) - First-In-First-Out replacement (2) - Optimal replacement. (3) (ii) Calculate the hit ratio for each of the above algorithms. (3) (iii) Which algorithm is the best for the above case and why? (3)
No verified answer or solution is available for this question.
(a) Write short notes on : (i) Directory organization. (4) (ii) File system mounting. (4) (iii) Kernel (I/O) system. (5) (OR) (b) Suppose that a disk drive has 5000 cylinders numbered 0 to 4999 the drive currently services a request at cylinder 143, and the previous request was at cylinder 125. the queue of pending requests in the FIFO order is 86, 1470, 913, 1774, 948, 1509, 1022, 1750 and 130. Starting from the current position, what is the total distance (in cylinders) that the disk arm moves to satisfy all pending requests for each of the following algorithms: (i) FCFS (3) (ii) SSFT (3) (iii) SCAN (3) (iv) LOOK (2) (v) C-SCAN. (2)
No verified answer or solution is available for this question.
(a) Distinguish the various functional behaviors of IOS and Android with suitable examples. (13) (OR) (b) Explain the concept of virtual machines with a suitable sketch. Also, bring out its benefits and features. (13)
No verified answer or solution is available for this question.
(a) Consider the 5 processes, A, B, C, D and E, as shown in the table. The highest number has low Priority. Find The completion order of the 5 processes under the policies. Process Arrival Time Burst Time Priority A 0 6 3 B 2 4 4 C 4 2 3 D 7 4 2 E 11 2 1 (i) Draw four Gantt charts illustrating the execution of these processes using FCFS, pre-emptive SJF, non-pre-emptive Priority and RR (Quantum= 2) scheduling. (8) (ii) Calculate the average waiting and turnaround times for the above scheduling algorithms. (7) (OR) (b) Represent and explain the drawback of the typical 'Semaphore" solution to Dining Philosophers' problem with pseudo code, and also provide a solution to remedy the drawback. (15)
No verified answer or solution is available for this question.