Write a program which makes a grade book

Assignment Help Computer Engineering
Reference no: EM13323125

Write a program which makes a grade book using file i/0.Your program

(1) Reads from an input file using file i/o 20 names(can use first names but make them distinct) and the corresponding grades(grades are between 0 and 100- make several with the same grade).

(2) finds the average

(3) finds the mode, the most common grade- use a frequency array.

(4) sorts the names alphabetically using a link list implemented via classes. Each node in the list should have the name, the grade, and a pointer to another node. You will need string comparisons. A selection sort might be the easiest.

(5) Sorts the grades numerically and prints the names and corresponding grade

Divide up the parts of the assignment into functionsType your question here.

PART II:

Repeat part 1 but rather than using linked lists for 4 and 5, use 2 arrays- one for names and one for grades and the sorting should be done using a merge sort.

 

Reference no: EM13323125

Questions Cloud

Write a program that simulates checkout line at supermarket : Write a program that simulates a checkout line at a supermarket.? The line is queue object. Customers (i.e., customer objects) arrive in random integer intervals of from 1 to 4 minutes.
In an arbitration proceeding : In an arbitration proceeding, the arbitrator need not be a judge or even a lawyer. How, then, can the arbitrator’s decision have the force of law and be binding on the parties involved?
Determine the power of the lens in diopters : A lens forms an erect image of a real object. The image is twice the size of the object and appears to be 40 cm from the lens
Source of law takes priority in the following situations : Which source of law takes priority in the following situations, and why?
Write a program which makes a grade book : Reads from an input file using file i/o 20 names(can use first names but make them distinct) and the corresponding grades(grades are between 0 and 100- make several with the same grade).
What is the actual distance between the can and the aquarium : A fish in a flat-sided aquarium sees a can of fish food on the counter. What is the actual distance between the can and the aquarium
What particular problems stand-out in wal-mart : Discuss the company Wal-Mart, the background of the company as well as why you would like to use them. What particular problems stand-out in Wal-Mart? And also discuss the positives and negatives of the company?
How wide is the aperture : A point source of light illuminates an aperture 1.96 m away. How wide is the aperture
What is the probability that at least one of the averages : A process is normally distributed and in control, with known mean and variance, and the usual three-sigma limits are used on control chart, so that the probability of a single point plotting outside the control limits

Reviews

Write a Review

Computer Engineering Questions & Answers

  Express the concept of knowledge management

How data, information and knowledge are related to the concept of knowledge management? How are they different? Please define each one: data, information, knowledge and KM.

  Create an array of five shippedorder objects

Prompt the user for values for each Orders object; do NOT allow duplicate order numbers and force the user to reenter the order when a duplicate order number is entered.

  Analysis of network

You are a $10 million consulting company responding to the Request for Proposal for a prospective client. The client seeks an analysis of its existing network in the anticipation of a large merger.

  Using any xml technology you choose

create a simple site to showcase a few products (books, CD's etc). A couple of different categories populated with products.

  Write down code to complete the conversion

Include a Reset button, which will clear the interface controls.Write down code to complete the conversion.

  How to establishing a secure computer room

Include the principles of separation of duties to find out who should be granted access into the computer room and the type of access they should have.

  Express who is involved and what the outcome is

We explored the two primary steps to database design - conceptual design and physical design. We discussed the importance of having representatives from all key stakeholders in the conceptual design to ensure the accuracy of the design. We analyze..

  Why should asks the user to enter a number from 1 to 50

Print the statement "Programming is fun" the number of times entered by the user using the for loop.

  Compare the role and impact of a computing technology

information on understanding an inner workings of digital downloads and digital compression. I need to follow the outline below. I'm running out of information. I need to compare the role and impact of a computing technology on society.

  Create a program to perform the simulation

Each time a square is touched, the count for that square is incremented. Thus, a non-zero entry in the array shows the number of times bug has landed on the corresponding square. When every square has been touched at least once, the simulation is ..

  Write pseudo code - program and draw flow chart

Write pseudo code, program and draw flow chart for programs

  Why they are used in a web based application

For each one justify why you would choose the particular approach and what advantages / disadvantages there may be.

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