Non Preemptive Priority Scheduling Algorithm with example | Operating System
HTML-код
- Опубликовано: 31 янв 2025
- Learn some important basic points of a Priority scheduling algorithm and Non-preemptive Priority Scheduling with solved examples.
See Complete Playlists:
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Dynamic Programming: • Dynamic Programming
Operating Systems: // • Operating Systems
DBMS: • DBMS (Database Managem...
Connect & Contact Me:
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/...
Instagram: / jayantikhatrilamba
During Lockdown all teachers are just trying to complete the syllabus in online lectures and class is hell but you teach us with the core of your heart
hats of madam
I totally understand this topic now. I am having my exams from 27 may . this will definitely gonna help me with that ❤
How was ur exam bro
@@vishnunair3565 broo it was 4 years agoo!!☠️
@@vishnunair3565 its almost 4 years
I know him,he’s honestly one of the smartest and most successful people I know. It’s amazing how his mind works. He can take on the toughest challenges, break them down effortlessly, and come up with solutions that are both creative and practical. Every time I talk to him, I’m blown away by how much he knows and how quickly he picks things up.
But it’s not just about his intelligence. Rajat's success is a testament to his hard work and dedication. No matter how tough things get, he stays focused and driven, always pushing through and making things happen. Honestly, it’s super inspiring to see someone who not only achieves so much but does it with so much passion and determination..
See the last part Go down.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
Just Kidding Guys
😂😂
@@vishnunair3565 Fail
Thank you so much mam. Tomorrow is my external exam and u made me to understand this concept in few minutes. Thank you so much 🙏🏻❤
Really... This is the best video till now I get for Priority Scheduling ✨
A true teacher! I wish you were my OS teacher! Loads of love from Bangladesh!
i love your version of teaching, it is so relaxed and simple and everything that i am questioning in my mind is being answered as if you were reading my mind!
BUT i suggest you put in subtitles so that everyone in the world would learn more
Oh God 🙏 Thank you so much I literally followed multiple channels on OS for cpu scheduling but all are very confusing and finally I thought Jenny mam has also uploaded let's check it once
Ohh Thanks mam Life saver 🙏
Varna mujhe to laga tha os ka ye topic skip kar deta hu
Thank you so much for this informative video tomorrow is my paper and I am preparing on this first time the whole semester and I completely understand this topic ❤
Superb teacher. I am able to understand everything clearly
Solutions with a touch of extra background detail is what I like about your teaching. Thanks for educating us. I really appreciate the help your videos did to me during my exams.
I guess no know can teach me like you in CS , I have learned a lot of things from you mam in many subjects of CS . I wish I could have learned from you as my teacher in real life ❤. Love you mam and thanks a lot
I really appreciate how you bring out the content for easy understanding. Thank you so much
Thanks for simplifying concepts madam(from NEPAL).
this really helped me understand it better 🥰. Gonna have my exams probably next week 😬😬
thanks mam , its good to have people like you on yt]
Thank you so much dear tomorrow l have exam and you help me ❤❤❤
لا اله الا انت سبحانك اني كنت من الظالمين ❤❤
U explained it in a simple way . I can easily understand the topic
Much love from kerala🌝♥️
I have exam 2day your lecture was very helpful
It was really good, I understood the topic in one shot
very good teacher thanks
Thanks tomorrow is my exam it helps a lot 😊
2
God bless you madam,excellent job,looking forward to more such videos,I appreciate your efforts
Thanks for simplifying concepts madam.
Mam i gonna fall in love with u r subject❤️ knowledge 😉
very helpful and easy to understand (from Pakistan)
Thanks for this channel I learn a lot .. THANK YOUuuuuuuuuuuuu from philippines
Thank You for this lecture! Very helpful.
These lecture is very helpful ma'am
thank you very much mam, great help for my c++ program
Thank u for this, best content 💛 from Philippines :)
Thanks alot ❤❤❤❤
شكرا
Mam aapki English bahut achchi hai
You are the goat ❤
Meeru chala Baga cheputhunaru aunty
Excellent mam❤
I like ur teaching 👌
Easy to understand👌
Mam, please make videoes on implementation of FCFS, SJF ,SRTS and RRA in c programming language ....there are so many videos on these topic but they code in computer directly , it is difficult to understand. . your implementation of stack, queue etc are well explained on board so mam please make videoes
Very helpful
Thanks💜
Mam,consider if priority is same for 2 processes and arrival time is 0 or same for both then should we check brust time ( less brust time first) or the process id.
Process id
maam apke lectures pe concentrate nhi ho paata reason everyone knows.
Thank you so much ma'am.
Well Explained! Thank you!
Arrival time of process A = 0, B = 0 and Priority of A = 5 ,B = 2 Which one would come first ( lesser the number higher the priority)
Please do respond.. I can't move further without getting it clarified 😀
Whether it follows order of writing the processes or the process with highest priority will come first ????
Nice video btw ❤️
@Roopa 2nd gets processed since lesser no.high priority.
Here priority matters because arrival time is same
Very helpful 💙💙
I'm having a doubt from when i started to watch ur video lectures!
That is: Are you and Genelia Deshmukh sisters....!? You both look identical 🤔🤔🤔🧐
Mam i have semester exam tomorrow please clarify my doubt:
What if only process names,Bursttime,arrival time only given and asked to find Waiting and Turn around time using Priority scheduling ?? By default what to Do mam like can we assign priority randomly ?
AND MAM if premptive or non premptive is given for priority scheduling by default what we should do pre emptive or NON ??
How will we chose p5 in Gantt chart after p1 Bcz priority of p6>p5
6>2
I have done it as follows :
P1 p6 p4 p2 p3 p5 p7
P1(0-8) p6(8-13) p4(13-14)p2(14-16) p3(16-22) p5(22-28) p7 (28-29)
Kindly reply if iam wrong
Arrival time can never be same brother
after p7 question is solved wrong mam took the statement opposite after p7 she took higher the number ,heigher the priority
Nice explanation
Nice Bro!!😎
Nice video mam
well explained...thanks
Thank you mam for the best content.please don't tell about mam's external attributes. Praise mam's subject content. It will be a great reward for mam.
Thank you very much.
Thank's😘
nicely explained. 😍
Noor Fatima ,true totally agree with you
thank you very much and keep up the good work. but ' again we don't understand how to do the preemptive please explain??///
very helpful
i love you professor
Can you explain higher the number higher priority
Mam this is maniroyal I love u 💕
Thanks mam❤
Hii...Mam nicely explained...Can u take classes??
She is already giving lecture why u want classes?
@@mallikarjunhagargi7830 why u talking... I asked mam... So u not answering me.
@@vaibhavbhamare8147 okay then wait for madam reply they will definitely give reply
Still waiting for reply....
Mam, pls conduct mock test in all subject
thank you miss
Thank you mam
thanks ma'am
very helpful video
Great job ....
Clear explanation.....super 👏 mam
But only one problem mam ur eyes were disturbing me mam
Priority of P6 is far more greater than P5 on the table , why P5 is taken into consideration earlier than P6 ( for your kind information 6 > 5 if the entire scenario is run on the basis of the availability of processes along with their respective priorities)
bro read the instructions carefully, it says lesser the number higher the priority and for your kind information 5
i dont understand this topic because its so difficult understanding still is so easy.
P2 ARRIVAL TIME IS 1 and allocation time is 14 and RT is 13 but u are telling allocation time 15 😊
@@praveensilliger4207 aladichav ga
What If arrival time is not given?
U are angel😍
Mam they will mention aravial time in question?
Love u mam❤❤😻😻💌💌
By the way. you look like Maniha Koirala: You also become my favourite.
Are these lectures helpful for interviews ??
Thanks alot
when arrival time is 5 at that time P1 and P5 conflict to execution, according to criteria, low number give higher priority so, after 5 sec P5 will be there. I'm right ?
This is non preemptive.
how if Turn Around Time is higher than the Burst Time. Is that possible, Mrs. Jenny?
//Code for Non-Primitive Priority Scheduling
#include
int jtime=100;
int counter;
int n;
int at[20],bt[20],ct[20],pt[20],sts[20];
void process_Ps()
{
int index; // variable for storing the index of least priority process
int p=100; // just setting the priority to 100 just for comparison , no matter in value 100, you can give any number
//checks for all process from index 0 to n
for(int i=0;i
mam!! change your youtube channel's name to "Jenny's lectures" it's cleaner!!! lots of love from Nepal.
Very nice topic I understand priority scheduling thanks mam but I am a doubt this topic please tell me non preemptive mai lesser the no. Preemptive mai kya h
Hayeeeee...... kaha thi aap, hum apko itne dino se dhoondh rhe h....
In second one p7 has the highest priority, so why did you take p5?
Mam when two processes have same priority and same arrival time then what we do?
My guess only. If two process arrival time is same then consider according to process priority and if two process priority are also same then consider the earliest process number.
How to calculate if arrival time is not given?
In priority sheduling 5,3,4,2 he mentioned higher number has high. Priority so please tell me which is allocated frist 5 or 2
5
What if we have same priority and same arrival time?
Can be first process arrive at time more than 0??
Mam how to solve when the arrival time of any process in not from zero??
Thanks mam
Mam if dispatch latency is given then how it's going to affect avg. Waiting time
Dispatch latency of 1 m/s is given so it going to add up in each process waiting time??
Thank youuu :))
that smile at 1:51 :D
In p3 is 16
Tnx