0% found this document useful (0 votes)
5 views2 pages

Task 3

Uploaded by

waqas.acme
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Task 3

Uploaded by

waqas.acme
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

The City School Network-SR

2022-23
Class 7

Objective: The objective of this project task is to develop a simple quiz game using Python. The game
should present the player with a series of questions, allow them to select an answer, and provide
feedback on their performance.

Instructions:

Design the quiz:

a. Choose a topic or theme for your quiz (e.g., science, history, sports, or general knowledge).

b. Prepare a set of questions related to the chosen topic.

c. Plan out the possible answer choices for each question.

Implement the game functionality:

a. Use Python's input function or a GUI library to prompt the player for their answer choice.

b. Compare the player's answer with the correct answer for each question.

c. Keep track of the player's score based on the number of correct answers.

Display questions and collect answers:

a. Implement logic to display each question and its answer choices.

b. Prompt the player to select their answer.

c. Validate the player's input and provide appropriate feedback (e.g., if the input is not a valid answer
choice).

Calculate and display the score:

a. Keep a counter to track the number of correct answers.

b. Display the player's score at the end of the quiz.

c. Provide an option to play the quiz again or exit the game.


Enhancements (optional):

a. Add additional features such as a timer for each question, difficulty levels, or a leaderboard to
track high scores.

b. Incorporate multimedia elements like images or audio to enhance the quiz experience.

c. Implement a system to save and display previous quiz results.

Test the game:

a. Run the game and play through different scenarios to verify its functionality.

b. Test various answers to ensure the game responds correctly.

Documentation and Presentation:

a. Create a documentation file that includes a description of the project, instructions on how to play
the quiz, and sample screenshots of the game in action.

b. Prepare a brief presentation to showcase your project, explaining its features and demonstrating
its functionality.

Submission Guidelines:

Submit the Python source code file (.py) for the game.

Include the documentation file and any other relevant files.

Optionally, provide a video recording of your presentation.

Note: Creativity in designing the quiz, including various question formats (multiple-choice, true/false,
fill in the blanks, etc.). Use appropriate coding practices such as meaningful variable names,
comments, and modular code organization.

You might also like