C++ Error Trapping and Exception Handling anyone?

Sep 5th, 2015
Anonymous
Category:
Calculus
Price: $30 USD

Question description

Write a C++ program to allow the user to create a test bank of questions. The program should first ask the user how many questions he or she wishes to create. This quantity will be the first line in the test bank. The user should now be prompted for all information for each question, and then that question is written out to the test bank in the exact format specified in the Phase 2 Individual Project.

For each question, the following information should be gathered:

  • Question type: Multiple choice (MC) or True/False (TF)
  • Question value
  • Actual question
  • If the question is TF, then get answer
  • If the question is MC, then get the number of options followed by each option and finally the answer

This program should be robust and allow users who make mistakes the ability to correct them (exception handling).

Must be compiled to work in Microsoft Visual Studio 2013 or higher.


Tutor Answer

(Top Tutor) Studypool Tutor
School: Rice University
PREMIUM TUTOR

Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1822 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors