Read a file to add some records into the database

Assignment Help Data Structure & Algorithms
Reference no: EM131282117

Question: Database Description.

Each record in the database has following fields:
1) 8 digit student ID
2) Last name
3) First name
4) Telephone number
5) Major
6) GPA
7) Year of birth
8) Month of birth
9) Date of birth
10) Home address

There is no predefined limitation on the number of records (linked list needed)

Program behavior

Initially the program should read a file to add some records into the database (You can create your own data file for initial input, or you can just hard code the data in your main program)

Then the program needs to give interface for following operation repeatedly

1) insert a new record

2) delete record/records with given student ID

3) list all student information following the order they are saved

4) Reorder all student information following ascending/descending order by ID or GPA or birthday (consider year, month and date together)

5) list students in a given major, or a given ID

Additional requirement
1) Organize code in classes with proper .h and .cpp file structure
2) Submit readme file explaining the interface in your design
3) You can use any sorting algorithm discussed in class

What to submit
1) All source codes
2) Readme file

Verified Expert

In this assignment a C program is written with linked list implementation. Each node in the linked list stores 8 digit student ID, Last name , First name , Telephone number , Major , GPA, Year of birth, Month of birth, Date of birth, and Home address .Using linked list following functions are implemented, new record is inserted into the list, a given student ID is made to be deleted, print the linked list contents and reorder the list in ascending order by id, a given student ID details is fetched. A ReadMe file is written that describes how to run the program.

Reference no: EM131282117

Questions Cloud

Estimate the total rate of heat loss from the above-ground : The insulation maintains the outer surface of the steel sheathing at approximately 10°C. If the ambient temperature averages 0°C and prevailing winds are 2 m/s from the northeast, estimate the total rate of heat loss from the above-ground portion ..
Show three symbols constitute a simplex code : Consider a set of three equally likely symbols whose signal constellation consists of the vertices of an equilateral triangle. Show that these three symbols constitute a simplex code.
Identify you issue or problem from the arguments you make : For this class you will need to identify you issue or problem and offer both lessons from the arguments you make and solutions or recommendations to resolve the issue or problem.
Determine the scale resistance : A 50,000-ft2 condenser is constructed with 1-in.-OD brass tubes that are long and have a 0.049-in. wall thickness. The following thermal resistance data were obtained at various water velocities inside the tubes (Trans. ASME, Vol. 58, p. 672, 1936..
Read a file to add some records into the database : Initially the program should read a file to add some records into the database (You can create your own data file for initial input, or you can just hard code the data in your main program)
Find the dependence of the total required heat exchanger : The flow rate of the water, its inlet and outlet temperatures, and the steam pressure are fixed. Assuming that the tube wall temperature remains constant, determine the dependence of the total required heat exchanger area on the inside diameter of..
Sketch waveforms of the in phase and quadrature components : Given the input binary sequence 1100100010, sketch the waveforms of the in-phase and quadrature components of a modulated wave obtained using the QPSK based on the signal set of Figure.
Philosophical and legal issues : Review "The Katrina Breakdown" in Chapter 3. Setting aside the philosophical and legal issues this case raises, identify and explain two to three management or efficiency arguments for and against a more centralized response to large national disa..
What you anticipate to be the advantages of proposed policy : Discuss what you anticipate to be the advantages as well as disadvantages of the proposed policy, both in terms of the outcomes it produces as well as in terms of the implementation process.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  What step in the proof fails if messages can be duplicated

Show that the relationship in Lemma 6. 19 also holds if mes­ sages can get lost in the channel pq, but not if messages can be duplicated. What step in the proof fails if messages can be duplicated?

  Write procedures for inserting an item into a sorted array

Write two procedures, one for inserting an item into a sorted array, and one for deleting an item from it. Write a recursive function to determine whether an integer n is perfect.

  Find min returns the minimum key in the search tree

Find min returns the minimum key in the search tree, find min obj returns the object belonging to the minimum key,

  Explain solution to recurrence-appealing to recursion tree

Solve the following recurrence relations by the method of your choiceT(n) = 1 for n = 4 and T(n) =pnT(pn) + n for n > 4. Argue that the solution to the recurrence T(n) = T(n=3) + T(2n=3) + cn is (n lg n) by appealing to the recursion tree.

  Show the brute-force attack against single des

Your task is to show that breaking the scheme is approximately as difficult as a brute-force attack against single DES.

  Draw the hierarchy chart and then plan logic for a program

Draw the hierarchy chart and then plan the logic for a program for the sales manager of The Couch Potato Furniture Company. The manager needs a program to determine the profit on any item sold

  In the module on wsdl you were presented with the details

in the module on wsdl you were presented with the details of the wsdl service that receives a request for a stock

  Write a program that checks if left and right braces

Write a program that checks if left and right braces, brackets, and parentheses are balanced

  Research and implement the sieve of eratosthenes

Research and implement the Sieve of Eratosthenes (also called prime sieve) algorithm. Researching and implementing algorithms is something I did frequently while consulting and any programmer must be able to do this

  Currency conversion development

Currency Conversion Development

  Explain solution of towers of hanoi problem

Classical Towers of Hanoi problem starts with a stack of n > = 1disks on one of three pegs. Solving problem needs moving stack from peg A to peg B in such a way which only one disc is moved at time and no disc can be placed on top of a disc smalle..

  Which is a role of data mining agents

Which of the following software is cost effective since the vendor that builds the application spreads out the development costs by selling copies to a large number of users?

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