Chapter Study

BSC CSIT Semester 4 Operating System () Questions & Answers | Past TU Exam Papers

Practice from Operating System with detailed solutions and model answers from past Tribhuvan University exams.

20
Questions
130
Marks
Back to All Chapters
  1. For the processes listed in the following table, draw a Gantt chart illustrating their execution using:

    • a) First-Come-First-Serve (FCFS)
    • b) Shortest-Job-First (SJF)
    • c) Shortest-Remaining-Time-Next (SRTN)
    • d) Round-Robin (quantum = 2)
    • e) Round-Robin (quantum = 1)
    ProcessesArrival TimeCPU Time
    A0.0003
    B1.0016
    C4.0014
    D6.0022
    • What is the turnaround time for each algorithm?

    OR

    What do you mean by disk management? What is the major difference between error handling and formatting?

HardNumerical10 marks2070(TU Final)
  1. How many page faults occur for each of the following page replacement algorithms for the reference string
    0 1 7 2 3 2 7 1 0 3 with four page frames and eight pages?
    Suppose all frames are initially empty.
    • a) Optimal replacement
    • b) FIFO replacement
    • c) LRU replacement
    • d) Clock replacement
HardNumerical10 marks2070(TU Final)

What are Segmentation and Paging? Why are they sometimes combined into one scheme?

MediumTHEORY5 marks2070(TU Final)

What is page fault? Consider the following page reference string; 3, 3, 5, 4, 7, 1, 5, 5, 1, 4, 3, 7, 6, 3, 4, 1. How many page faults would occur for each of the following page replacement algorithms assuming 4 page frames?
a) LRU page replacement
b) FIFO page replacement
c) Optimal page replacement
d) Clock replacement

HardNumerical10 marks2071(TU Final)

Differentiate between internal and external fragmentation with example.

MediumTHEORY5 marks2071(TU Final)

What are the segmentation and paging? Why they are combined into one scheme?

MediumTHEORY5 marks2071(TU Final)

Write short notes: (Any two)
a) Best Fit vs. Worst Fit
b) Swapping
c) Semaphores

MediumTHEORY5 marks2071(TU Final)

Given a references to the following pages by program,
1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6.
How many page faults will occur if the program has three page frames available to it and uses LRU replacement?

MediumNumerical5 marks2072(TU Final)

What is Fragmentation? Differentiate between internal and external fragmentation.

MediumTHEORY5 marks2072(TU Final)

How Second Chance page replacement algorithm differs from FIFO page replacement policy? Discuss the concept of Belady’s anomaly with suitable example.

HardTHEORY10 marks2076(TU Final)

Why program relocation and protection is important? Explain the technique of achieving program relocation and protection.

MediumTHEORY5 marks2076(TU Final)

Why OPR is best but not pratically fessible page replacement algorithm? Calculate the number of page faults for OPR, LRU and Clock page replacement algorithm for the reference string: 1, 3, 4, 2, 3, 5, 4, 3, 1, 2, 4, 6, 3, 2, 1, 4, 2. Assume the memory size is 3.

HardNumerical10 marks2078(TU Final)

Differentiate between internal and external fragmentation? Suppose that we have memory of 100 KB with 5 partitions of size 150 KB, 200 KB, 250 KB, 100 KB, and 300 KB. Where the processes A and B of size 175 KB and 125 KB will be loaded, if we used Best-Fit, and Worst-Fit Strategy?

MediumNumerical5 marks2078(TU Final)

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

MediumTHEORY5 marks2080(TU Final)

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

MediumNumerical5 marks2080(TU Final)

Define working set. How does clock replacement algorithm works?

MediumTHEORY5 marks2080(TU Final)

Explain the translation of logical address into physical address using segment table with necessary diagram. List advantages and disadvantages of segmentation.

HardTHEORY10 marks2081(TU Final)

Consider a swapping system in which memory consists of the following hole sizes in memory order:

15 MB, 2 MB, 10 MB, 6 MB, 8 MB and 20 MB.

Which hole is taken for successive segment requests of:

(a) 10 MB

(b) 10 MB

For first fit, next fit and best fit.

MediumNumerical5 marks2081(TU Final)

Write short notes on:

a. Virtual Memory

b. Race Condition

MediumTHEORY5 marks2081(TU Final)

Consider the page references 7,0,1,2,0,3,0,4,2,3,0,3,2, Find the number of page fault using OPR and FIFO, with 4 page frame.

MediumNumerical5 marks2079(TU Final)
Showing 20 questions (more available)

Unit 4: Memory Management (8 Hrs.) chapter questions with answers for Operating System (BSC CSIT Semester 4). Prepare for TU exams with our comprehensive question bank and model answers.