MathWorks Interview Question

questions based on bitshift operators