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

Describe how multithreading improves performance over a single-threaded solution.

MediumTHEORY5 marks2070(TU Final)

“Using Semaphore is very critical for programmer.”
Do you support this statement? If yes, prove the statement with some logical facts.
If not, present your view with logical facts against the statement.

MediumTHEORY5 marks2070(TU Final)

How thread based execution minimizes the context switching problem of process based execution? Explain the different multithreading model.

HardTHEORY10 marks2071(TU Final)

For each of the following transitions between the processes states, indicate whether the transition is possible. If it is possible, give an example of one thing that would cause it.
a) Running -> Ready
b) Running -> Blocked
c) Blocked -> Running

MediumTHEORY5 marks2071(TU Final)

What is race condition? Calculate Average Waiting and Average Turnaround time of the given set of processes in table below using SJF and RR scheduling algorithm. [Note: Quantum time for RR = 3]

Process idArrival TimeExecution Time
A08
B214
C919
D197
E2515
MediumTHEORY10 marks2072(TU Final)

How does process differ from program? Explain process state with the help of block diagram.

MediumTHEORY5 marks2072(TU Final)

Explain how multithreading improve performance over a single threaded solution.

MediumTHEORY5 marks2072(TU Final)

Describe how Peterson’s solution preserve mutual exclusion in process CR execution.

MediumTHEORY5 marks2072(TU Final)

Defined interactive system goals? List various interactive scheduling algorithms. Consider following process data and compute average waiting time and average turnaround time for RR(quantum 10) and priority scheduling algorithms.

PIDBurst TimeArrival TimePriority
A1601
B37122
C2573
HardTHEORY10 marks2076(TU Final)

When threads are better than processes? Explain the concept of user level threads in detail.

MediumTHEORY5 marks2076(TU Final)

What is problem associated with semaphores? Explain the concept of monitors in brief.

MediumTHEORY5 marks2076(TU Final)

What kind of problem arises with sleep and wakeup mechanism of achieving mutual exclusion? Explain with suitable code snippet.

HardTHEORY10 marks2078(TU Final)

What is lock variable? Discuss its working and problems associated with it in detail.

MediumTHEORY5 marks2078(TU Final)

Discuss the concept of SJF and SRTN scheduling algorithms with suitable example.

MediumTHEORY5 marks2078(TU Final)

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)FCFS, SJF, RR (Quantum = 3) and shortest remaining time next.

ProcessCPU brust timeArrival time
P1200
P22515
P31030
P41545
HardTHEORY10 marks2080(TU Final)

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

MediumTHEORY5 marks2080(TU Final)

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

MediumTHEORY5 marks2080(TU Final)

Explain the Sleeping Barber problem. Illustrate on how it can be solved.

HardTHEORY10 marks2081(TU Final)

Explain how semaphore solves the problem of critical section.

MediumTHEORY5 marks2081(TU Final)

Calculate the average waiting time and turnaround time using priority algorithm (Priority 1 being the highest) for the given scenario:

PIDBrust TimeArrival TimePriority
A303
B223
C432
D231
MediumTHEORY5 marks2081(TU Final)
Showing 20 questions (more available)

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