Intel Corporation Interview Question

Implement a cache memory in C++? include the operations of MMU how the address conversion occurs.