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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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