From the course: Python Projects: Create an Interactive Quiz Application

Building a quiz app in Python

- [Joe] One of the best ways to improve your programming skills is to work on a real project. In this course, we're going to use Python to build a quiz-taking program, and we're going to use quite a few Python features along the way. The program will run in the terminal and present the user with a menu to control the app. The user can list the available quizzes, select a quiz, and answer the questions, and then see the results and save them to a file. The quizzes themselves will be defined using XML, which means that we can create and edit the quizzes without having to change the code of the app. Hi, I'm Joe Marini. I've been building software for some of the biggest and best known companies in Silicon Valley for more than 30 years. In this course, we're going to take an iterative approach to building our app so we can see how to build and test each feature as we go along. In the first part of the course, we'll focus on the basics, from architecting the app and designing the basic features, up to a completed application that presents the user with a menu-driven interface, administers the quizzes, and saves the results to a file. Then we'll look at ways we can improve on the app and add new features, like presenting the questions in random order and measuring the amount of time it takes to complete a quiz. Like I said, sometimes the best way to learn is to put aside the theory for a little while and build something real. Let's get started building a quiz app with Python.

Contents