bembry.org
Home / Technology / Python / Exercises

Python Lesson 15 Exercises: Quizzing Program

A Quizzing Program:
This assignment has four phases that will each receive a grade.
  1. Create pseudocode and preliminary assignments for the following:
  2. Create a self-contained quizzing program. The quizzing program will have two main uses:
    • A teacher or quiz creator will be allowed to enter multiple choice questions, one correct answer for the question, and three "dummy" answers. The test creator will be able to enter as many questions as they wish and will not have to declare at the beginning of the program how many questions they want.
    • A student or quiz taker will enter his name, then take the quiz. When the quiz is presented, the answers for each question will appear in random order. The program will keep track of the results (how many questions the quiz taker answered correctly) and display the student's final score at the end as both a numerical value (10 questions out of 12 answered correctly) and as a grade (83% = B).
  3. Create pseudocode and preliminary assignments for the following code enhancements:
  4. Add the following features to the code above:
    • Teachers can create quizzes and save them in their own quiz folder.
    • Students will be presented a list of available quizzes and can choose which quiz to take.
    • Student results are saved to a text file. The file should contain all student scores (if multiple students take quiz, each student's score is added to the file).
Each team must turn in a copy of their pseudocode and preliminary specifications before beginning the actual code work. The project will be saved in a special folder.

Lesson Exercises Python Lessons Homepage

Restricted access