AL-501 · Operating Systems/Unsolved PYQ Paper
AL-501 Operating Systems - Nov 2023 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 functionalities of Operating Systems? Explain in detail.
How to answer
- Define operating system and its role as resource manager and extended machine
- List functionalities: process, memory, file, device, protection/security, user interface
- Explain each functionality in detail with examples
-
7 MarksbWhat is meant by a System call? How it can be used? How does an application program use these calls during execution?
How to answer
- Define system call and its need for kernel services
- Explain how it is used - trap, parameter passing, kernel mode switch
- Explain application program usage during execution with example and steps
-
7 MarksaWrite about Disk Space Allocation Methods.
How to answer
- Define file allocation and need for disk space management
- Explain contiguous allocation with merits/demerits
- Explain linked and indexed allocation with diagram
-
7 MarksbExplain about the services of operating system.
How to answer
- Define OS services and their purpose
- Explain user services: UI, program execution, I/O, file, communication
- Explain system services: resource allocation, accounting, protection
-
7 MarksaWhat is a Monitor? Explain how dinning philosopher's problem is solved using monitors with example pseudo code.
How to answer
- Define monitor: high-level synchronization construct with condition variables
- Explain procedures, mutual exclusion, wait/signal operations
- Give pseudo-code solution to dining philosophers using monitor
-
7 Marksb
Following is the snapshot of a CPU
Process CPU Burst Arrival Time P1 10 0 P2 29 1 P3 03 2 P4 07 3 Draw the Gantt chart and calculate the turnaround time and waiting time of the jobs for FCFS (First Come First Served), SJF (Shortest Job First), SRTF (Shortest Remaining Time First) and RR (Round Robin with time quantum 10) scheduling algorithms.
How to answer
- Tabulate burst and arrival times for P1-P4
- Draw Gantt charts for FCFS, SJF, SRTF and RR (quantum 10)
- Calculate turnaround time and waiting time for each algorithm and compare
-
7 MarksaConsider the following page reference strings: 1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6 How many page faults would occur for the following replacement algorithm, assuming three, four frames? Remember that all frames are initially empty, so your first unique pages will cost one fault each.
- i)LRU replacement
- ii)Optimal replacement
How to answer
- State reference string 1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6 and frame counts 3 and 4
- Simulate LRU replacement step-by-step and count faults for 3 and 4 frames
- Simulate Optimal replacement step-by-step and count faults for 3 and 4 frames
-
7 MarksbWhat is virtual memory? Discuss the benefits of virtual memory techniques.
How to answer
- Define virtual memory and separation of logical and physical memory
- Explain demand paging / segmentation basis
- Discuss benefits: larger address space, multiprogramming, protection, sharing
-
7 MarksaExplain about deadlock conditions and Banker's algorithm in detail.
How to answer
- List four Coffman deadlock conditions: mutual exclusion, hold and wait, no preemption, circular wait
- Explain each condition with example
- Explain Banker's algorithm: safe state, need matrix, safety and resource-request steps
-
7 MarksbWrite the principles of protection? And explain the access matrix in detail.
How to answer
- State principles of protection: least privilege, complete mediation, etc.
- Define access matrix with domains, objects, rights
- Explain implementation via ACL, capability lists with example
-
7 MarksaWhat do you mean by Deadlock? Explain various methods of handling deadlock.
How to answer
- Define deadlock with example of resource wait cycle
- Explain prevention, avoidance, detection and recovery
- Compare methods and their use in OS
-
7 MarksbExplain Paging Memory Management in detail.
How to answer
- Define paging: fixed-size pages, frames, page table
- Explain address translation: page number and offset, TLB
- Explain advantages like no external fragmentation and sharing/protection
-
7 MarksaGiven memory partition of 100K, 500K, 200K, 300K, and 600K in order, How would each of the First-fit, Best-fit and Worst-fit algorithms place. The processes of 212K, 417K, 112K and 426K in order? Which algorithm makes the most efficient use of memory? Show the diagram of memory status in each case.
How to answer
- List partitions 100K, 500K, 200K, 300K, 600K and requests 212K, 417K, 112K, 426K
- Show placement for First-fit, Best-fit, Worst-fit with memory status diagrams
- Identify most efficient algorithm based on leftover and unallocated requests
-
7 MarksbExplain Protection Mechanism illustrating use of Protection Domain and Access Control List.
How to answer
- Define protection domain and access rights
- Explain Access Control List structure with example
- Illustrate protection mechanism use with diagram
-
14 MarksWrite a short note on any two:
- i)Fixed Partitioning
- ii)Explain mutual exclusion problem
- iii)File System Creation
- iv)Embedded and Mobile Operating Systems
How to answer
- Select any two topics from the four options
- Define and explain each with key points and examples
- Give diagram or use-case where applicable
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