Professional Documents
Culture Documents
Reg. No. :
12. A Consider the following set of processes, with the length of the CPU burst A (16) CO2
time given in milliseconds:
Process Burst Priority Arrival
Time time
P1 5 2 0
P2 1 1 2
P3 8 3 4
P4 4 4 6
P5 5 2 8
a. Draw four Gantt charts that illustrate the execution of these processes
using the following scheduling algorithms: FCFS, SJF, non-
preemptive priority (a smaller priority number implies a higher
priority), and RR (quantum = 1).
b. What is the turnaround time of each process for each of the
scheduling algorithms in part a?
c. What is the waiting time of each process for each of these scheduling
algorithms?
d. Which of the algorithms results in the minimum average waiting time
(over all processes)
(OR)
12. Bii) Illustrate with examples of deadlock-prone situations in real-world A (08) CO2
applications?
12. B i) Explain in detail about deadlock? What are the schemes available to R (08) CO2
handle deadlock?
13. A Write a detailed note on memory management, which makes the computer U (16) CO3
system convenient for user. With a neat sketch, explain how logical
address is translated into physical address using paging mechanism.
(OR)
13. B I. Explain the causes, effects and recovery of Thrashing. R (6) CO3
II. Write short note on memory mapped files. R (5) CO3
III. Explain about Allocating Kernel Memory in detail. U (5) CO3
14. A Explain the security mechanism and discuss briefly on how buffer- S (16) CO4
overflow attacks can be avoided by adopting a better programming
methodology or by using special hardware support.
(OR)
14. B i) Consider the following I/O scenarios on a single-user PC: A (08) CO4
a. A mouse used with a graphical user interface
b. A tape drive on a multitasking operating system (with no device pre
allocation available)
c. A disk drive containing user files
d. A graphics card with direct bus connection, accessible through
e. memory-mapped I/O
f. For each of these scenarios, would you design the operating system
to use buffering, spooling, caching, or a combination? Would you
use polled I/O or interrupt-driven I/O? Give reasons for your
choices.
14. B ii) Write in detail about streams and its performance. R (08) CO4
15. A Explain why Linux runs on a variety of hardware platforms. What steps U (16) CO5
must the Linux developers take to ensure that the system is portable to
different processors and memory management architectures, and to
minimize the amount of architecture-specific kernel code?
(OR)
15. B Demonstrate the procedure for Installation of Linux operating system. A (16) CO5
C204.1 3 3 1 - - - - - - - - -
C204.2 3 2 - - - - - - - - - -
C204.3 2 3 2 - - - - - - - - -
C204.4 2 3 2 - - - - - - - - -
C204.5 2 3 - - - - - - - - - -
C204:
OS 2 3 2 - - - - - - - - -