CY-404 · Operating Systems/Unsolved PYQ Paper
CY-404 Operating Systems - Jun 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 MarksaDiscuss the functions of operating system.
How to answer
- Define operating system as resource manager and extended machine
- List functions: process, memory, file, device, security management
- Explain each function briefly with examples
- Mention user interface and system call interface role
-
7 MarksbList and explain the types of system calls.
How to answer
- Define system call as interface between process and OS
- List types: process control, file management, device management, information maintenance, communication
- Explain each type with examples like fork, open, read, wait
- Diagram of system call execution if needed
-
7 MarksaDiscuss the characteristics of operating system.
How to answer
- Define operating system characteristics
- Discuss concurrency, sharing, long-term storage, efficiency
- Explain batch, multiprogramming, time-sharing features
- Mention reliability and portability
-
7 MarksbWrite and explain the process states with a neat sketch.
How to answer
- List five states: new, ready, running, waiting/blocked, terminated
- Provide neat process state transition diagram
- Explain transitions: admit, dispatch, interrupt, I/O wait, exit
- Explain role of scheduler in transitions
-
7 MarksaDefine semaphore. How does the semaphore work. Illustrate with an example.
How to answer
- Define semaphore as integer synchronization variable
- Explain wait/P and signal/V operations with queue
- Distinguish counting vs binary semaphore
- Illustrate with producer-consumer or mutual exclusion example
-
7 MarksbList the conditions that must be present for deadlock to occur and for each condition give brief example or reason that illustrate the disadvantage in preventing the condition.
How to answer
- List four Coffman conditions: mutual exclusion, hold and wait, no preemption, circular wait
- Give brief example for each condition
- Explain why preventing each condition is disadvantageous/costly
- Conclude deadlock requires all four simultaneously
-
7 MarksaDifferentiate between internal and external fragmentation.
How to answer
- Define fragmentation in memory allocation
- Explain internal fragmentation: wasted space inside fixed partition
- Explain external fragmentation: scattered free holes
- Compare in table: cause, location, solution like compaction/paging
-
7 MarksbExplain the procedure that ensure protection using paging.
How to answer
- Explain paging address translation with page table
- Describe valid-invalid bits and protection bits
- Explain how illegal access traps via page table entry
- Mention TLB and read/write/execute permissions
-
7 MarksaWrite short notes on memory management in UNIX.
How to answer
- Outline UNIX memory management: paging and swapping
- Explain text, data, stack regions and page replacement
- Mention buddy system / slab or free list
- Note demand paging and virtual memory support
-
7 MarksbSuppose the head of a moving head disk with 200 tracks, numbered 0 to 199, is currently serving a request at track 143 and has just finished a request at track 125. If the queue of requests is kept in FIFO order: 86, 147, 91, 177, 94, 150, 102, 175, and 130 What is the total head movement to satisfy these requests for the FCFS disk scheduling algorithms?
How to answer
- State FCFS services requests in FIFO order from current head at 143
- Compute absolute differences: |143-86|+|86-147|+... etc.
- Sum to get total head movement in tracks/cylinders
- State final total = 565 tracks
-
7 MarksaDiscuss in brief the following diskspace allocation method: Linked
How to answer
- Define linked allocation with directory pointer to first block
- Explain each block contains pointer to next block
- List advantages: no external fragmentation, dynamic size
- List disadvantages: sequential access, pointer overhead, reliability
-
7 MarksbDiscuss in brief the following diskspace allocation method: Indexed
How to answer
- Define indexed allocation with index block
- Explain directory holds pointer to index block with block pointers
- List advantages: direct access, no external fragmentation
- List disadvantages: index overhead, size limit
-
7 MarksaExplain in detail about asynchronous operations in I/O management.
How to answer
- Define synchronous vs asynchronous I/O
- Explain non-blocking, overlapped computation and I/O
- Describe device drivers, interrupts, buffers in async operation
- Give examples of async system calls
-
7 MarksbList out the differences between distributed and multiprocessor operating systems.
How to answer
- Define distributed vs multiprocessor OS
- Compare on memory, communication, coupling, autonomy
- Tabulate differences: shared memory vs message passing
- Give examples of each system
-
14 MarksWrite short notes on any two of the following:
- a)Utility programs
- b)Virtual concurrency
- c)Paged segmentation
- d)File Systems in UNIX
How to answer
- Select any two topics from a-d
- Define each topic with key features
- Explain working with diagram/example where applicable
- Conclude with 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