Chapter Study

BCA 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.

10
Questions
65
Marks
Back to All Chapters

Given references to the following pages by a program 0, 9, 0, 1, 8, 1, 8, 7, 8, 7, 1, 2, 8, 2, 7, 8, 2, 3, 8, 3. How many page faults will occur if the program has three page frames for each of the following algorithms?
a) FIFO
b) LRU

MediumTHEORY5 marks2020(TU FOHSS Final)

Write short notes on any TWO :
a) Producer Consumer problem
b) Coalescing and Compaction
c) Ubuntu

MediumTHEORY5 marks2021(TU FOHSS Final)

Define the terms page fault and thrashing. Consider the following page reference string: 1, 3, 5, 1, 7, 1, 5, 5, 1, 4, 2, 7, 6, 3, 4, 1. How many page faults would occur for each of the following page replacement algorithms assuming 3 page frames?a) FIFO page replacementb) LRU page replacementc) Optimal page replacement

MediumTHEORY10 marks2021(TU FOHSS Final)

What is thrashing? Explain three memory management requirements?

MediumTHEORY5 marks2022(TU FOHSS Final)

Given five memory partition of 100KB, 500KB, 200KB, 300KB and 600KB (in order). How would the first fit, best fit and worst fit algorithm place processes of size 212KB, 417KB,112KB, and 426KB (in order) in fixed-size partition? Which algorithm makes the most efficient use of memory?

MediumTHEORY5 marks2022(TU FOHSS Final)

How second chance page replacement algorithm differ from FIFO page replacement policy? Explain the concept of belay’s anomaly with suitable example.

MediumTHEORY10 marks2022(TU FOHSS Final)

Given memory partitions of 200k, 600k, 300k, 400k, and 700k (in order), how would each of the First-fit, Best-fit, and Worst-fit algorithms place processes of 315k, 527k, 202k, and 548k (in order)? Which algorithm makes the most efficient use of memory?

MediumTHEORY5 marks2023(TU FOHSS Final)

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

MediumTHEORY5 marks2024(TU FOHSS Final)

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

MediumTHEORY5 marks2024(TU FOHSS Final)

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,17, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2, 3, 0, 1

MediumTHEORY10 marks2024(TU FOHSS Final)
Showing 10 questions

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