CACS251 Operating System

Operating System TU Board 2024 question paper

10 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Computer Application

Semester 4 · TU Board 2024

Course Title: Operating System (CACS251)

Full Marks: 60Pass Marks: 24Time: 3 hours

Candidates are required to answer the question in their own words as far as possible.

Group A

    Group B

    Attempt any SIX question.(6 × 5 = 30)

    1. 2.

      Define kernel. Explain different types of kernel in operating system.

      5
    2. 3.

      What is PCB? What are different information that are included in a PCB?

      5
    3. 4.

      How paging can be used for memory management? Also differentiate it with segmentation.

      5
    4. 5.

      What are page faults and thrashing? Explain demand paging with protection bit.

      5
    5. 6.

      How deadlock can be prevented? Explain in detail.

      5
    6. 7.

      Explain different file access methods in detail.

      5
    7. 8.

      What is distributed system? Explain the role of clock synchronization in distributed system.

      5

    Group C

    Attempt any TWO questions(2 × 10 = 20)

    1. 9.

      What is critical section problem? How semaphores can be used to solve critical section problem Also explain producer consumer problem with its solution using Mutex.

      10
    2. 10.

      What is Belady's Anomaly in page replacement Algorithm? Explain with example. Consider the following page reference string: 7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2, 3, 0, 1 How many page facts will occur if the program has four page frames available to it and usesthe following page replacement algorithm? a) FIFO replacement b) LRU replacement c) Optimal replacement

      10
    3. 11.

      What is use of DMA controller? Consider the following process and answer the following questions.ProcessAllocationMaxAvailable[A,B,C,D][A,B,C,D][A,B,C,D]P00 0 1 10 0 1 21 5 2 0P11 0 0 01 7 5 0P21 3 5 42 3 5 6P30 6 3 20 6 5 2P40 0 1 40 6 5 6a) What is the content of need matrix? b) Is the system in safe state? c) If P2 request (3 4 0 2), can the request be granted Immediately.

      10

    — The End —