Design, Implement and Test a Python Console-based Quiz: Including User Interaction, Scoring, and Error Handling

Assignment Instructions:

You are required to design, implement and test a small console-based quiz in Python which performs the description given below. The quiz should ask the user(s) 10 questions. The quiz topic can be on any subject of your choice. You are required to produce a program which reads in, from the console (command line), ten quiz questions and ten correct answers, one correct answer for each question. Once you have added these questions to your program, you then need to extend the console (command line) interface so that it: 1. Asks the user their name 2. Runs through all questions of the quiz and keep a running score of the number of correctly questions answered; 3. Once the users has answered all the questions, the system should print out their score out of 10 as well as a percentage score on the screen; 4. The program should then prompt to ask if anybody else wants to take the quiz. It should then perform steps 1-4 again for the next user; 5. Once all the users have finished the quiz, the program displays: 1. The name of the user with the highest score (as well as other users’ score). 2. The average score of all users. 6. You should make use of conditional statements, iterative statements, functions, data structures etc. in your program. 7. Your program should suitably handle user errors (e.g., incorrect input type, such as empty answer or name etc.). The above describes the basic features that you are expected to attempt for this assessment. Extra marks are available if you can extend your program so that it implements the following additional features: 1. You can produce a quiz which can ask any number of questions (i.e. user can specify the number of questions they wan to answer, e.g., 15 questions). 2. The system displays questions in random order each time the quiz is taken. 3. The user is shown which questions they got correct and which they got incorrect (as well as showing the correct answer for any questions they answered incorrectly Your source code should include sufficient and correctly formatted comments. Reflective report : You are required to write a report (approximately 1000 words) detailing the following points: • A critical discussion of your chosen approaches for testing the strengths and weaknesses of your system. For example, how did you test the system functionality or the structure of your program? o Provide an appendix at the end of the report to include the following:  Clear and easy to read/view screenshots of all the implemented features and functionalities of the system.  For each screenshot you must provide the following:  Short title to state the feature of the system the screenshot represent.  A short paragraph to describe the content of the screenshot and reference to snippet of programming code in your system related to the content of the screenshot. The reference to the programming code could be by giving the full path to the source code file that contains the code for the screenshot or example of code that produced the feature/functionality. System demonstration: (This one you just need to write a small paragraph and answer these questions below) + record a short video of how you test Python code from your computer). Prepare up to 10 minutes of recorded presentation of all the features and functionalities of your implemented software. Your presentation should show at least the following aspects of your system: • Clear view of the user interface. • Clear view of the source code generating the user interface. • Clear view of the source code of different classes you have implemented. • Show all the system functionalities using different types of input and the way your system handles errors and potential problems. • Appropriately pitched and paced audio. Skills: Python, Report Writing, Video Upload

How To Work On This Assignment(Example Essay/Draft)

You will use Python to create, construct, and test a brief console-based quiz for this exam. The test will pose 10 questions to the user(s) on any topic of their choosing. 10 quiz questions and 10 right answers, one for each question, will be read in by the program. The console interface will ask the user for their name, play through all of the quiz’s questions, and keep track of how many of them they answered correctly. The system will print out the user’s score out of 10 and a percentage score once they have completed all the questions. The application will then prompt users to indicate whether they wish to take the quiz again. Then it should repeat steps 1-4 for the following user. The program displays the name of the user with the highest score as well as the overall average once all users have completed the quiz. Conditional statements, iterative statements, functions, data structures, and handling of user mistakes should all be used in the application.

Alternative SEO title options:

User Interaction, Scoring, and Error Handling in a Python Console Quiz
Create an interactive Python quiz with scoring.
Create a Python quiz with a ranking system and several users.
Implementing a quiz in Python with extensibility and error handling
Make a Python console quiz with randomly generated questions and answers.
You must go over your chosen methods for determining the system’s strengths and flaws in the reflection report. Testing for user input validation and error handling, scalability and modularity, as well as testing for readability and maintainability of code, can all be included in this. Additionally, you must include an appendix with clear images of all the system’s implemented features and functionalities, along with concise titles, explanations, and relevant code excerpts.

Finally, you must produce a taped presentation of all the features and capabilities of the software you implemented that can last up to 10 minutes. The user interface, the source code that creates the user interface, and the source code of the many classes you have built should all be clearly visible in the presentation. You should exhibit how your system responds to faults and potential issues while showcasing all of the system’s functionality using various sorts of input. The audio should be tuned and timed correctly.

Posted in Uncategorized

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount