The correct option is B 310 nm
Work function of metallic substance ϕ=4.0 eV
For photoelectric effect to take place, minimum energy of the incident photon must be equal to the work function of metal surface i.e. Emin=ϕ
∴ hcλmax=ϕ
Or λmax=hcϕ
Or λmax=1240ϕ (in eV) nm
⟹ λmax=12404=310 nm