Barclays interview question

explain OOP how does a scheduler work talk about primitives