Microsoft interview question

Basic number conversion questions and graph question