Photon Interview Question

very basic questions