Question Bank - 10ECE65
Question Bank - 10ECE65
QUESTION BANK
1. What is an Operating system? Discuss its role from different perspective? Explain the designer’s view of an
operating system?
OR
Define an OS? Discuss its role with user and system viewpoint?
2. What are the common tasks performed by an OS?
OR
What is an Operating system? Explain the goals of an OS?
3. Explain Time Sharing OS with respect to: i) Scheduling ii) Memory Management
4. Explain the concept of Virtual machines. Bring out its advantages.
5. Discuss the operating system functions-
i) That are helpful to user
ii) That are meant for ensuring the efficient operation of system
6. Define essential properties of the following OS-
Time sharing OS Batch OS
Real Time OS Distributed OS
7. Multi-programming (or multi-tasking) enables more than a single process to apparently execute
simultaneously. How is this achieved on a uniprocessor?
8. What are the components of an operating system? Discuss the major activities of each system component.
OR
Explain the Functions of Operating system.
18. Describe the three state process model, describe what transitions are valid between the three states, and
describe an event that might cause such a transition.
OR
Explain States and States Transition in process?
OR
Process- P1 P2 P3 P4 P5
Arrival Time- 0 3 4 4 5
Burst Time- 7 2 3 1 3
Priority- 3 2 1 1 3
i) Draw charts to illustrate execution using SRTF, preemptive priority and RR(TS= 1 m sec).
ii) Compute waiting time in each of these case?
iii) Which of them provide minimal average waiting time and turnaround time?
iv) Find out the time at which there are maximum no of processes in the ready queue in the above
scenario?
24. Consider a system running 10 I/O bound tasks and one CPU bound task. Assume I/O bound task issue an
I/O once for every msec of CPU computing and that each I/O operation takes 10 msec to complete. Also
assume that the context switchingoverhead is 0.1 msec and that all processes arelong running tasks.
Comment on the CPU utilization for a RR scheduler when TS= 1 msec and TS= 10 msec?
25. Discuss various multi threading models with diagrams?
26. Define Race conditions. List the requirements that a solution to critical section problem must satisfy?
OR
Explain three requirements that a solution to critical section problem, must satisfy?
Process- P1 P2 P3 P4
Arrival Time- 0 1 2 3
Burst Time- 1 9 1 9
i) Draw gant charts to illustrate execution using FCFS, preemptive SJF, non- preemptive SJF and
RR(quantum 1) scheduling schemes.
ii) Compute turnaround time, waiting time in each of these case?
iii) Compute average turnaround and waiting time for each process and thus find the best scheme in
this particular case.
29. Explain the term: critical section and mutual exclusion?
30. What is semaphore? Explain the role of a semaphore in solving Critical Section problem?
31. What is monitor? Explain?
MEMORY MANAGEMENT
VIRTUAL MEMORY
FILE SYSTEMS
SCHEDULING
68. Explain Long term, Mediun term and Short term Scheduling?
OR
Differentiate between long term and midterm scheduler?
OR
69. What are schedulers? Explain various schedulers with diagrams?
70. With the help of examples explain- i) FCFS ii) Shortest job next scheduling iii) Round Robin Scheduling?
71. A driver has 5000 cylinders numbered 0 to 4999. The driver is currently serving the request at cylinder 143
and the previous request was at cylinder 125. The queue of pending requests in FIFO order is 86, 1470, 913,
1774, 948, 1509, 1022, 1750, 130. Starting from the current head position, what is the total distance
travelled by the disk arm to satisfy the request using the algorithm FCFC, SSTF, SCAN, LOOK. Illustrate
with figures in each case.
72. Explain the access matrix model of implementing matrix in OS?
73. Suppose the position of cylinder is at 53. Sketch the graphical representation for the queue of pending
requests in the order 98, 183, 37,122,14,124,65,67 for FCFS, SSTF and LOOK scheduling schemes. Give
your comment on this scenario?
(2 to 4 marks Q)
74. Name four disk-arm scheduling algorithms. Outline the basic algorithm for each.
75. What are the three general goals of computer security?
76. What is the difference between preemptive scheduling and non-preemptive scheduling? What is the issue
with the latter?
77. Describe round robin scheduling. What is the parameter associated with the scheduler? What is the issue in
choosing the parameter?
MESSAGE PASSING
78. What is a mailbox? With an example, explain the features of mailboxes and its advantages?
79. Discuss primary issues in message passing implementation?
80. Write notes on-
i) Buddy System of memory management in UNIX
ii) Thrashing
iii) Solution to bounded buffer problem using semaphore
iv) Bad blocks on disk
v) Tree directory structure
vi) Inter process communication facility in LINUX
Good luck!