Automatically extracted historical question data. Academic accuracy and examination rules require verification.
Part A — 1
Define an Operating System and explain its primary firnctions 2 1 L I
Distinguish between internal vs external fragmentation 2. 2 2 L3
What is an atomic operation? What is indivisibility of an operation execution? 3. 2 2 L2
What are system calls? State their purpose. 4. 5 1 L3
What is cascading termination? 2 4 L2 5.
What is the role of the Translation Lookaside Buffer (TLB) in paging? 2 3 L3 6.
Which are the conditions that may lead a process to a deadlock state? 2 3 L I 7.
Define Thrashing. 2 5 L3 8.
9. What are the three common file access methods?. 2 5 L3
10. What is memory mapping of a file in Linux environment? 2 4 L2
DefinitionSource quality review required
Part B — 11
each model manages the relationship between user-level threads and kernel-level 8 1 L2
threads.
Explain the following process-related concepts
i. Process states and the role of the Process Control Block (PCB)
Other Or UnclassifiedSource quality review required
Part B — 12
ii. Process scheduling and the different types of schedulers 8 1 L I
iii. Context switching and its importance in multitasking
iv. Inter-Process Communication (IPC) mechanisms
Other Or UnclassifiedSource quality review required
Part B — 13
Explain the key services provided by an operating system and describe how 8 2 L3
virtualization enhances system operations.
>
E x p l a i n the concept of paging in memory management. Illustrate with a neat
ExplanationSource quality review required
Part B — 14
8 2 L 2 diagram.
Write shortly about the system calls- execQ, waitQ, open(), closeQ, fork ( ) , read ( ) ,
Other Or UnclassifiedSource quality review required
Part B — 15
8 3 L 3
write 0
G i v e n memory partitions of sizes 100 K B , 500 K B , 200 K B , 300 K B , and 600 K B
(in order), how the first-fit algorithm allocate memory to processes requiring 212
Other Or UnclassifiedSource quality review required
Part B — 16
8 J L 4
K B , 417 K B , 112 K B , and 426 K B ?
Illustrate the allocation and the status of each memory blocks finally
Describe the implementation of Inter-Process Communication using P O S I X Shared
Other Or UnclassifiedSource quality review required
Part B — 17
8 5 L 2
Memory.
Write short notes on the following:
Other Or UnclassifiedSource quality review required
Part B — 18
8 5 L 3
a. S S T F b. S C A N c. C - S C A N
E x p l a i n the different file access methods available in operating systems. Provide
Other Or UnclassifiedSource quality review required
Part B — 19
8 4 L 3
examples for each method to illustrate their functionality.
E x p l a i n the concept of paging with segmentation in memory management. Illustrate 8 4 L 220.
with a neat sketch and describe its working mechanism.
E x p l a i n the different process synchronization tools Mutex L o c k s , Semaphores, and 8 3 L 42 1 .
Monitors.
Consider the following page reference string:
2 , 3 , 4 , 2 , 1 , 5 , 6, 4 , 1 , 2 , 3 , 7 , 6 , 3 , 2 , 1
Other Or UnclassifiedSource quality review required
Part B — 22
8 5 L 3 Calculate the number of page faults that would occur for the following page
replacement algorithms, assuming a frame size of 4 frames: First-In-First-Out
( F I F O ) , Optijaalvg^ge Replacement ( O P T ) , Least Recently Used ( L R U ) .
Other Or UnclassifiedSource quality review required
Part C — 23
P3 3 L 3
P4 7
P5 12
A n a l y z e the performance of the following C P U scheduling algorithms: First-Come-
First-Serve ( F C F S ) , Shortest Job First ( S J F ) , Round R o b i n ( R R ) with a quantum o f 10
ms. W h i c h algorithm gives the m i n i m u m average waiting time?
A barbershop has 5 waiting chairs and 1 barber chair. I f no customers are present, L 4
the barber sleeps. A new customer leaves i f all chairs are full; otherwise, they sit and
Other Or UnclassifiedSource quality review required
Part C — 24
wait. I f the barber is asleep, the customer wakes h i m up. E x p l a i n the critical section
problem and write the semaphore-based solution.
2,-
Other Or UnclassifiedSource quality review required