CSC264 Operating Systems

Operating Systems TU Board 2080 (new course) question paper

12 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Science in Computer Science and Information Technology

Semester 4 · TU Board 2080 (new course)

Course Title: Operating Systems (CSC264)

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

Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks.

Group A

Attempt any TWO question.(2 × 10 = 20)

  1. 1.

    How DMA operation is performed? Consider a disk with 200 tracks and the queue has random requests from different processes in the order : 45, 48, 29, 17, 80, 150, 28 and 188. Find the seek time using FIFO, SSTF and SCAN. Assume the initial position of head as 100.

    10
  2. 2.

    How do you distinguish between deadlock and starvation ? Describec. Explain working mechanism of TLB.

    10
  3. 3.

    Why do we need to schedule process? Find the average waiting time and average turnaround time for the following set of processes using FCFS, SJF, RR (Quantum = 3) and shortest remaining time next.

    Process
    CPU brust time
    Arrival time
    P1
    20
    0
    P2
    25
    15
    P3
    10
    30
    P4
    15
    45

    10

Group B

Attempt any EIGHT question(8 × 5 = 40)

  1. 4.

    What is system call ? Describe the transition between different states of process.

    5
  2. 5.

    Discuss about contiguous and linked list file allocation technique.

    5
  3. 6.

    Why do we need virtual memory? Describe the sructure of a page table.

    5
  4. 7.

    Illustrate the term safe and unsafe state in deadlock prevention with scenario.

    5
  5. 8.

    How lock variable is used in achieving mutual exclusion? Describe.

    5
  6. 9.

    Why do we need hierarchical directory system? Explain structure of disk.

    5
  7. 10.

    Find the number of page fault using FIFO and LRU for the refrence string 4, 7, 6, 1, 7, 6, 1, 2, 7, 2 with frame size 3.

    5
  8. 11.

    Define working set. How does clock replacement algorithm works?

    5
  9. 12.

    Write short notes on :

    1. Inode
    2. RAID
    5

— The End —