title: Feedback and HRRN Scheduling Algorithms?
body: <p>These are examples from William Stallings Operating Systems Internal and Principles Design (7th ed). Below are the process arrival times and the service times:</p>
  
  <p><img src="https://i.stack.imgur.com/4ZNs8.png" alt="enter image description here"> </p>
  
  <p>HRRN:</p>
  
  <p><img src="https://i.stack.imgur.com/VSV5B.png" alt="HRRN Scheduling Algorithm"></p>
  
  <p>I understand A and B but then according to what C is chosen before others and then why D is in the end I don't understand...</p>
  
  <p>Feedback with q = 2</p>
  
  <p><img src="https://i.stack.imgur.com/iHvJI.png" alt="Feedback Scheduling Algorithm"></p>
  
  <p>I read on a source that is a priority version of Round Robin and on our script it says another version of short response next algorithm with q. I mixed everything on this one and cant really find a correct logic. Most interesting why is there a block greater than 2? Final block of B.</p>
  
  <p>I would be glad if you can explain the answers.</p>