Professional Documents
Culture Documents
1
17071
A) FCFS: P1, P2, P3 RRS: P1, P2, P3
B) FCFS: P1, P3, P2 RRS: P1, P3, P2
C) FCFS: P1, P2, P3 RRS: P1, P3, P2
D) FCFS: P1, P3, P2 RRS: P1, P2, P3
U, CO2 4. Consider a set of n tasks with known runtimes r1, r2, …rn to be run on a
uniprocessor machine. Which of the following processor scheduling
algorithms will result in the maximum throughput? Justify your answer.
A) Round-Robin B) Shortest-Job-First
C) Highest-Response-Ratio-Next D) First-Come-First-Served
A, CO3 5. Consider a machine with 64 MB physical memory and a 32-bit virtual
address space. If the page size is 4KB, what is the approximate size of the
page table? Justify your answer.
A) 16 MB B) 8 MB C) 2 MB S) 24 MB
R, CO3 6. Define Internal and External Fragmentation.
U, CO4 7. In which one of the following page replacement policies, Belady’s anomaly
may occur? Justify your answer.
A) FIFO B) Optimal C) LRU D) MRU
U, CO4 8. Mention the different file attributes and file types.
U, CO5 9. What is the use of kernel modules in Linux?
U, CO5 10. What are the functions of virtual file system (VFS)?
PART B – (5 16 = 80 Marks)
U,CO1 11. a) i. Discuss the essential properties of the following types of
systems:
A) Time sharing systems
B) Multi-processor systems
C) Distributed systems (8 Marks)
U,CO1 11. a) ii. Draw the state diagram of a process from its creation to
termination, including all transitions, and briefly elaborate
every state and every transition. (8 Marks)
OR
2
17071
U,CO1 11. b) i. What are threads? Why are they required? Discuss the
difference between Kernel level and user level threads. (8 Marks)
U,CO1 11. b) ii. Some computer systems do not provide a privileged mode of
operation in hardware. Is it possible to construct a secure
operating system for these computer systems? (8 Marks)
A,CO2 12. a) i. Compute the average waiting time for the processes using non-
pre-emptive SJF scheduling algorithm.
Process Arrival time Burst Time
P1 0.0 7
P2 2.0 4
P3 4.0 1
P4 5.0 4 (8 Marks)
U,CO2 12. a) ii. Discuss in detail about the critical section problem and also
write the algorithms for Readers – Writers problems with
semaphores. (8 Marks)
OR
A,CO2 12. b) i. A system with following processes and resources exits. In the
3
17071
B) Is the system in a safe state?
C) If a request from process P2 arrives for (0,3,1,0), can
the request be granted immediately. (8 Marks)
U,CO2 12. b) ii. Discuss how the following pairs of scheduling criteria conflict
in certain settings:
A) CPU utilization and response time
B) Average turnaround time and maximum waiting time
C) I/O device utilization and CPU utilization (8 Marks)
4
17071
U,CO3 13. b) ii. Explain the concept of demand paging and the performance
issue of demand paging. (8 Marks)
5
17071
6
17071