MathWorks interview question

multi tasking situation