AD-405 · Operating Systems/Unsolved PYQ Paper
AD-405 Operating Systems - Jun 2025 Question Paper
Under each question, How to answer lists the points an answer should cover, outlined by CampusPrep from the syllabus. Check the details against your textbook.
-
7 MarksaWhat are the five major activities of an operating system in regards to memory management?
How to answer
- Define memory management role of OS
- List five activities: allocation/deallocation, tracking, protection, swapping, paging/segmentation management
- Brief explanation of each activity
- Diagram of memory manager interaction if needed
-
7 MarksbList the functions of OS. How operating system perform management task in a system?
How to answer
- Define OS and its objectives
- List functions: process, memory, file, device, security management
- Explain management task: resource allocator and control program
- Give example of scheduling and coordination
-
7 MarksaGive an example of an application in which data in a file should be accessed in following order.
- i)Sequentially
- ii)Randomly
How to answer
- Define sequential access with example e.g. tape, log file, video playback
- Define random/direct access with example e.g. database, array file
- Justify why order matters for application
-
7 MarksbSuppose that a disk drive has 5000 cylinders numbered 0 to 4999. The drive is currently serving a request at cylinder 143 and the previous request was at cylinder 125. The queue of pending request in FIFO order is - 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 750, 750, 750, 130. Starting from current head position, what is the total distance that the disk arm moves to satisfy all pending request for each of following.
- i)SSTF
- ii)SCAN
- iii)LOOK
How to answer
- Note current head 143, previous 125 to infer direction
- Apply SSTF ordering and sum seek distances
- Apply SCAN and LOOK ordering and sum distances
- Compare total head movements
-
7 MarksaConsider a variant of the RR algorithm where the entries in the ready queue are pointers to the PCB
- i)What would be the effect of putting two pointers to the same process in the ready queue.
- ii)What would be the major advantages and drawback of this scheme.
How to answer
- Explain RR with PCB pointers
- Effect of duplicate pointers: extra time slice / priority
- Advantages: priority, favoring CPU-bound jobs
- Drawbacks: unfairness, starvation, complexity
-
7 MarksbHow many page faults occur for an optimal page replacement strategy for the following reference string for four page frames. 1 2 3 4 5 3 4 1 6 7 8 7 8 9 7 8 9 5 4 5 4 2
How to answer
- State optimal replacement rule: replace farthest future use
- Simulate reference string with 4 frames step by step
- Count hits vs faults
- Give total page faults
-
7 MarksaSuppose a process P wants to wait for two messages, one from mailbox A and one from mailbox B. What sequence of send and receive should it execute.
How to answer
- Explain mailbox / message passing
- Discuss deadlock risk if blocking receive in order
- Recommend non-blocking or select / receive from either
- Give correct sequence
-
7 MarksbWhy might a system use interrupt driven I/O to manage a single serial port but polling I/O to manage a front end processor, such as a terminal concentrator.
How to answer
- Define interrupt-driven vs polling I/O
- Explain low-frequency single port favors interrupts
- Explain high-frequency front-end favors polling overhead
- Compare CPU overhead and latency
-
7 MarksaWhat aspects of a distributed system would you select for a system running on a totally reliable network.
How to answer
- Define distributed system on reliable network
- Select aspects: no need for retransmission, focus on performance, naming, migration
- Explain which fault-tolerance can be relaxed
- Give examples
-
7 MarksbTo build robust distributed systems, you must know what kinds of failures can occur. List three possible types of failures in a distributed system.
How to answer
- Define distributed failures
- List three types: crash, omission, Byzantine, timing
- Brief description of each
- Need for robust design
-
7 MarksaDefine a semaphore for dining philosopher's problem.
How to answer
- Define semaphore and wait/signal
- Show chopstick semaphores and mutex
- Explain deadlock-free solution
- Give pseudocode
-
7 MarksbDescribe a method for process migration across different architecture running.
- i)The same operating system
- ii)Different operating system
How to answer
- Define process migration
- Method for same OS: checkpoint and transfer state
- Method for different OS/architecture: heterogeneous migration
- Issues: address space, open files
-
7 MarksaExplain concurrency controls? What are the differences between real and virtual concurrency?
How to answer
- Define concurrency control
- Explain real vs virtual concurrency
- Differences: true parallelism vs interleaving
- Examples: multiprocessor vs single CPU
-
7 MarksbHow process is differing from program? Describe process transition diagram in detail.
How to answer
- Define program vs process
- List differences in table form
- Draw 5/7-state process transition diagram
- Explain transitions: new, ready, running, waiting, terminated
-
14 MarksWrite short notes on following. (any two)
- a)Deadlock prevention and avoidance
- b)Kernel architecture in Unix
- c)System calls
How to answer
- Select any two topics
- Give definition and key points for each
- Explain with example/diagram
- Mention advantages/applications
Go to where you left off?
Quick Add to Notes
Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.
Create free accountHave an account? Log in
Notes Panel