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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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