Write a program that is menu-driven that allows for menu

Assignment Help Computer Engineering
Reference no: EM132196634

Question :

Write a C++ program that is menu-driven that allows for the following menu choices: Load an exam: Loading an exam should prompt the user for an exam file.

If no file exists, it should allow the user to specify a different file. Upon a successful load of an exam, the user should be presented with the menu again.

Display exam: The program should simply display each question, its point value, and the answer to the screen. (The functionality of actually taking the exam will be created in Week 5).

Upon displaying the exam to the screen, the user should be presented with the menu again.

Quit: Quit the program gracefully by displaying a "thank you" message to the user, and ensure that all files have been closed along with any other housekeeping that should be done as your program shuts down.

Consider creating a class exam that will hold the actual exam and provide behavior such as loadExam and also displayExam.

Reference no: EM132196634

Questions Cloud

Write a summary of your chosen article and form your opinion : Identify ONE article that is Macroeconomics in nature. The article may be domestic or international. The source and date of source must be written across.
Write a program that prompts the user for five numbers : The list of increasing numbers must replace the original list of numbers in "numb" and be returned to the main function where it will be output to the screen.
The demand options of aggregate planning : Aggregate planning requires which of the following information? These is among the demand options of aggregate planning?
What is the probability : What is the probability that at least 3 of the next 5 people selected at random will hold this opinion - national study that examined attitudes
Write a program that is menu-driven that allows for menu : Write a C++ program that is menu-driven that allows for the following menu choices: Load an exam: Loading an exam should prompt the user for an exam file.
Meteorologists rely on number of concrete predictive methods : When forecasting the weather, meteorologists rely on a number of concrete predictive methods.
Compute the quantity of money per person : How do they compare? Find the most recent level of M2 and of the U.S. population (POP) using FRED. (most recent values are in the top left of the graph).
Write a c program that prompts a user to enter a name : Write a C program that prompts a user to enter a name (up to 10 characters), an int number and an int number2.
Number of concrete predictive methods : When forecasting weather, meteorologists rely on number of concrete predictive methods. describe how you would identify and manage risks for this project.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a test program to declare and initialize two integer

Write a test program (main) to declare and initialize two integer arrays of size entered by the user, invoke the method logicAnd, then display the array result.

  Complete the micro-timing diagram

Complete the macro-timing diagram, Complete the micro-timing diagram

  Write a an application arithmetic which gets input

Write a an application Arithmetic which gets input from the user. It will have a main method. You will write the whole class

  Write a short memo explaining the concept to your boss

Using the Web, investigate the term, virtual desktop infrastructure (VDI). Write a short memo explaining the concept to your boss.

  Methodology of information systems security penetration

Red Teaming COLLAPSE In today's cyber threat environment it is not possible to add enough controls to eliminate all system vulnerabilities.

  Calculate and show the mortgage payment amount

Write down the program in Java (with a graphical user interface) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. Allow th..

  Determine the second shortest path between the vertices

Devise a strategy for determining the second shortest path between the vertices. Print out the vertices on the path, in order from start to goal

  You need to do the integer comparison

Prepare a segment of code which will read in an integer and then output the subsequent:

  What do you know about the object to which account refers

If account is a variable of type Bank Account that holds a non-null reference, what do you know about the object to which account refers?

  Describe a strategy you can use to decide whether m halts

Suppose you are given a Turing machine M (not necessarily a decider), a string w, and a (different) magic genie.

  Determine thresholds at which we should call the standard

Determine thresholds at which we should call the standard algorithm instead of dividing the instance further. Is there a unique optimal threshold?

  What was the total of all costs expensed

What was the total of all costs expensed on the operating income statements across both years under absorption costing and under variable costing?

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