Seconding the idea of finding them problems that they can solve or things they can build that they find interesting.
Programming to make their homework easier? Great.
Programming a game they can show their friends, that lets them compete to get a high score? Great.
Programming some interesting scripts into minecraft? Great.
Programming to learn to how to reorder a red black tree? ="programming is boring"