Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, I need to file code on Java, and here are the instructions. I am very confused about where to start it. The first part

Hi, I need to file code on Java, and here are the instructions. I am very confused about where to start it.

image text in transcribedimage text in transcribed

The first part of your assignment is to select a subject for a data file, which will be a simple version of what is called a "database." A data file (sometimes called a "flat file") typically contains information describing a group of related items, like the states of the United States, or the chemical elements, or Clint Eastwood movies. Each item (state, element, or movie) is described by a line of the file, called a "record." Each record includes a set of entries, called "fields", describing properties or characteristics of the data item. All records in a data file must contain the same set of fields. For example, the fields of a state record might include the state name, the state capital, the population density (per square mile), and the total population, and a few typical records might look like this: Typically, one of the fields, called the "key" field, is unique for each record, like the state name, or the chemical element name. No two records may have the same entry for the key field so that it may be used to request selected records from the data file. For example, if someone wanted to see all the information on the state of Pennsylvania, that would be contained in the Pennsylvania record. The first part of your assignment is to turn in a description of your data file. Describe the general topic, as well as the fields of each record and their data types. Do NOT list the actual data, just provide a general description. Identify what each record represents, the four fields, and the specifics of each of the four user options. An example file description is on the last page. Turn this in by email, as soon as possible, so that you can receive a response with comments. If you do not turn in a file by the beginning of class on the due date (with no grace period), your program will not be accepted. When the program is complete, turn in two files by email: the program file (.java) and your data file called (.txt). Turn these in to: simms@mesacc.edu Sample Data File Description Title: States of the United States: Fields: name, capital, population density, and total population. options: (1) list all data (2) list the data for a selected state (by name) (3) take a quiz on the state capitals. (4) display the distribution of states by total population

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistical And Scientific Database Management International Working Conference Ssdbm Rome Italy June 21 23 1988 Proceedings Lncs 339

Authors: Maurizio Rafanelli ,John C. Klensin ,Per Svensson

1st Edition

354050575X, 978-3540505754

More Books

Students also viewed these Databases questions