Texas Instruments interview question

questions from paper