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

  Problem utilizing the turing machine

Develop a two-track Turing machine which compares the two binary strings and decides if they are equal. If strings are equal, machine halts in some of the fixed state; if they are not equal, the machine halts in some other fixed state. Solve the s..

  Opening the "create and manage publications"

This project would challenge you to set up replication on your SQL Server installation. Every step to complete this process is not laid out for you here. Complete the steps and document your choices throughout the process with screen shots and exp..

  Write a program that reads n positive numbers from keyboard

Write a program that reads N Positive numbers from keyboard

  Give sign that could be mounted outside the store

give sign that could be mounted outside the store

  Use that both versions of average()

Create a class called CollegeCourse with. use that both versions of average()

  Implementing the program for carrying out the calculation

Write down a program that has a function named presentValue which carry out this calculation. The function must accept the future value, annual interest rate, and number of years as arguments.

  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.

  Assume that we compare the insertion sort method

assume that we compare the insertion sort method. while classification with merge requires 64n*lg(n) steps. For which values of n, does insertion sort method outclass the merge sort process.

  What is a task pane

What are the different kinds of Window controls? What is the purpose of each.

  Functionalities of pharmacy information systems

Analyze the different functionalities of the pharmacy information systems which can aid in reduction of the medication errors and make at least two recommendations for the improvements in future systems.

  Demonstrate that the expected search time for hashing

Demonstrate that the expected search time for hashing

  What would be the typical improvements

What other databases (Oracle, DB2, etc) would be known to benefit a clerical/job placement (staffing agency) organization using databases.

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