Utilizes a good design process

Assignment Help JAVA Programming
Reference no: EM13158907

Analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call and the use of at least one array.  The specific problem you need to solve for the project is:

Design a program that will allow a user to Input a list of your family members along with their age and state where they reside. Determine and print the average age of your family and print the names of anyone who lives in Texas.

There are 4 components of your submission including:

  • Program Description
    • A detailed, clear description of the program you are building.
  • Analysis
    • Demonstrates your thought process and steps used to analyze the problem.
    • Be sure to include the required input and output and how you will obtain the required output from the given input?
    • Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed.
    • Talk about the functions you plan to use and how you will use arrays.
    • Be sure to talk about the types of programming statements that will be used on why.
  • Test plan
    • Prepare at least 3 sets of input data (Test data) along with their expected output for testing your program.
    • Your test data can be presented in the form of a table as follows (note: feel free to adapt to your design)
  • Pseudocode
    • Provide pseudocode of your overall design that fulfills the requirements of the project
  • C code (optional, but recommended)
    • Provide C code, compile and run it, using any online C compiler (e.g ideone.com, codetwist.com).

As recommendation, you can try to use Eclipse or NetBeans environments that are used also for other courses as: Introduction in Java programming and Intermediate programming.


All of these components should be placed in word document for submission.

The C code have to be a document written with a text editor or Notepad++ (https://notepad-plus-plus.org/)

All of these components should be placed in word document for submission.

Additional details about the program you need to write:

  1. Family sizes vary, however you should design to be able to enter at least 50 Family members.
  2. Your test cases should have at least 5 family members.
  3. Be sure to separate some functionality into functions or submodules. Having all functionality in the main module is not a good design.
  4. Your design should consider how to indicate the family member entry is complete.
  5. Carefully consider the best data type for each of your variables. (e.g. when to use Float versus Integers versus Strings)

Example application test data:

Test Case #

Input

Expected Output

1

Name:Fred, Age: 82, State: MD
Name:Mary, Age:75, State: OH
Name:Joe, Age: 45, State: TX
Name:Julie, Age: 47, State: TX
Name:Beth, Age: 9, State: TX

Average Age: 51.6
Members who live in TX:
Joe
Julie
Beth

2

Your input data

Your expected output

3

Your input data

Your expected output

In our example the user of your program have to enter as input values:

Fred 82 MD

Mary 75 OH

Joe 45 TX

Juie 47 TX

Beth 9 TX

 

 

Reference no: EM13158907

Questions Cloud

Participation in a defined contribution plan : Discuss how an employer an use participation in a defined contribution plan as a competitive advantage.
Despite the fact that the heritabilities were high : Despite the fact that the heritabilities were high and approximately equal, we cannot conclude that the differences in seed weight between the populations are largely due to genetic differences.
Clausius-clapeyron equation to estimate the boiling point : In a high-altitude city, the normal atmospheric pressure is 607.1 torr. Use the Clausius-Clapeyron equation to estimate the boiling point of water in this city
Negative ramifications for the united states : If this speculation proves to be reality could it put the brakes on rising living standards around the world as well as have negative ramifications for the United States?
Utilizes a good design process : Analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call and the use of at least one array.
Explain what narrow-sense heritability demonstrates : Explain what narrow-sense heritability demonstrates and how the researcher might have obtained the values.
Create a gui version of the game mini sudoku. : Each row has the numbers 1 to 6,Each column has the numbers 1 to 6,Each group of 2 rows by 3 columns also has the numbers 1 to 6.
Explain the heat of fusion for water : The specific heats of ice and water are 2.09 and 4.184 J/g.°C, respectively. The heat of fusion for water is 334 J/g.
Calculate the present value (pv) of profits for abe : Calculate the present value (PV) of profits for Abe's business at each of the following discount rates: 8%, 9%, 10%, and 12%.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Create java application-input miles driven and gallons used

Create Java application which will input miles driven and gallons used (both as integers) for each tankful. Program must compute and display miles per gallon obtained for each tankful.

  Java application to display multiple choice questions

Write down the application which displays series of TEN(10) multiple choice questions: questions must cover all the Java. Each question must have four possible answers and only one answer must be correct.

  Write a class array that encapsulates an array

Write a class Array that encapsulates an array and provides bounds-checked access. The private instance variables should be int index and inarray[10]. The public members should be a default constructor and methods (signatures shown below) to provide ..

  Write specifications for method which advances date by one

Write specifications for the method which advances any given date by one day. Comprise a statement of purpose, pre- and post-conditions, and description of parameters.

  Java program for line item application

This exercise explains you the process of testing and enhancing Line Item application. Open LineItemApp, Validator, Product, LineItem, and ProductDB classes that are in the c:java1.6ch06LineItem directory and review this code.

  Design a single class that expresses the commonality

Design a single class that expresses the commonality of these concepts.

  Elliptic curve encryption

write a program to implement Elliptic Curve encryption/decryption and program will read parameters, plaintext and ciphertextfrom a file named "input.txt" (under the same directory).

  Build the gui layout of the game

Build the Build the GUI layout of the game in java.

  Prepare executable program and a dictionary program

Prepare executable program and a dictionary Program.

  Javascript validation - cgi program

CGI mailer script form-mail.pl to your server's cgi-bin directory, and change the permissions on the script to make it executable - BMIS 310

  Create javascript program to find gross pay for employees

Create JavaScript program which will find out the gross pay for each of three employees. Company pays "straight time" for first 40 hours worked by each employee and pays "time and a half".

  Create web application uses visual web java server

Create the Web application which uses Visual Web Java Server Faces framework and either Apache Tomcat or Glassfish as the server.

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