Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

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++ (http://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

 

 

Java, Programming

  • Category:- Java
  • Reference No.:- M9449035

Have any Question?


Related Questions in Java

Object-oriented software development1 introduction 11

OBJECT-ORIENTED SOFTWARE DEVELOPMENT 1. Introduction 1.1 Assignment Requirement 1.2 Deliverables and Structure (what to submit) 1.3 Software Restrictions 1.4 How to score high... 1.5 Assumptions 2. System Requirements 2. ...

Simple order processing systemquestion given the classes

Simple Order Processing System Question: Given the classes Ship (with getter and setter), Speedboat, and SpeedboatTest. Answer the following questions: Refine the whole application (all classes) and create Abstract class ...

Project requirementsfor the problem described in the next

Project requirements For the problem described in the next section, you must do the following: 1. include your student ID at the end of all filenames for all java code files. Three classes have been identified in section ...

Can someone help me please with those question1what is the

Can someone help me please with those question 1:what is the best data type for student id datatime,currency,number,decimal 2:which relationshipis preferable? one to one,one to many,many to many 3:if you add table A's pr ...

Assessment database and multithread programmingtasktask 1

Assessment: Database and Multithread Programming Task Task 1: Grade Processing University grading system maintains a database called "GradeProcessing" that contains number of tables to store, retrieve and manipulate stud ...

Operating systems assignment -problem 1 sharing the bridgea

Operating Systems Assignment - Problem 1: Sharing the Bridge A new single lane bridge is constructed to connect the North Island of New Zealand to the South Island of New Zealand. Farmers from each island use the bridge ...

Can someone kindly help me to consider whether java

Can someone kindly help me to consider whether Java provides the facility of operator overloading? If it does, may you kindly describe how overloading operators can be accomplished? If not, may you kindly describe why yo ...

Applied software engineering assignment 1 -learning

Applied Software Engineering Assignment 1 - Learning outcomes - 1. Understand the notion of software engineering and why it is important. 2. Analyse the risk factors associated with phases of the software development lif ...

Project descriptionwrite a java program to traverse a

Project Description: Write a java program to traverse a directory structure (DirWalker.java) of csv files that contain csv files with customer info. A simple sample in provided in with the sample code but you MUST will r ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As