Cis115 Week6

Submitted by: Submitted by

Views: 55

Words: 334

Pages: 2

Category: Other Topics

Date Submitted: 11/30/2014 10:23 PM

Report This Essay

Week 6 Activity – Array Handling

-------------------------------------------------

-------------------------------------------------

TCO 5—Given a simple business problem that requires iteration, create a solution algorithm that employs loops.

-------------------------------------------------

TCO 7—Given a simple business problem that requires simple data structures, design, code and test a solution algorithm that uses arrays.

-------------------------------------------------

Assignment

Arrays are incredibly fun! Today we are going to work on a program to keep track of our homework scores for a math class. Write a program that accepts five homework scores as input values and stores them into a table (which is another name for an array). Once the scores are in the array, we can process them again and again.

First, load the scores in your array. Second, display the contents of the array in order. Third, display the array in reverse order. Fourth, calculate the average of the five scores entered in the array. Finally, the algorithm should display all the homework scores in the array that are larger than the previously calculated average. Make sure you use some output statements to clarify all the details you are displaying, being cautious about spelling and communicating to your user.

Be sure to think about the logic and design first (IPO chart and/or pseudocode), then code the Visual Logic command line processing.

Rubric

Complete the steps and submit the completed file to the Dropbox.

1) This instruction sheet first

2) IPO chart

3) Flowchart

4) Pseudocode

5) Visual Basic code

Homework Array |

Document | Points possible | Points received |

IPO chart | 5 | |

Pseudocode | 5 | |

Flowchart and output | 10 | |

| | |

Total points | 20 | |

1) This instruction sheet first

2) IPO Chart

List the inputs, any processes/calculations, and outputs. Use the same valid variable names you used in Step 1....