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

  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