Create well design modular program based on design technique

Assignment Help Computer Engineering
Reference no: EM131207849

You are to create a project for a census bureau to obtain and analyze household income survey data within the Cincinnati area (including Northern Ky).

Data Collected:

• Home identification code (4 alphanumeric characters) - required

o User can enter code by hand (must include input validation) *OR*

Use a random number generator to create each character in the code. Hint: use special number generator that will index into a character array to generate random letters.

• Date of the survey - required (try using the datetime picker control), must be a valid date

• County and State (1 input only) they reside in - required

o Hamilton, Oh

o Butler, Oh

o Clermont, Oh

o Warren, Oh

o Campbell, Ky

o Boone, Ky

o Kenton, Ky

• The household yearly income - required, must be numeric, must be greater than 0.

Events:

There should be 4 buttons on the screen:

1. Submit: This event will validate all data and save the data to the necessary arrays for processing.

2. Exit: This event will exit the application

3. Total Households Surveyed: This event will process the arrays and display the total households surveyed by state and then by county in a Message box (see below for example).

4. Average Household Income: This event will process the arrays and display the average household income by state and then by county in a Message box (see below for example).

Instructions:

1) Create a well designed modular program based on design techniques taught.

2) Use good naming conventions on all objects, variables, procedures, functions, etc.

3) Make sure all functions and procedures are called "down". Meaning a top-down modular approach.

4) Option Strict and Option Explicit must be on

5) All survey information must be saved to an array(s).

6) When the user clicks the button "Total Households Surveyed", do the necessary calculations and display in a Message box the Total Households Surveyed by county for all that were surveyed (see below for example).

7) When the user clicks the button "Average Household Income", do the necessary calculations and display in a Message box the Average Household Income by county for all that were surveyed (see below for example).

Average Household Income

Ohio: $30,000

Hamilton: $40,000

Butler: $20,000

Clermont: $30,000

Warren: $30,000

Kentucky: $35,000

Boone: $40,000

Campbell: $30,000

Kenton: $35,000

Total Households Surveyed

Ohio: 12

Hamilton: 4

Butler: 3

Clermont: 1

Warren: 4

Kentucky: 7

Boone: 2

Campbell: 3

Kenton: 2.

Reference no: EM131207849

Transitions between states of ready run and blocked

The following state transition table is a simplified model of process management, with the labels representing transitions between states of READY, RUN, BLOCKED, AND NONRESI

Traditional native americans

In a group of 48 people, 1/3 claimed to be Christians, 3/16 were followers of Islam, 1/16 were Buddhists, 1/16 were Hindu, 1/48 were Sikh, 1/12 were traditional Native Ameri

How can user context used to more effectively control data

How can user context be used to more effectively control data? Provide specific examples. Identify at least three companies that have software that manages user context.

Give the trade-off between the two technologies

Cite two examples of a circuit switch and packet switch environment. Base one instance on a circuit switch and the other on a packet switch. Describe the trade-off between t

How to write a c function named change()

The function should find the number of quarters, dimes, nickels, and pennies in the number passed to it and write these values directly into respective variables declared in

Make an idef1x e-r diagram

The scenario is that the Public Affairs Office at Highline University receives requests for speakers on particular topics. To be capable to respond to such request, that off

Generate a unique identification number for each object

Generate a unique identification number for each object instantiated from this class. Use a static data member to keep track of the identification number last assigned to an

Explain about this idea in other scenarios

The only way I believe computers and television would work is when you tape television shows that can be used to give flavor to PowerPoint Presentations. Television clips in

Reviews

Write a Review

 
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