Consider the pattern of red and green packet arrivals to router' $ output port queue shown below Suppose each packet takes one time slot to be transmitted and can only begin transmission at the beginning of a time slot after its arrival Indicate the sequence of departing packet numbers (at 1,2,3,4,5,6, under different scheduling algorithms (see questions below)
Provide your answer as ordered digits (each corresponding to the packet number of a departing packet); with a single space between each digit; and no spaces before the first Or after the last digit; e.g;, in a form like 7 6 5 4 3 2 1.
arrivals
packet in service
departures
Questions use the following scheduling:
FCFS scheduling
b) Priority Scheduling (Red class of packets has priority over Green)
Round Robin Scheduling
Weighted Fair Queuing (each class takes 50%) Scheduling