I believe that the latter can be achieved using deception by giving high school students some idea of what it's like to build a successful application -- without actually having them build one (as they don't know programming yet).
For example, they could use my deceptive Mindrosia Facebook app for this purpose:
http://www.allfacebook.com/2007/11/mindrosia-app-ideas-gener...
Once they brainstorm ideas that are likely to attract many users as determined by Mindrosia, then they have an incentive to learn programming to pursue those ideas while in high school.
And that in turn can lead them to a computer science degree.