ZAPR Media Labs interview question

What is priority scheduling in OS?