Programming

Programming questions? Ask a programmer for answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

This answer was rated:

Write a C++ program to read in various types of test

questions (multiple choice and True/False)...
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 HierarchyOnce 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:3TF 5There exist birds that cannot fly?trueMC 10Who was the President of the USA in 1991?6Richard NixonGerald FordJimmy CarterRonald ReaganGeorge Bush Sr.Bill ClintonETF 10The city of Boston hosted the 2004 Summer Olympics?
false
Show More
Show Less
Ask Your Own Programming Question
Customer reply replied 6 months ago
look at this file
Answered in 9 minutes by:
1/18/2018
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,507
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
Verified

Hi

Ask Your Own Programming Question
Customer reply replied 6 months ago
hi

Welcome here

Which compiler you use to execute the code?

Ask Your Own Programming Question
Customer reply replied 6 months ago
microsoft visual studio 17

What is the deadline?

LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,507
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
Verified
LogicPro and 87 other Programming Specialists are ready to help you
Ask your own question now
Customer reply replied 6 months ago
11:59

Download and run remote help client software to let me see your screen

http://www.justanswer.com/remotedesktop/join.aspx?Session=07d2b488-6565-4731-91dd-0faba5f4b240

On next page, click on "I Agree" button

Download and save on your computer desktop.

double click to execute or right click and click on Run

Ask Your Own Programming Question

Just posted the answer Link QuestionBank_CPP.zip

Let me know once you get it

Unzip the zip file to a REAL folder.

Look for .sln file in the unzipped folder.

Double click this .sln file to open it in Visual Studio.

Press F5 to run the project.

I have provided two input files. one is yours. you can use any one with the code.

just change the name of input file, qb1.txt or qb2.txt in main.cpp

Please consider adding bonus by using the "Write a review or give a bonus" button on your question pages.

http://ww2.justanswer.com/help/what-if-expert-does-really-fantastic-job-hl

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers. It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Thank you for using this site!

Ask Your Own Programming Question
Customer reply replied 6 months ago
the program is not right

What error you are getting?

Ask Your Own Programming Question
Was this answer helpful?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a programmerLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
Ask LogicPro Your Own Question
LogicPro
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,507
13,507 Satisfied Customers
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

LogicPro is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

13,507 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

848 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
Ratheesh. I have another question I need assistance on. I
quot;For RatheeshRavi" Hi Ratheesh. I have another question I need assistance on. I just went through class to learn about UML and now I am more lost than ever. This is the new assignment for the week… read more
Ratheesh Ravi
Ratheesh Ravi
Master\u0027s Degree
114 satisfied customers
Question 1 (Multiple Choice Worth 1 points) Typically, the
Question 1 (Multiple Choice Worth 1 points) Typically, the last action in a housekeeping method is _________. closing a file opening a file a priming read checking for eof ----------------------------… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
Write a C++ program to allow the user to create a test bank
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 t… read more
Bruce Wilner
Bruce Wilner
Master of Engineering
30 satisfied customers
Write a C++ program to read in various types of test
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 implem… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
Write a C++ program to read in various types of test
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 implem… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
Write a C++ program to allow the user to create a test bank
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 t… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
I require the following: Write a C++ program to read in
Hello,I require the following: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 ques… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
"For ATLProg only" I was wondering if you could help with this
"For ATLProg only" I was wondering if you could help with this before tomorrow night? I have seen that you have had this question before so if its doable then please let me know. It's for my programmi… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
C++ expert neededDue date: Monday, June 18, 2012, 11:55
C++ expert needed Due date: Monday, June 18, 2012, 11:55 PM #6 - Recursive Member Test - Save As: Burns_LAB14-06 Write a recursive boolean function named isMember. The function should accept three par… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
Provide the definition for each of the following structures
Provide the definition for each of the following structures and unions: a. Structure inventory containing character array partName[30], integer partNumber, floating point price, integer stock and inte… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
I have to create a psdocode for a cell phone. Below is an
I have to create a psdocode for a cell phone. Below is an example of how the Cell Phone should look like. Also, I added how a cell phone make a call. ex: TV UML //members - Final Boolean ON = true; - … read more
Raj
Raj
SAP ABAP Consultant
Master\u0027s Degree
27 satisfied customers
I have a 3 part problem Designing a UML design for I
I have a 3 part problem: Designing a UML design for: I need a TicTacToe class contains a 3x3 two-dimensional array of integers. The constructor should initialize the empty board to all zeros. It shoul… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
1. In C++ array indices (or subscript values) must be _____. A)
1. In C++ array indices (or subscript values) – must be _____. A) an integer type that is non-negative B) negative C) positive D) less than or equal to the declared size of the array 2. Given the arra… read more
Coder4Life
Coder4Life
CEO
High School or GED
76 satisfied customers
For LogicPro Only Based upon the design in DB1 implement
"For LogicPro Only" Based upon the design in DB1 implement the TicTacToe class and create a test class for it. Your test class should demonstrate the capabilities (fully test the functionality) of the… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
Using NetBeans design the UML for both of the following classes
Using NetBeans design the UML for both of the following classes: TicTacToe and TicTacToeGame. The TicTacToe class contains a 3x3 two-dimensional array of integers. The constructor should initialize th… read more
Ansh P.
Ansh P.
System Analyst
Bachelor\u0027s Degree
6,393 satisfied customers
I want some help to complete these. Which statement is
I want some help to complete these. Which statement is true after the execution of the following statements? Set x = y Set y = x (Points :10) x and y contain their original values x and y swapped thei… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
Need help with Visual Basic questions for project. The exam
Need help with Visual Basic questions for project. The exam will be open for 2 hours so I will need the answers within that time frame. Anyone who is willing to help please let me know the time when y… read more
Cherryl Lewis
Cherryl Lewis
Bachelor's Degree
180 satisfied customers
2. The expression in a seclection can have no side effects. A.
2. The expression in a seclection can have no side effects. A. True B. False 4. The character classification function are found in the standard libary(stdlib.h) A. True B. False 6. The Logical operato… read more
lifesaver
lifesaver
Computer Software Engineer
Bachelor's Degree
950 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x