OSY-Final-QuestionBank
OSY-Final-QuestionBank
6 Marks question
1. Explain multithreading model in detail. (W-19)
2. Describe one-to-one multithreading model with suitable diagram. Also
write any two advantages of one-to-one model over many-to-one model.
(S-22)
3. Writer the outputs of following commands (i) Wait 2385018 (ii) Sleep 09
(iii) PS –u Asha
4. Consider the following memory map and assume a new process P4 comes
with memory requirements of 6 KB. Locate (Draw) this process in
memory using. i) First fit O.S. ii) Best Fit P1 iii) Worst fit
(W-22)
5. Explain the working of interprocess communication considering i) Shared
memory ii) Message passing (S-23)
6. Differentiate between process and thread (any two points). Also discuss
the benefits of multithreaded programming (W-23)
7. Explain user level thread and Kernel level thread with its advantages and
disadvantages (S-24)
Chapter 4: CPU Scheduling and Algorithms (14 Marks)
2 Marks question
1. Explain any four scheduling criteria. (W-19)
2. State difference between preemptive scheduling and non-preemptive
scheduling. (S-22)
3. Define CPU and I/O burst cycle. (W-22)
4. Write the difference between pre-emptive and non-preemptive scheduling
(S-22)
5. Define Deadlock (S-23)
6. Define CPU bound program and I/O bound program. (W-23)
7. State two features of non-preemptive scheduling. (S-24)
4 Marks question
1. Describe I/o burst and CPU burst cycle with neat diagram. (W-19)
2. Explain deadlock? What are necessary conditions for deadlock? (W-19)
(S-24)
3. State and describe types of scheduler. (W-19)
4. Explain Round Robin algorithm with suitable example (W-19)
5. State and describe any two scheduling criteria. (S-22)
6. With suitable diagram, describe use of scheduling queues in process
scheduling. (S-22)
7. Write steps required for Banker’s algorithm to avoid deadlock. (S-22)
8. Describe different scheduling criteria. (W-22)
9. Describe conditions for deadlock prevention (W-22)
10.Solve given problem by using SJF and FCFS scheduling algorithm using
Gantt chart. Calculate the average waiting time for each algorithm.
(W-22)
11. State and explain four scheduling criteria (S-23)
12.Explain different types of schedulers. (S-23)
13.Describe any four condition for deadlock. (S-23)
14.Explain following terms with respect to scheduling i) CPU utilization ii)
Throughput iii) Turnaround time iv) Waiting time (W-23)
15.What is deadlock? Discuss any one method of deadlock prevention. (W-
23)
16.Solve given problem by using FCFS scheduling algorithm. Draw correct
Gantt chart and calculate average waiting time and average turnaround
time –
(W-23)
17.What is CPU Scheduler? Explain the preemptive and nonpreemptive type
of scheduling. (S-24)
18.Compare Short Job First(SJF) and Shortest Remaining Time (SRTN)
scheduling algorithm (any four points). (S-24)
6 Marks question
1. The jobs are scheduled for execution as follows
Solve the following problem (i) SJF (ii) FCFS Also find average waiting
time using Gantt chart. (W-19)
2. Calculate average waiting time for following data using First Come First
Served (FCFS) and Shortest Job First (SJF) algorithms
(S-22)
3. Solve given problem by using (i) Pre-emptive SJF (ii) Round Robin
(Time Slice = 3 ms) Calculate average waiting time using Gantt Chart.
(W-22)
4. With neat diagram explain multilevel queue scheduling. (S-23)
5. Consider the four processes P1, P2, P3 and P4 with length of CPO Burst
time. Find out Avg waiting time and Avg turn around time for the
following Algorithms. i) FCFS ii) RR (Slice-4ms) iii) SJF
6 Marks question
1. Enlist different file allocation methods? Explain contiguous allocation
method in detail. (W-19)
2. Construct and explain directory structure of a file system in terms of two
level and tree structure. (W-22)
3. List file allocation method and explain any one in details. (S-23)
4. Draw and explain directory structure of a file system in terms of single
level, two level and tree structure. (W-23)