Accenture interview question

Binary code conversions.