MathWorks interview question

questions based on bitshift operators