Photon interview question

very basic questions