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

  Values of variables of logical section of the pseudocode

What are the values of variables a, b, and c after each line of code of each logical section of the pseudocode. Show why the logical section is running.

  Building airline reservation system

Problem Description The aim of this project is to build airline reservation system. System must give two basic sets of services to an airline: First set of services allows the airline to provision its system.

  Write the application using the one-dimensional array

Write the application using the one-dimensional array which inputs ten numbers from user, each number can be between and 100, inclusive.

  Write client-side javascript function to convert ampersands

Your job is to write a client-side JavaScript function that converts all ampersands in a form field to the text string " and " when the form loses focus on the textbox in question.

  Examine the merits and demerits of using mobile computing

question 1 compare and contrast monitoring of patient vital signs using mobile computing technology to in-patient

  Write a program that exploit string library functions

Write a program that exploit string library functions to do the following: -prompt the user to enter his name (of four parts) -count the number of characters in his name (excluding the white spaces).

  Write down the xml file with markup tags

Write down the XML file with markup tags and some sample data to represent list of invoices. Write the XML tags for two invoices in list.

  Write code to find largest value found in parking tickets

Without using any additional variables, write some code that results in mostTickets containing the largest value found in parkingTickets.

  Prepare program to compute and display area of triangle

The area of any right triangle is equal to one-half of base times its height. Prepare the program which will compute and display area of a triangle which has a base of 4 and a height of 5.

  Creating printstream object using dos

Create a PrintStream object using dos and assign the resulting reference to ps, a PrintStream variable that has already been declared.

  Write program to ask user to enter number between a range

Write down program which asks user to enter number between 1 and 100. Use input validation to make sure that a valid number is entered before continuing program.

  Write a program learn multiplication

Write a program which will help the elementary school student learn multiplication. Use Random object to produce two positive one-digit integers.

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