Option (D) is correct.
The energy of a photon is given by
E= h f
E= energy of photon
h= Planck's constant
f= frequency
The energy of a photon is directly proportional to the frequency of the photon. Higher is the frequency of the photon,higher will be its energy.