Aperture Priority
Shutter Priority
Underexposed
The aperture is f/22 and the shutter speed is 1/1250 sec. Since the aperture size is small and the shutter speed is fast, there isn'y much light being let in. To fix this, the aperture could change to a bigger size or the shutter speed could be changed to a faster setting depending on the type of picture wanting to be taken.
Overexposed
The aperture is f/2.8 and the shutter speed is 1/400 sec. Since the aperture size is larger and the shutter speed is pretty low, too much light is entering the lens leaving the picture overexposed. To fix this, the shutter speed setting can be changed to something slower or the aperture size can be changed to something smaller depending on the type of picture wanting to be taken.