0% found this document useful (0 votes)
19 views2 pages

OS Assignment 2

Uploaded by

pbhavy15
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views2 pages

OS Assignment 2

Uploaded by

pbhavy15
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

BHAGWAN MAHAVIR UNIVERSITY

FACULTY OF ENGINEERING
COMPUTER/IT ENGINEERING DEPARTMENT
4TH SEM
ASSIGNMENTS

Operating System – Theory (2010206401)

Unit-2: Process Management and Process Scheduling

Que 1: Answer the following Questions. (2 Marks)

1. Explain context switching.


2. Explain Thread Life Cycle with diagram.
3. Difference between process and thread.
4. Explain different states of a process with a suitable diagram.
5. Differentiate between a process and a program.
Que 2: Answer the following Questions. (4 Marks)

1. What is thread? Explain thread Structure? And explain any one type of thread
in detail.
2. Explain process control block with diagram.
3. Explain process states model with diagram. Or Draw process state diagram.
Explain each transition among them in detail.
4. What is a scheduler? Explain queuing diagram representation of process
scheduler with figure
Que 3: Answer the following Questions. (6 Marks)

1. Define a process. Explain the process state transition with a neat diagram.
2. What is thread and what are the differences between user-level threads and
kernel supported threads? Under what circumstances is one type “better” than
the other?
3. Explain the Round Robin algorithm with a proper example.
4. Explain SJF process scheduling algorithm with examples.
5. Explain thread implementation in user space with its advantages and
disadvantages.

You might also like