How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Aitizaz Your Own Question
Aitizaz
Aitizaz, Software Engineer
Category: Programming
Satisfied Customers: 1291
Experience:  2 Years of experience with VC#,VC++,C,C++
17531195
Type Your Programming Question Here...
Aitizaz is online now
A new question is answered every 9 seconds

Need help with assignment creating c++ program

Customer Question

need help with assignment creating c++ program
Submitted: 1 year ago.
Category: Programming
Expert:  Aitizaz replied 1 year ago.

Hello and welcome to Just Answer! i am Aitizaz and i will assist you today

Please share the details of the program here.

Customer: replied 1 year ago.
Weekly tasks or assignments (Individual or Group Projects) will be due by Monday, and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus. NOTE: All submission posting times are based on midnight Central Time.Write a C++ program to read in various types of test questions (multiple choice and True/False) from a test bank (text file), and load the questions into an array of questions. You will need to implement the following class hierarchy (given in UML):Class Hierarchy
Once the test bank has been loaded, simply iterate over the array of questions and have each question printed out to the screen.The test bank (text file) will have the following format:Line 1 will be an integer value, indicating how many questions in the file
Each question will start with a line that starts with either "MC" or "TF" followed by a space and then the point value of the question.
The next line will be the actual question.
If the question was True/False, the following line will be the answer, either "True" or "False"
If the question was multiple choice, the following line will be an integer value indicating how many choices will be provided for that question. The following lines will be the choices. There will never be more than 6 choices. The final line following the choices will be the answer: "A" or "B" or "C" or "D" or "E" or "F".
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
Expert:  Aitizaz replied 1 year ago.

OK! How much time do we have for this?

Customer: replied 1 year ago.
today
Expert:  Aitizaz replied 1 year ago.

OK! please let me check if i can do this for you.

Customer: replied 1 year ago.
ok
Expert:  Aitizaz replied 1 year ago.

Fortunately, the solution is already available with me.

Customer: replied 1 year ago.
what do you mean
Expert:  Aitizaz replied 1 year ago.

i have already developed it for some other person, that might bring some extra bucks for me :)

Expert:  Aitizaz replied 1 year ago.

Not very recent though. i am going to upload the program and you should download it within the next 5 minutes

Customer: replied 1 year ago.
thanks
Expert:  Aitizaz replied 1 year ago.

This is a Visual Studio solution

Expert:  Aitizaz replied 1 year ago.

Please download it here:

http://ge.tt/37C1vrS2

Expert:  Aitizaz replied 1 year ago.

Let me know if you need any further help. thank you

Expert:  Aitizaz replied 1 year ago.

I have removed the program since you have already downloaded it. Please do rate the answer positive. Thank you

Expert:  Aitizaz replied 1 year ago.

Hello Bryan! Do you need any further help? Did the program run as expected?

Related Programming Questions