Write a cpp program that allows the user to create a test

Assignment Help C/C++ Programming
Reference no: EM131322158

1. Write a C++ program that allows the user to create a test bank of questions

2. The program should first ask the user how many questions he or she wishes to create.

3- The user should now be prompted for all information for each question.

4 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

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

Reference no: EM131322158

Questions Cloud

What should the primary purpose of sport be in late : What were some of the "versions of manliness" embedded into college football in the late19thcentury, and to what degree were they the same as, or different from, the versions ofmanliness embedded into prize fighting during the same period?
Write a program that will calculate average miles per gallon : Write a program that will calculate the average miles per gallon obtained on a trip. Input the amount of gas used and the number of miles driven. The formula to calculate miles per gallon is:
What is the speedup from this change : What is the speedup from this change? Assume that the latency of the EX stage is reduced by 20 ps and the latency of the MEM stage is unchanged when branch outcome resolution is moved from EX to MEM.
Focuses on the effect divorce has on children : Over the years, respected authorities have changed their minds several times concerning divorce and its impact on children. Based on your readings, discuss the literature that focuses on the effect divorce has on children?
Write a cpp program that allows the user to create a test : Write a C++ program that allows 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.
Show a pipeline execution diagram for the third iteration : Show all instructions that are in the pipeline during these cycles (not just those from the third iteration).
Distinguish between descriptive and inferential statistics : Why do researchers care how much variability exists in a set of data?- Distinguish between descriptive and inferential statistics.
How does variance differ from the total sum of squares : What is the range, and why is it not ideal as an index of variability?- Give a definition of variance, then explain how you would calculate it.
What benefits are derived from the using a common network : What benefits are derived from the using a common network for all onboard systems? That is, what motivated adoption of the common core fiber optic network?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program for implementing array abstract data type

Write a program for implementing array abstract data type.

  What is the command that you would use to compile the code

Describe the behavior when you compile the program, with no options. What is the command that you would use to compile the code and create the executable "power2"?

  Implement a function called findmax

Implement a function called findMax that finds the maximum value in a 2¬dimensional array.

  Knowledge of c programming principles

Implement a moderate size program to demonstrate early knowledge of C programming principles - what will be a fun assignment, a two player version of the game "Connect 4". Connect 4 is a rather simple game.

  Write a program that skip s leading whitespace character

a) Write a program that skip s leading whitespace character s in each line of the pro vided data file CPPHumor .txt . Save the results in a new file

  Write a program that simulates the dial of a phone number

Write a program that simulates the dial of a phone number. The program will accept a phone number as input, and it will acknowledge the call by either writing an error message or the 8 digit phone number to the console window. The phone number may..

  Template class definition

You have the following template class definition.  template  class mypair {

  Write a program that find the average time spent programming

Write a program that finds the average time spent programming by a student each day over a 3 day period.

  Proposals using the calculations above to explain

Jamie Oliver is considering expanding his restaurant trade. He has the following two proposals to consider. A minimum of a 12% return on investment is required from the recommended project.

  Review a phonebook program

Add a command ‘d' for delete to delete an entry corresponding to a name typed by the user. Add a command "u" to allow a user to update (edit) one or more of the fields in the phonebook

  Computer programming

Computer programming

  International space station

Let's say you own a company that makes bolts that are used on the International Space Station! These bolts have very specific requirements but two of the most important requirements are strength and heat resistance. NASA says that you must have a ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd