2019 question paper

Operating System

13 questions

  1. Q1a. What is operating system? (i) Collection of programs that manages hardware resources (ii) System service provider to the application programs20192m

    Module 1: Introduction to Operating Systems

    What is operating system?

    (i) Collection of programs that manages hardware resources
    (ii) System service provider to the application programs

    View this question on its own page →
  2. Q1g. The processes that are residing in main memory and are ready and waiting to execute are kept on a list called (i) job queue (ii) ready queue (iii) execution queue (iv) process queue20192m

    Module 2: Processes & Scheduling

    The processes that are residing in main memory and are ready and waiting to execute are kept on a list called

    (i) job queue
    (ii) ready queue
    (iii) execution queue
    (iv) process queue

    View this question on its own page →
  3. Q1h. Which of the following conditions is required for deadlock to be possible? (i) Mutual exclusion (ii) A process may hold allocated resources while awaiting assignment of other resources (iii) No resource can be forcibly removed from a process holding it (iv) All of the above20192m

    Module 4: Deadlocks

    Which of the following conditions is required for deadlock to be possible?

    (i) Mutual exclusion
    (ii) A process may hold allocated resources while awaiting assignment of other resources
    (iii) No resource can be forcibly removed from a process holding it
    (iv) All of the above

    View this question on its own page →
  4. Q1i. Which one of the following is the deadlock avoidance algorithm? (i) Banker's algorithm (ii) Round-robin algorithm (iii) Elevator algorithm (iv) Karn's algorithm20192m

    Module 4: Deadlocks

    Which one of the following is the deadlock avoidance algorithm?

    (i) Banker's algorithm
    (ii) Round-robin algorithm
    (iii) Elevator algorithm
    (iv) Karn's algorithm

    View this question on its own page →
  5. Q1j. Physical memory is broken into fixed-sized blocks called (i) frames (ii) pages (iii) backing store (iv) None of the above20192m

    Module 5: Memory Management

    Physical memory is broken into fixed-sized blocks called

    (i) frames
    (ii) pages
    (iii) backing store
    (iv) None of the above

    View this question on its own page →
  6. Q2. What is process control block? Explain it. Discuss the difference among short-term, medium-term and long-term scheduling.201914m

    Module 2: Processes & Scheduling

    What is process control block? Explain it.

    Discuss the difference among short-term, medium-term and long-term scheduling.

    View this question on its own page →
  7. Q3. Consider the following process : | Process | Arrival Time | Burst Time | | :--- | :--- | :--- | | P1 | 0.0 | 7 | | P2 | 2.0 | 4 | | P3 | 4.0 | 1 | | P4 | 5.0 | 4 | Considering non-preemptive and preemptive SJF algorithm, find out average waiting time and average turnaround time in both cases.201914m

    Module 2: Processes & Scheduling

    Consider the following process :

    Process Arrival Time Burst Time
    P1 0.0 7
    P2 2.0 4
    P3 4.0 1
    P4 5.0 4

    Considering non-preemptive and preemptive SJF algorithm, find out average waiting time and average turnaround time in both cases.

    View this question on its own page →
  8. Q4. What do you understand by race condition? Give few example of arising of race condition in concurrent processing.201914m

    Module 3: Inter-process Communication

    What do you understand by race condition?

    Give few example of arising of race condition in concurrent processing.

    View this question on its own page →
  9. Q5. (a) Define semaphore. Give a scheme for implementation of semaphore primitives. (b) What do you mean by critical section problem? What is the solution to the critical section problem?201914m

    Module 3: Inter-process Communication

    (a) Define semaphore. Give a scheme for implementation of semaphore primitives.

    (b) What do you mean by critical section problem? What is the solution to the critical section problem?

    View this question on its own page →
  10. Q6. (a) What is a thread? (b) How is thread different from a process? (c) What resources are used when a thread is created?201914m

    Module 2: Processes & Scheduling

    (a) What is a thread?

    (b) How is thread different from a process?

    (c) What resources are used when a thread is created?

    View this question on its own page →
  11. Q7. How many page faults would occur for the following reference string for four page frames and three page frames using LRU and FIFO algorithms: 1, 2, 3, 4, 5, 5, 3, 4, 1, 6, 7, 8, 7, 8, 9, 7, 8, 9, 5, 4, 5, 4, 2.201914m

    Module 5: Memory Management

    How many page faults would occur for the following reference string for four page frames and three page frames using LRU and FIFO algorithms:

    1, 2, 3, 4, 5, 5, 3, 4, 1, 6, 7, 8, 7, 8, 9, 7, 8, 9, 5, 4, 5, 4, 2.

    View this question on its own page →
  12. Q8. Define deadlock. List four necessary conditions for occurrence of deadlock. A system contains six units of resource, and *n* processes that use the resource. What is the maximum value of *n* for which the system will be deadlock free if the maximum requirement of each process is 3?201914m

    Module 4: Deadlocks

    Define deadlock. List four necessary conditions for occurrence of deadlock.

    A system contains six units of resource, and n processes that use the resource. What is the maximum value of n for which the system will be deadlock free if the maximum requirement of each process is 3?

    View this question on its own page →
  13. Q9. Explain shortest-seek-time-first (SSTF) disk scheduling. Why SSTF scheduling tends to favour middle cylinders over the innermost and outer-most cylinders?201914m

    Module 6: I/O & File Management

    Explain shortest-seek-time-first (SSTF) disk scheduling.

    Why SSTF scheduling tends to favour middle cylinders over the innermost and outer-most cylinders?

    View this question on its own page →