as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
explain the difference between a pre-emptive and non-preemptive scheduling algorithm.
user
preemptive scheduling algorithms are those that take priority into account when determining which process to choose next. these algorithms can take into account the priority of each process when they decide which process to assign to the cpu. non-preemptive scheduling algorithms do not take priority into consideration. instead, they assign the processes in the order in which they arrive.
assistant