Questions Uploads
-Begin-with-the-running-program-from-your-Phase-4-Individual-Project-Project-C-
/in Questions Uploads /by adminPart 1: Begin with the running program from your Phase 4 Individual Project where the examination question class hierarchy was fully implemented in a menu-driven program. An exam class was developed to load the exam from a file and display each question to the screen.
Part 2: Modify the program from part 1 to change the menu to the following:
- Load an exam
- Take an exam
- Show exam results
- Quit
Choice 1: No functionality change. Load the exam based upon the user’s prompt for an exam file.
Choice 2: The program should display a single question at a time and prompt the user for an answer. Based upon the answer, it should track the score based upon a successful answer. Once a user answers the question, it should also display the correct answer with an appropriate message (e.g., “Good job” or “Better luck next time”) Upon completion of the exam, the program should return the user to the menu.
Choice 3: The program should display the total points available and the total points scored during that exam. A percentage score should also be displayed. (Optional: if you choose to track which problems were missed, you could display that information for the user.)
Choice 4: No change to this functionality from the Phase 4 IP.
You should consider creating an additional class Student that will track student’s score through methods such as addPointsPossible, addPointsScored, getPointsPossible, and getPointsScored. You should also enhance your Exam class to include methods getPointValue and getAnswer. You may also want to add a method to only display one question
A sample test bank file is as follows:
3
TF 5
There exist birds that cannot fly?
true
MC 10
Who was the President of the USA in 1991?
6
Richard Nixon
Gerald Ford
Jimmy Carter
Ronald Reagan
George Bush Sr.
Bill Clinton
E
TF 10
The city of Boston hosted the 2004 Summer Olympics?
false
at a time, such as displayQuestion. These are the question to be used in the exam
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
ergonomically-engineering-class-lab
/in Questions Uploads /by adminNatural-Disasters-and-Research-in-Criminal-Justice-homework
/in Questions Uploads /by adminNatural Disasters: Write 350 words each with proper in text citation, APA, reference, and free from Plagiarism. Then follow the below Rubric when writing
Research in Criminal Justice: Write 350 words each with proper in text citation, APA, reference, and free from Plagiarism. Then follow the below Rubric when writing. Question 1 and 2.
Research in Criminal Justice: Write 6 pages each with proper in text citation, APA, reference, and free from Plagiarism. Then follow the below Rubric when writing
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
About Us
![]()
Since 2010, we have offered professional writing services to clients all over the world.
Over the years, our writers have gained solid experience in all academic disciplines, giving them a competitive edge to provide only first-rate academic papers.
![]()
QUICK LINKS
Contact Us
For any questions, feedback, or comments, we have an ethical customer support team that is always waiting on the line for your inquiries.
Talk to us
support@academicheroes.com
Call us: +1 (564) -222 6836