Type of priority in Multiprogramming OS?
Hi! In a multiprogramming operating system, how does the OS decide which program will be executed next? I mean I know that a priority is set but what are the basis on which this priority is set? Is there some kind of algorithm used or does the heavier program(more data) gets executed first?