MODEL QUESTION PAPER_2024_25
MODEL QUESTION PAPER_2024_25
An Autonomous Institution
Approved by UGC & AICTE, New Delhi, Approved with 2(f) status by UGC
Affiliated to VTU, Accredited by NAAC with A+ Grade, UG programs, ECE, EEE, ISE and
CSE, Accredited by NBA, Certified by ISO 9001:2015
PART-B
Q.No. Question BL CO PO Marks
Module-1
1 a) Explain five fundamental classes of Operating System 2 1 1 5
OR
Module-2
3 a) Illustrates how the data logging system of Real Time OS benefits from use 2 2 2 5
of child processes.
OR
a) Explain the different types of threads. 2 2 2 5
4
b) Explain dining philosophers’ problem with code snippet. 2 2 2 6
c) Explain the uses of semaphores in concurrent systems. 3 2 2 5
Module-3
5 a) Explain about User-Centric Scheduling Concepts and System-Centric 2 3 2 5
Scheduling Concepts.
b) Explain three Fundamental Techniques of Scheduling to provide good user 2 3 2 5
service.
c) Consider the following set of process, with arrival time and burst time. 3 3 3 6
Draw Gantt charts, and find Completion Time, Turnaround time, Waiting
time and Response time using FCFS.
Process Name Arrival Time Burst Time
P1 0 2
P2 1 2
P3 5 3
P4 6 4
OR
6 a) A system with 5 resources (A, B, C, D, E) and 4 processes (P1, P2, P3, P4) 2 3 2 5
has 3 instances of A, 3 instances of B, 2 instances of C, 2 instances of D,
and 3 instances of E. Following is the allocation and need matrix for the
processes:
Allocation Need
Process
A B C D E A B C D E
P1 2 1 1 1 0 3 3 3 2 2
P2 1 1 2 0 2 3 2 3 1 2
P3 3 2 2 1 1 5 2 3 2 2
P4 1 0 1 1 2 2 2 2 1 3
Is the system in a safe state at the moment? If not, what action can be taken
to prevent deadlock?
b) Calculate the average waiting time and turnaround time for the following 2 3 2 5
snapshot of process using: i) Non-preemptive SJF ii) Non-preemptive
priority iii) Round Robin (TQ = 1ms)
Burse Time
Processes Priority
(m sec)
P1 3 10
P2 1 1
P3 3 2
P4 4 1
P5 2 5
c) Explain the necessary condition for deadlock with example. 3 3 3 6
Module-4
7 a) With a neat diagram, explain the transformation and execution of a 2 4 2 5
program.
b) Explain two methods of Memory Allocation to a process. 2 4 2 5
c) Consider the following page reference string : 3 2 1 3 4 1 6 2 4 3 4 3 4 3 6
2 1 4 5 2 1 3 4 Assuming there are 3 frames, how many page faults
would occur in the case of FIFO.
OR
8 a) Explain LRU and FIFO page replacement algorithm with frame size 3 for 2 4 2 5
the reference string 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6.
b) Describe paging with its physical organization. 2 4 2 5
c) Explain the following concept in virtual memory management. 3 4 3 6
i) Page replacement
ii) Page Fault
Module-5
9 a) What is a file? What are its attributes, explain file operations. 2 5 2 5
OR
10 a) Explain fundamental file organizations and access methods. 2 5 2 5
a. SCAN
b. C-SCAN
c. C-LOOK