The instructors of C+would like to have a simple database for printing student performance reports for...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The instructors of C+would like to have a simple database for printing student performance reports for the class. The software needs to store students details such as Name, ID. Results, and Grade, have search and sort functions, and the ability to load data from a text file and to print reports to both the sereen and to a text file. As a student learning the C++ language, you have been tasked to participate in the first phase of the program development to create the alpha version of the software. Your initial task is to develop a software which caters to the initial requirements provided by the project leader. Below is the requirement from the project leader for the alpha version of the soflware: The Menu must have the following options: 1. Display all Records to Screen 2. Import from AsmData.txt File 3. Insert new Record 4. Search Receord by ID & Save to File 5, Search Record with Lowest Grade & Display to Screen 6. Sort all Records by Name 7. Sort all Records by ID The user must also be given the option to exit the program Option 2 must be implemented with the function provided. Programs without a working Option 2 will not be heavily penalized. Note 1: Note 2: Note 3: The database must store the following data items: Student Name, Student ID, Results (number score), Grade (alphabet grade) Note 4: For Option 3, the user will only key in the Name, Student ID, and Results (score). The program must automatically generate and store the Grade (alphabet grade) based on the Results (number score). Likewise, the AsmData.txt file will only contain these 3 pieces of information, and the Results (number score) must be automatically generated.. The Text file contains data in the following format: Student Name: Cup to 32 characters) Student ID Results (score) (3 digits integer) (up to 15 characters) The Display and Export to Text file functions for Options 4 should output data in the following format: Student Name: Student ID: Results: Grade: John Doe SxM1234567890 85 The instructors of C+would like to have a simple database for printing student performance reports for the class. The software needs to store students details such as Name, ID. Results, and Grade, have search and sort functions, and the ability to load data from a text file and to print reports to both the sereen and to a text file. As a student learning the C++ language, you have been tasked to participate in the first phase of the program development to create the alpha version of the software. Your initial task is to develop a software which caters to the initial requirements provided by the project leader. Below is the requirement from the project leader for the alpha version of the soflware: The Menu must have the following options: 1. Display all Records to Screen 2. Import from AsmData.txt File 3. Insert new Record 4. Search Receord by ID & Save to File 5, Search Record with Lowest Grade & Display to Screen 6. Sort all Records by Name 7. Sort all Records by ID The user must also be given the option to exit the program Option 2 must be implemented with the function provided. Programs without a working Option 2 will not be heavily penalized. Note 1: Note 2: Note 3: The database must store the following data items: Student Name, Student ID, Results (number score), Grade (alphabet grade) Note 4: For Option 3, the user will only key in the Name, Student ID, and Results (score). The program must automatically generate and store the Grade (alphabet grade) based on the Results (number score). Likewise, the AsmData.txt file will only contain these 3 pieces of information, and the Results (number score) must be automatically generated.. The Text file contains data in the following format: Student Name: Cup to 32 characters) Student ID Results (score) (3 digits integer) (up to 15 characters) The Display and Export to Text file functions for Options 4 should output data in the following format: Student Name: Student ID: Results: Grade: John Doe SxM1234567890 85
Expert Answer:
Answer rating: 100% (QA)
Includes all required libraries Include Include Include Includes Using stdpace naming int main Given the maximum length of the data entered name for 1... View the full answer
Related Book For
Research Methods for Business A Skill Building Approach
ISBN: 978-1119942252
6th edition
Authors: Uma Sekaran, Roger Bougie
Posted Date:
Students also viewed these programming questions
-
The head-nurse in a hospital would like to have a profile of the patients that come to her ward. a. What would be the nature of the study that would be designed - Exploratory, descriptive, or...
-
In the previous problem, Nancy would like to have Frank stay on as a consultant after all of his shares are redeemed. She would pay him a modest amount of $500 per month. Nancy wants to know if there...
-
The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the employees net pay. The input for this program is an employee ID...
-
A new out-of-state client, Robert Ball, has asked you to prepare a Form 709 for a large gift he made in 2013. When you request copies of any prior gift tax returns he may have filed, he responds,...
-
Suppose on January 1, 2016, Eastern Motors paid $430 million for a 30% investment in Tripp Motors. Assume Tripp earned net income of $80 million and declared and paid cash dividends of $40 million...
-
Powell Corporation acquired 90% of the voting stock of Santer Corporation on January 1, 2014 for $11,700 when Santer had Capital Stock of $5,000 and Retained Earnings of $4,000. The amounts reported...
-
The four alternatives described below are being evaluated: The Incremental IRRs are: a. If the alternatives are independent, which one(s) should be selected if \(M A R R=15.5\) percent/year? b. If...
-
Data-Check is considering two capital structures. The key information is shown in the following table. Assume a 40% tax rate. a. Calculate two EBIT-EPS coordinates for each of the structures by...
-
The trial balance for Lindor Corporation, a manufacturing company, for the year ended December 31, 2024, included the following accounts: Account Title Sales revenue Cost of goods sold Selling and...
-
The trial balance of Pacilio Security Services Inc. as of January 1, 2015, had the following normal balances: Cash ...................$62,860 Accounts receivable ............. 20,500 Supplies...
-
A heating device contains 5 kg water and is being heated. During the process, 11 kJ/kg of heat is transferred to the water, and heat losses from the walls amount to 8 kJ. And 5 kJ of work is done by...
-
Review the different ways in which cash can increase or decrease in a firm. Use the accounting equation to support your answer. What are some of the characteristics of a firm with a long operating...
-
What is the basic goal of financial management with respect to capital structure? Is there an easily identifiable capital structure that will maximize the value of the firm? Why or why not?
-
ABC plc is comparing two different capital structures. Plan I would result in 1,100 shares of stock and 16,500 in debt. Plan II would result in 900 shares of stock and 27,500 in debt, on which it...
-
In the aftermath of the global financial crisis in the late 2000s, many companies sought to bring their leverage ratios down to much lower levels. In 2012, Lloyds Banking Group began to repurchase...
-
A warrant gives its owner the right to purchase three shares of equity at an exercise price of 32 Swedish krona per share. The current market price of the equity is 39 Swedish krona. What is the...
-
(a) What is the concentration of hydrogen at the B face in kilograms of H per cubic meter? C"H(B) == i kg/m (b) What is the concentration of hydrogen at the A face in kilograms of H per cubic meter?...
-
Solve the relation Exz:Solve therelation ne %3D
-
The job involvement measure described in the appendix is reflective in nature. Comment on this statement.
-
Operationally dene the following: a. Customer loyalty b. Price consciousness c. Career success
-
Identify the object and the attribute. Give your informed opinion about who would be an adequate judge. a. Price consciousness of car buyers. b. Self-esteem of dyslexic children. c. Organizational...
-
Discuss why no theory has emerged to fully replace the EFH.
-
Provide several examples to illustrate the evolution of the financial markets.
-
Discuss whether efficient markets exhibit return persistence and possible measures of market efficiency.
Study smarter with the SolutionInn App