Question

How do you determine which compound would have a UV absorption band at longest wavelength? I don't understand the UV stuff can you please explain.