Preview

Mathematics and Family Members Essay Example

Powerful Essays
Open Document
Open Document
931 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Mathematics and Family Members Essay Example
Question:
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 final 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 live in Texas.
2. What is the required output? What is the necessary input? How you will obtain the required output from the given input? Clearly describe variable names and definitions. Include all necessary formulas and example calculations.
3. Display pseudocode of your overall design including the Main module and the order of the module, subprogram and function calls.
4. Create a Hierarchy chart for the overall program in raptor
5. detailed pseudocode for each module, subprogram and function.
6. Add pseudocode comments with all major functionality and most minor functionality commented
7. Show test plan covering all major functionality and most minor functionality. Multiple Input and expected output provided for most modules.
SOLUTION:
Analysis: For this program, user will be asked for name, age and state of their family members, one by one, until the user decides to stop entering this information. To achieve the given task (printing average family age and identifying residents of Texas), following modules need to be created: * Main module: This module will be the one running on program startup. It will be responsible to get user input and call appropriate modules to calculate and display average family age and display family members those are residents of Texas * calcAverageAge module: This module will take family ages as input and count of family members as input and calculate and display average family age. This module will be

You May Also Find These Documents Helpful

  • Satisfactory Essays

    * Line 11 keeps a sum of all the participant ages. To compute your participant average age, you must divide the sum of all your participants ages by the number of participants,…

    • 313 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    INFERENTIAL STATISTIC

    • 541 Words
    • 5 Pages

    Here is an example of the statistics of our results describing the total number of people from minimum age to maximum from ages 35 to 55. Mock data for the independent variables for Melks.…

    • 541 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Math123 Week 3 Essay

    • 618 Words
    • 3 Pages

    3. Factorise each of the following expressions using laws of squares and cubes as necessary: (a) x4 − x2 (b) x6 − y 6 (c) x6 − y 3 (d) x3 y − xy 3 (e) x4 y + xy 4 (f) x2 − y 2 − 7x + 7y…

    • 618 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    MKTG West End Population

    • 363 Words
    • 3 Pages

    1 757 FAMILIES BY TYPE - Average Family Size (no.) 2.7 OCCUPATION OF EMPLOYED PERSONS: AS % OF TOTAL EMPLOYED - Census 2011 OCCUPATION OF EMPLOYED PERSONS - Managers (%) 13 OCCUPATION OF EMPLOYED PERSONS - Professionals (%) 40.6 OCCUPATION OF EMPLOYED PERSONS - Technicians and…

    • 363 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Name and Example Output

    • 492 Words
    • 2 Pages

    1) Display the the name of each student and what zipcode they live in. sort them by last and then first name in ascending order…

    • 492 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Squirt Executive Summary

    • 1295 Words
    • 6 Pages

    Majority of this population is under the age 18 (35%) and their median age was 35,3 years.…

    • 1295 Words
    • 6 Pages
    Good Essays
  • Good Essays

    In the county the population was spread out with 22.90% under the age of 18, 12.80% from 18 to 24, 34.80% from 25 to 44, 19.80% from 45 to 64, and 9.70% who were 65 years of age or older. The median age was 32 years. For every 100 females there were 93.00 males. For every 100 females age 18 and over, there were 89.70 males.…

    • 412 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Use Table 2 to gather data for the number of males in each age group for the American Indian and Alaska Native. Be sure you use the column specified for that group:…

    • 312 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    The following information was entered into the computer: our initial, date-of-birth, gender and height in inches.…

    • 233 Words
    • 1 Page
    Satisfactory Essays
  • Better Essays

    1. 2. 3. Abstract ............................................................................................................................... 3 US Census ........................................................................................................................... 4 Implementation ................................................................................................................... 5 3.1. 3.2. 3.3. Constraints ................................................................................................................... 5 Software ....................................................................................................................... 5 Implementation ............................................................................................................ 5…

    • 943 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    Analytical Puzzle Problem

    • 281 Words
    • 2 Pages

    This analytical puzzle involves a census worker asking a mother for the ages of her three children. We are told that the product of the children’s ages is 36, and the sum of their ages is the same as the address of the house to the north. After being given this limited information, the census worker looks at the address next door, and returns to ask the mother for more information. The mother simply tells the census worker that the oldest child is sleeping upstairs.…

    • 281 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Adolescent Case Study

    • 455 Words
    • 2 Pages

    Step 2. Identify the Building Code clauses for which performance must be demonstrated by the design and supporting documentation.…

    • 455 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Rajon Rondo

    • 3457 Words
    • 14 Pages

    * write a sustained and detailed response which reflected a thorough understanding of the Module and their core texts in particular…

    • 3457 Words
    • 14 Pages
    Good Essays
  • Satisfactory Essays

    mr angola

    • 329 Words
    • 2 Pages

    Asks the user to enter studentID, Name, Sex, Age, and Height in meters; Stores these in variables of appropriate data types and presents them together to the user. e.g.…

    • 329 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    - Write a program to determine the cost of an automobile insurance premium, based on driver's age and the number of accidents that the driver has had.…

    • 693 Words
    • 3 Pages
    Satisfactory Essays