Bitwise Interview Question

basic OOP, Basic codes , SQL theory along with Queries