Sunday on TV

U.S. Olympic trials: Diving (1 p.m., Ch. 5); men's gymnastics (2:30 p.m., Ch. 5); women's gymnastics (6 p.m., Ch. 5 — taped);

Million Dollar Password (7 p.m., Ch. 2): Steven Weber and Shana Moakler are the celebrity guests.

Masterpiece Mystery (8 p.m., Ch. 7): Inspector Lewis: Whom the Gods Would Destroy is a sequel of sorts to the Inspector Morse mysteries. Morse (played by the late John Thaw) is nowhere to be seen. But Lewis (Kevin Whatley), his former assistant, is on the job investigating murder among Oxford alumni.

When We Left Earth (10 p.m., Discovery): This six-part documentary series concludes with two hours about NASA's post-Apollo missions — including the space-shuttle program.