Priority Scheduling (Solved Problem 1)

Поділитися
Вставка
  • Опубліковано 22 жов 2024

КОМЕНТАРІ • 49

  • @Anjali_singh____________
    @Anjali_singh____________ 4 роки тому +70

    During the class it was going above my head🤣 but now I understood clearly 🥳 thank you so much

  • @AbhishekSingh-oi7wm
    @AbhishekSingh-oi7wm 5 років тому +11

    Now I am able to solve these kind of questions.Thank you so much for your video.

  • @susenakodumuri2667
    @susenakodumuri2667 4 роки тому +10

    Thank you is small word for your explanation sir...

  • @ashutoshrana6209
    @ashutoshrana6209 5 років тому +2

    Before starting it I solved it myself and my Gann chart is same as yours and even the answers but let suppose for P1 I took total time as 49 as it got completed after that time and subtracted 11 the total burst time as it is also the no. Of millisecond process executed and subtracted zero as it is arrival time. Igot the same answer by following this.

  • @surayyamuhdyusuf3558
    @surayyamuhdyusuf3558 4 дні тому

    To find the average waiting time,can you first find the turnaround time to make it easier?

  • @RobinsonJBCE
    @RobinsonJBCE Рік тому +2

    Sir i just wanted to let you know that in question they have asked premptive but u have used the non-premptive approach

  • @Deathtonewworldorder
    @Deathtonewworldorder 5 років тому +7

    11:31 I think that the waiting time of P4 as 33-5-2=26 => 28.6 => 29

    • @nguyenson1177
      @nguyenson1177 4 роки тому +4

      I know it's been a while, but here is my answer:
      P4 had only 3ms executed. The first 2ms was P1.

  • @harshitarawat5059
    @harshitarawat5059 10 місяців тому

    Thank you so much sir I was literally stucked at this question and couldn't solve it.

  • @HuynhThanhThuan
    @HuynhThanhThuan 4 роки тому +7

    What happens if 2 processes have equal priority, Dear Sir ?

  • @zacariaalihat9789
    @zacariaalihat9789 10 місяців тому +1

    bro dropping a banger after every tutorial😁

  • @classyben5788
    @classyben5788 Рік тому +1

    what happens when 2 processes has the same priority?, would the one that arrived in the CPU start first?

  • @ayushiydvKG
    @ayushiydvKG 5 місяців тому +1

    thnx a lot

  • @erenyeager6092
    @erenyeager6092 3 роки тому +1

    5. What is the total no. of queues required to perform Priority Scheduling?

  • @GauravGupta-pb8mk
    @GauravGupta-pb8mk 3 роки тому +1

    Thank you so much sir

  • @dontwanna6759
    @dontwanna6759 4 роки тому +1

    after execution for specific time does the scheduler decrease the priority of the process

  • @Astronomy.532lifenspace
    @Astronomy.532lifenspace 7 місяців тому

    On my question um given size(msec) is it the same as burst time

  • @shrouqmakk7676
    @shrouqmakk7676 2 роки тому +1

    how did p4 executed for 3 times? isnt it 2?

  • @princeowuraku9216
    @princeowuraku9216 Рік тому

    Thank you sir

  • @itbepolicy6007
    @itbepolicy6007 4 роки тому +2

    'time till first put into cpu execution' > 'total waiting time'

  • @aydenmyers2011
    @aydenmyers2011 2 роки тому

    Thank you so much!

  • @edwinparulians9573
    @edwinparulians9573 3 роки тому +2

    Why the way calculating waiting time every people is always different

  • @dhanushsivajaya1356
    @dhanushsivajaya1356 3 роки тому +1

    Thankyou sir

  • @kimeraeria3993
    @kimeraeria3993 2 роки тому +1

    but in the qtn it says 0 has the highest priority, thought P2 would execute first

    • @jaredmccune7443
      @jaredmccune7443 Рік тому +1

      If they had arrived at the same time then P2 would have executed first. P1 arrived at 0 while P4 arrived at 2, meaning that P1 was the only process needing to run for those 2 seconds before P4 arrived and interrupted it. P2 arrived at 5 so after those 5 milliseconds (2 for P1, then 3 for P4) P2 would arrive and be given the CPU due to its priority of 0.

    • @kimeraeria3993
      @kimeraeria3993 Рік тому

      @@jaredmccune7443 thanks

  • @littlemermaid5921
    @littlemermaid5921 2 роки тому +1

    Thank you sir ❤

  • @97Arshan
    @97Arshan 5 років тому +4

    Thank you so much!! Idk if we can call this coincidence or what but you uploaded this video today and tomorrow I've got my O/S mid semester examination xD Thank you!! #gg explanation :3

  • @itxcraig
    @itxcraig 3 роки тому

    Very helpful

  • @eulitamubaiwa9652
    @eulitamubaiwa9652 3 роки тому

    thank you so much 👏👏👏👏👏

  • @Astronomy.532lifenspace
    @Astronomy.532lifenspace 7 місяців тому

    What priority does 0 have here?

  • @vennila1423
    @vennila1423 2 роки тому +1

    explain how you got the 2 and 5 seconds

    • @vennila1423
      @vennila1423 2 роки тому +1

      in Gant chart

    • @anonymousguy9263
      @anonymousguy9263 2 роки тому +1

      @@vennila1423 P4 ARRİVAL TİME İS 2ms AND HAS HİGHER PRİORİTY THAN P1 HENCE P1 İS REMOVED AND P4 İS FED İNTO THE CPU FOR EXECUTİON TİLL THE ARRİVAL OF PROCESS P1 i.e, 5ms...
      DİD YOU GET İT??

  • @Avinashkumar99999
    @Avinashkumar99999 3 місяці тому

    sir please solve it with higher the number higher the priority

  • @jackisalive5708
    @jackisalive5708 Рік тому

    Waiting time formula is turn around time - burst time he is doing something different

  • @premanandika1745
    @premanandika1745 3 роки тому +1

    how do I calculate its Turn Around Time ?, can u help me sir?

    • @ritwik121
      @ritwik121 2 роки тому

      to calculate turn around time of each process just find out the competion time and arrival time of each process and subtract arrival time from the competition time to get the result

  • @uzumakigaming908
    @uzumakigaming908 11 місяців тому

    aapka solution ka ans glt nikl hai
    kyunki p4 sirf 2 baar execute hu hai

  • @shreet1908
    @shreet1908 3 роки тому +1

    Consider the set of 5 process whose arrival time and burst time are given below in milliseconds.
    Process ID Arrival time Burst time
    P1 0 4
    P2 1 2
    P3 2 1
    P4 3 3
    P5 4 2
    if the CPU scheduling policy is Round Robin with time quantum = 2 unit. Calculate average
    waiting time and turn around time.
    Q.3 Consider a reference st Consider the set of 5 process whose arrival time and burst time are given below in milliseconds.
    Process ID Arrival time Burst time
    P1 0 4
    P2 1 2
    P3 2 1
    P4 3 3
    P5 4 2
    if the CPU scheduling policy is Round Robin with time quantum = 2 unit. Calculate average
    waiting time and turn around time.
    plzz solve this

  • @Fawzia-rk7sy
    @Fawzia-rk7sy 3 роки тому +2

    🤣🤣🤣

  • @paraboy5629
    @paraboy5629 3 роки тому +1

    اختصر شرحك رجاءا وشكرا