Teradyne interview question

Bit Manipulation, Object Oriented Design