0% found this document useful (0 votes)
14 views3 pages

Module 2 QB PDF

Uploaded by

adku23ece
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)
14 views3 pages

Module 2 QB PDF

Uploaded by

adku23ece
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
You are on page 1/ 3

Consider the following set of processes, with the length of the CPU burst is given below

in milliseconds. The processes are assumed to have arrived in the order P1, P2,P3. Draw
a Gantt Chart and calculate the average waiting time and average turnaround time for all
processes using Round Robin (quantum = 2 ms) and SJF.
Process Arrival Burst
P1 0 5
P2 1 10
P3 2 2
P4 3 1
Consider the following set of processes, with the length of the CPU burst is given below in
milliseconds. The processes are assumed to have arrived in the order P1,P2,P3. Draw a Gantt
Chart and calculate the average waiting time and average turnaround time for all processes
using Round Robin (quantum = 2 ms) and Priority scheduling algorithms
Process Arrival Burst Priority
P1 0 10 3
P2 1 1 1
P3 2 2 3
P4 3 1 4
P5 4 5 2
Consider the following set of processes, with the length of the CPU burst is given below in
milliseconds. Draw a Gantt Chart and calculate the average waiting time and average
turnaround time for all processes using Round Robin (quantum = 2 ms) and FCFS CPU
scheduling algorithms.
Process Arrival Burst
P1 0 24
P2 1 3
P3 2 3

1. Define Process. Describe the structure of process in memory.


2. What are the 5 process states? Discuss with a neat diagram.
3. Explain the structure of PCB with a neat diagram.
0. Define context switching. Explain the process of CPU switching with a neat diagram
0. Demonstrate the operations of process creation and process termination in UNIX
0. What is Interprocess communication? Explain types of IPC.
0. Differentiate between shared memory systems and message passing systems.
0. Explain the various models of multithreading with one pros and cons.
0. What are the differences between user level threads and kernel level threads? Under
what circumstances is one type better than the other?

You might also like