Operating Systems 2073

Question Paper Details
Tribhuwan University
Institute of Science and Technology
2073
Bachelor Level / Third Semester / Science
Computer Science and Information Technology ( CSC-203 )
( Operating Systems )
Full Marks: 60
Pass Marks: 24
Time: 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.

Section-A

Attempt any two questions:   (2x10=20)

Official Answer
AI Generated Answer

AI is thinking...

1.  How semaphore is used for the process synchronization? Do you think semaphore is the best solution for solving critical section problem? Explain using it in Producer-consumer problem.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2.  Define the first-fit, best-fit and worst-fit strategies of memory placement. Given memory partitions of 10 k, 4 k, 20 k, 18 k, 7 k, 9 k, 12 k, and 15 k (in order). How would each of first- fit, best fit and worst fit algorithms place processes of 12 k, 10 k and 9 k (in order)? Which algorithms make the best use of memory?

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3.  What do you mean by disk management? Explain the error handling and formatting operation on the disk.

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Section-B

Attempt any eight questions:   (8x5=20)

Official Answer
AI Generated Answer

AI is thinking...

4.  Classify the following applications as batch-oriented or interactive and explain the reason

a)  Word processing

b)  Generating monthly bank statements

c)  Computing pi to a million decimal places

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5.  What is thrashing? Explain the cause and solution for thrashing.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6.  Given references to the following pages by a 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 here page frames available to it and uses FIFO replacement?

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7.  Discuss in detail the use of translation look aside buffer (TLB) in the process of paging. Support your answer with illustration.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8.  What is memory-mapped I/O? Explain with merits and demerits.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9.  Write short notes on:

a)  Memory Compaction

b) Virtual Machines

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10.  What do you mean by interrupt? Explain the working mechanism of interrupt controller.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11.  A disk queue has the following request to read tracks: 87, 170, 4, 57, 173, 32, 67 and 183. If disk head is initially at cylinder 90 and there are total 200 tracks then calculate total head movement using C-SCAN and C-LOOK algorithm.

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12.  What are the scheduling criteria? How does preemptive priority scheduling introduce starvation?

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...