Write the code to display a menu and test it

Assignment Help Programming Languages
Reference no: EM13803242

One of the many tasks that programmers get asked to do is to convert data from one form to another. Frequently data is presented to users in well-labelled, tabular form for easy reading. However, it is impossible or very difficult to do further processing of the data unless it is changed into a more useful form.

For the purposes of this assignment I have downloaded and will make available the undergraduate applications to the 37 Australian universities from the Department of Education for 2009 - 2013 data file as a text file.

Your program will load this data into an array of structs, save the data in a form that is directly usable by a database (see below), display the data on the console in its original form and in its database form. It will also allow the user to display the highest number of applications for a given state and year.

Your program will use a menu to allow the user to choose what task is to be done. You will only be required to handle the Applications data. You can ignore the Offers and Offers rates data (see below).

1) Write a method to display instructions to the user

2) Write the code to display a menu and test it

3) Write the code to display the contents of the data file line by line

4) Write the code to save the contents of the data file to a new file

5) Write the code to copy the file data into a simple array of structs where the structure is something like:

6) Write the code to deal with the unnecessary data at the start

7) Write the code to deal with the unnecessary data at the end

8) Write the code to modify the code to convert the original data into database format. You do not have to follow the exact structure given above, e.g. you could use commas instead of tabs You may want to divide this into two problems. First treat the numbers as a string, i.e. New South Wales, Charles Sturt University,"3,769" and when you have that working then work out how to convert "3,769" into 3769 etc

9) Modify the struct to handle the modified data

10) Modify the file save code so that is saves the modified data

11) Write the code to find the highest number of applications in a year for a state.

Attachment:- under graduate application.txt

Reference no: EM13803242

Questions Cloud

Establishing and reinforcing self-control in a child : Parental sources of self-control are cited as the most influential in establishing and reinforcing self-control in a child. This is so powerful that it is more influential than biological artifacts such as genetic predispositions that can lower on..
Approach to monitoring each node of the cluster : Management utilities can be vendor-specific or vendor-neutral. There are many utilities that are available to provide a proactive approach to monitoring each node of the cluster.
Special needs using assistive technology : How can an Early Childhood Care Professional facilitate play for a child with special needs using assistive technology? What are some limitations that this child may have? Give specific examples.
Appropriate for calculating rates : 1. Which type of constant multiplier is most appropriate for calculating rates?
Write the code to display a menu and test it : Write a method to display instructions to the user, Write the code to display a menu and test it, Write the code to display the contents of the data file line by line
People have become overly dependent on technology : Clearly define your position and supporting evidence - People have become overly dependent on technology
What is the total of the daily increases in time : what is the total of the daily increases in time (that is, the sum of the gain on the first day, the gain on the second day, etc.)?
Find the initial vertical and horizontal components : A car with 60 cm diameter tires is traveling at a constant speed of 100 km/hr. What is the angular velocity of the tires in rad/s?
Find the magnitude of the resultant displacement : Find the magnitude of the resultant displacement from the starting point. Answer in Units of paces.

Reviews

Write a Review

Programming Languages Questions & Answers

  Explain the interaction framework

Explain the Interaction Framework discussed by Steven Heim (2008). Choose a computing device (like an ATM machine or the self-check-out at a grocery store

  Write functions to implement split-mergesort for files

Write functions to implement the split, merge, and mergesort algorithms for files. Also, write driver programs to test the given functions.

  Assume the filling process is so slow that the tank air

a large compressed air storage tank with a volume of 100 m3is initially at 200 kpa and 288 k. the supply line valve is

  Your english instructor realizing you are a programmer asks

your english instructor realizing you are a programmer asks you to write a grade book program for his class to help

  Small game development

Small game development - the development has to be done in PROLOG LANGUAGE.

  Create effective navigation for the application or site

Use any familiar web, JavaTM, .NET, or database development tool to design, develop, and create the application or site. Create effective navigation for the application or site

  Write a program to clean up lane9.dat

Write a program to clean up lane9.dat. Write all numbers and spaces to cleanlane9.txt.

  Compare and contrast object-oriented languages

Compare and contrast object-oriented languages (Java, C++, C#, etc.) to imperative languages (C, Pascal, etc.) in terms of: Programmability Maintainability Performance Development tools Explain the use of scripting languages, such as JavaScript, PHP,..

  Write down a program to input widths of both hallways

Write down a program which prompts user to input widths of both hallways. The program then outputs length of longest pipe.

  Create application to use scrollable control track

Create the Application which permits you to enter amount of a purchase and then display the amount of sales tax on the purchase. Use a scrollable control such as a track bar to adjust the tax rate.

  Prepare a scenario diagram for problem

Write a PhoneContact class that gets initialized with a phone number and a label. The phone number should follow one of the formats of the Phone class from the previous assignment - Prepare a scenario diagram for Problem 1, Brief discussion for Pro..

  Desigh program that enters first and second number

Desigh a program which enters first and a second number. First and second number which will be entered should be computed in halves, quarter, double, and square using JoptionPane input dialog.

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