the addMCQuestion, addTFQuestion, and the addNAQuestion should add a multiple- choice, a true-false question

the addMCQuestion, addTFQuestion, and the addNAQuestion should add a multiple- choice, a true-false question, and a numerical-answer question respectively (with data passed as parameters) to the list of questions in the system.

the printAllQuestions method should print all the questions that have been added to the system on the screen in the format used in the attached Questions.pdf file. The output of your program does not have to be color coded.

the importQuestionsFromFile(String filename) method should add all the questions whose details are provided in the text file (whose name is passed as parameter) to the QuizMaker System.

o You should create a text file whose name will be passed as the parameter to this method. You should then add the information about the 6 questions provided in the attached Questions.pdf file to this text file. To clarify the various portions of the questions, I have color coded the text in the pdf file: the topic is in purple, difficulty level is in orange, questions text is in blue, answer choices are in red and the correct answer(s) are in green. You have the liberty to decide on the format of this text file.

o You should add 4 more questions (below the above 6 questions)- two MC question (one with only 3 correct choices and other with 4 correct choices), 1 TF question, one NA question to the above text file. These questions should be different from the questions provided in Questions.pdf.

o Save the above text file in Netbeans project folder, so that when you or we execute your application, the application can find the file.

the main method:

-an object of type QuizMakerSystem

-calls the importQuestionsFromFile(String fileName) method of the QuizMakerSystem class to import questions from a text file (that you created above) to the QuizMaker System.

-calls the printAllQuestions() method of the QuizMakerSystem class to print the above questions in the format used in the questions.pdf file to the console.

Complete Answer:

Get Instant Help in Homework Asap
Get Instant Help in Homework Asap
Calculate your paper price
Pages (550 words)
Approximate price: -
Open chat
1
Hello 👋
Thank you for choosing our assignment help service!
How can I help you?