Bitwise Interview Question

Final Year project with large technical description?