Assignments OS

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Assignments for Unit I

1. What is an OS? Explain any 4 types of OS.


2. What is PCB? Describe in detail.
3. Describe the various services provided by an OS.
4. What is a system call? Write 2 system calls each of UNIX and Windows.
5. Differentiate between
a. Process and thread
b. User level thread and Kernel level thread

Assignments for Unit II

1. Differentiate between different types of scheduler.


2. Define the term critical section. What are the requirements for critical section problem?
3. How do you can achieve mutual exclusion? Discuss any two methods.
4. Give the semaphore solution for dining philosopher problem.
5. Consider the following set of processes, with the length of the CPU burst given in
milliseconds.

Process Burst Time Priority

P1 10 3

P2 1 1

P3 2 3

P4 1 4

P5 5 2

Calculate the average waiting time and average turnaround time of the system.

You might also like