L-2.8: Pre-emptive Priority Scheduling Algorithm with Example | Operating System

preview_player
Показать описание

In pre-emptive priority scheduling algorithm, every time a process with higher priority arrives in the waiting queue, the CPU cycle is shifted to the process with the highest priority. This is pre-emptive because a process that's already being executed can be stopped to execute a process with higher priority.

►Operating System (Complete Playlist):

Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
►Design and Analysis of algorithms (DAA):
►Database Management System:
► Theory of Computation
►Artificial Intelligence:
►Computer Networks (Complete Playlist):
►Computer Architecture (Complete Playlist):
►Structured Query Language (SQL):
►Discrete Mathematics:
►Compiler Design:
►Number System:
►Cloud Computing & BIG Data:
►Software Engineering:
►Data Structure:
►Graph Theory:
►Programming in C:
►Digital Logic:

---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Рекомендации по теме
Комментарии
Автор

*Apke explanation itni easy h k theory parhne ki zaroorat nh bus numericals dekho or theory khud bna lo thanks sir*

ShoaibxDofficial
Автор

After watching this video my all doubt had cleared regarding algorithm. Your teaching style is fabulous. Thanks Sir

muraripandit
Автор

Final papers night, and you are my special guest thanks a world.💗

jameskamgar
Автор

Sir you’re doing an excellent job. Keep helping students. May God help you too!

sadafshahbaz
Автор

Tommorow is my exam & by ur explanation skills i can solve any priority scheduling algorithm 🤝💥.

kaustya
Автор

I am from bangladesh .You are really boss in understanding the concept clearly

mmhshazin
Автор

i have spend 6 months behind operating system but i got clear concept tonight before examination thank you so much sir

GauravKumar-dych
Автор

you are awesome sir
There is hardly teachers like you out there
love from Kashmir

rehaansofi
Автор

Consider a pre-emptive priority based scheduling algorithm
based on dynamically changing priority. Larger priority number
implies higher priority. When the process is waiting for CPU in the
ready queue (but not yet started execution), its priority changes at a
rate a = 2. When it starts running, its priority changes at a rate b = 1.
All the processes are assigned priority value 0 when they enter ready
queue. Assume that the following processes want to execute:
Process Arrival Service
ID Time Time
P1 0 4
P2 1 1
P3 2 2
P4 3 1
The time quantum q = 1. When two processes want to join ready
queue simultaneously, the process which has not executed
recently is given priority. The finish time of processes P1, P2, P3
are..Plz make a video solving this question..

shallubajaj
Автор

Ek no. Video bhai itne detail mai kisi nai ni smjha rakha

dishantgupta
Автор

Your explanation was crystal clear, Thanks a lot .
Also not me watching this before 2 h of exam

bibihajiram.s
Автор

thank you sir for being the best teacher ever...the way you teach is amazing ...best channel for students like me ...thanks a lot sir😇 ..very helpful

cst__nazmeengulfrosh
Автор

you are the best teacher as compared to other youtube teacher your lectures are very helpful for me>and your teaching style is extraordinary better

hamzahanif
Автор

ek ap hi jo algorithm based type topic ko itna acha samjhate hai apko enigneering valo bacho ki dua legegi

shreyanshgupta
Автор

Thank you sir....apne sari cpu algo bht hi ache se smjhayi hui hai.... God bless you.... May you live long 🤗✨🙏

Jyoti_Trivedi
Автор

My exam is just half hour away and ur are saving me😂

bwdroonayt
Автор

You are Amazing Sir, You Made Difficult Concepts Easy Better Than Paid Courses 🙏

HKSWAG_
Автор

I'm a big fan of you sir... Because ur teaching way is good & great.. 😊

Faizan-bift
Автор

Wow Amazing Salute to you sir.... Great explanation 🙏🙏

geetanjalihitech
Автор

sir your teaching is go can't even explain in a :)

payalsonawane
join shbcf.ru