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

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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