Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The Presidents Quiz is a trivia game about former leaders of the United States. Though this quiz is about presidents, you can use it as a template to build quizzes on any topic.
In the previous chapters, you’ve been introduced to some fundamental programming concepts. Now you’re ready for something more challenging. You’ll find that this chapter requires a conceptual leap in terms of programming skills and abstract thinking. In particular, you’ll use two list variables to store the data—in this case, the quiz questions and answers—and you’ll use an index variable to track where the user is in the quiz. When you finish, you’ll be armed with the knowledge to create quiz apps and many other apps that require list processing.