HamiIT
Sign inGet started
Home
ADD CONTENT

Sign in Required

Please sign in to add content

Sign In
ProgramsBsc CSITSemester 4Operating SystemUnit 2: Process Management (10 Hrs.)
Chapter Study

Bsc CSIT Semester 4 – Operating System – Unit 2: Process Management (10 Hrs.)

Comprehensive questions and detailed answers for Unit 2: Process Management (10 Hrs.). Perfect for exam preparation and concept clarity.

20
Questions
130
Marks
Back to All Chapters
1

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

MediumTHEORY5 marks2070(TU Final)
2

“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)
3

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

HardTHEORY10 marks2071(TU Final)
4

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)
5

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)
6

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

MediumTHEORY5 marks2072(TU Final)
7

Explain how multithreading improve performance over a single threaded solution.

MediumTHEORY5 marks2072(TU Final)
8

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

MediumTHEORY5 marks2072(TU Final)
9

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)
10

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

MediumTHEORY5 marks2076(TU Final)
11

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

MediumTHEORY5 marks2076(TU Final)
12

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

HardTHEORY10 marks2078(TU Final)
13

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

MediumTHEORY5 marks2078(TU Final)
14

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

MediumTHEORY5 marks2078(TU Final)
15

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

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

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

MediumTHEORY5 marks2080(TU Final)
17

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

MediumTHEORY5 marks2080(TU Final)
18

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

HardTHEORY10 marks2081(TU Final)
19

Explain how semaphore solves the problem of critical section.

MediumTHEORY5 marks2081(TU Final)
20

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)

Exam Years

Past question papers

2081
TU Final•3 questions
2080
TU Final•4 questions
2080
TU Final•3 questions
2079
TU Final•5 questions
2078
TU Final•3 questions
2076
TU Final•3 questions
2072
TU Final•4 questions
2071
TU Final•2 questions
2070
TU Final•2 questions

Questions in Unit 2: Process Management (10 Hrs.)

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

Marks: 5

Year: 2070 Final TU

- Parallelism: Multiple cores execute threads simultaneously → higher throughput. - Overlap I/O and CPU: While one thread blocks on I/O, another runs → better CPU utilization. - Responsiveness: GU

“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 th

Marks: 5

Year: 2070 Final TU

- Semaphores provide minimal, powerful primitives (P/wait, V/signal). - Critical sections: Protect shared data; without semaphores, races corrupt state. - Ordering: Counting semaphores model bound

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

Marks: 10

Year: 2071 Final TU

Thread-Based Execution and Multithreading Models 1. How Thread-Based Execution Minimizes Context Switching - Definition of Thread: A thread is the smallest unit of CPU execution within a process. Mul

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 -> Rea

Marks: 5

Year: 2071 Final TU

Process State Transitions | Transition | Possible? | Example / Explanation | |--------------------|-----------|---------------------| | Running → Ready | Yes | Preemption by scheduler:

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] Proces

Marks: 10

Year: 2072 Final TU

(a) What is a Race Condition? A race condition occurs in a multi-process or multi-threaded environment when two or more processes access and modify shared data simultaneously, and the final outcome de

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

Marks: 5

Year: 2072 Final TU

Difference Between Program and Process | Program | Process | |-------------|--------------| | A program is a set of instructions written to perform a specific task. | A process is a program in executi

Explain how multithreading improve performance over a single threaded solution.

Marks: 5

Year: 2072 Final TU

How Multithreading Improves Performance Over Single-Threaded Solutions 1. Definition: - Single-threaded program: Executes one task at a time within a single process. - Multithreaded program: Divides a

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

Marks: 5

Year: 2072 Final TU

Peterson’s Solution for Mutual Exclusion 1. Definition: Peterson’s solution is a classical software-based algorithm used to ensure mutual exclusion between two processes accessing a critical section (

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 pr

Marks: 10

Year: 2076 Final TU

Interactive System Goals Interactive systems focus on fast response to users. Major goals are: - Fast Response Time: System should respond quickly to user actions. - Fairness: Each user/process gets a

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

Marks: 5

Year: 2076 Final TU

When Threads Are Better Than Processes Threads are preferred over processes in situations where tasks need to run simultaneously within the same application. They are better when: - Faster Context Swi

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

Marks: 5

Year: 2076 Final TU

Problems Associated with Semaphores Semaphores are powerful synchronization tools, but they have some drawbacks: 1. Complex to Use Correctly Programmers must manually use wait() and signal() in t

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

Marks: 10

Year: 2078 Final TU

Sleep and Wakeup Mechanism for Mutual Exclusion 1. Concept: - The sleep and wakeup mechanism is a software-based way to achieve mutual exclusion without busy waiting. - Idea: - If a process cann

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

Marks: 5

Year: 2078 Final TU

Lock Variable 1. Definition: - A lock variable is a shared boolean variable used to achieve mutual exclusion between processes in a critical section. - Purpose: Ensure that only one process enters t

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

Marks: 5

Year: 2078 Final TU

SJF and SRTN Scheduling Algorithms 1. Shortest Job First (SJF) Scheduling - Type: Non-preemptive - Concept: - Among the available processes, select the one with the shortest burst (execution) ti

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.

Marks: 10

Year: 2080 Final TU

1. Why Process Scheduling is Needed - The CPU is a shared resource among multiple processes. - Scheduling ensures: 1. Efficient CPU utilization 2. Fairness among processes 3. Reduced wai

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

Marks: 5

Year: 2080 Final TU

1. System Call Definition: A system call is a request made by a user-level program to the operating system (kernel) to perform operations that cannot be done directly by the program, such as: - File

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

Marks: 5

Year: 2080 Final TU

Lock Variable in Achieving Mutual Exclusion 1. Concept A lock variable is a shared boolean variable used to control access to a critical section (CS). - lock = 0 → critical section is free - lock

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

Marks: 10

Year: 2081 Final TU

Sleeping Barber Problem 1. Introduction The Sleeping Barber Problem is a classical process synchronization problem introduced by Dijkstra. It demonstrates how to handle synchronization between mult

Explain how semaphore solves the problem of critical section.

Marks: 5

Year: 2081 Final TU

Semaphore and Critical Section (5 Marks) A semaphore is a synchronization tool used in operating systems to control access to the critical section and avoid race conditions. It ensures that only one p

Calculate the average waiting time and turnaround time using priority algorithm (Priority 1 being the highest) for the given scenario: PID |Brust Time |Arrival Time |Priority| ---|----|----|----| A |3

Marks: 5

Year: 2081 Final TU

Priority Scheduling (Non-preemptive) — Calculation Assumption: Non-preemptive priority scheduling (priority 1 = highest). If a process is running it is not preempted by a newly arrived higher priori

About Unit 2: Process Management (10 Hrs.) Questions

This page contains comprehensive questions from the Unit 2: Process Management (10 Hrs.) chapter of Operating System, part of the Bsc CSIT Semester 4 curriculum. All questions include detailed model answers from past TU exam papers.

Study Tips

  • Review concepts before attempting questions
  • Practice writing complete answers
  • Compare your answers with model solutions
  • Focus on questions from recent years
  • Use direct links (#question-ID) to bookmark and share specific questions

Related Resources

← Back to Operating System Chapters

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.

H
Hami IT

Empowering IT students with quality education resources and comprehensive exam preparation materials.

Programs

  • Flutter
  • Java
  • DevOps

Company

  • About Us
  • Contact

Contact

  • 📧hamiit.dev@gmail.com
  • 📞+977 9813706443
  • 📍Kathmandu, Nepal

© 2026 Hami IT. All rights reserved.