Solution:(1) The frequency of X-ray is greater than visible light. So, the wavelength of visible light is more than that of X-rays.
(2) We know that, E = hν
Energy (E) ∝ ν (frequency)
X-ray have higher frequency so it has higher energy than that of UV light photons.