Question: (need help with part 3) Write a GUI program that lets the user play a simple trivia game. Use a layout of your choice with
(need help with part 3)
Write a GUI program that lets the user play a simple trivia game. Use a layout of your choice with the appropriate text fields, labels, a nd buttons to implement your design. The game should ask only one question at a time and output the correct answer to a GUI component (e.g. label, textfield, etc.) if the player answers a question incorrectly. When all questions have been answered, show th e final score and exit the program. The game should have five questions. Each question should have a corresponding answer and point value between 1 and 3 based on the difficulty of the question. Implement the game using a single array of a Trivia object wh ich encapsulates a question, answer, and point value for a particular trivia item. You can pick the trivia questions, answers, and point values.
3) (10 points) Serialization You probably hard - coded the trivia questions, answers, and point values for th e previous problem. For this problem, write an administrative interface so someone can add or delete questions/answers/values. It is your option if you want to be able to edit existing questions. Your administrative program should save and load data using serialization with binary output and input. Modify your program from question 2 so that it loads the data file saved via serialization.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
