We use cookies to give you the best experience possible. By continuing we’ll assume you’re on board with our cookie policy

Array Structure Proposal

The whole doc is available only for registered users

A limited time offer! Get a custom sample essay written according to your requirements urgent 3h delivery guaranteed

Order Now

To provide a programming solution to a problem, certain procedures must be taken. First and foremost, the problem has to be analyzed and totally understood in order to develop a blue print (algorithm) of the problem. Secondly, the algorithm (blue print) has to be developed; the next steps are: design a program for the problem, code the program, test or run the program and then review the results. The process involves utilizing the programming cycle which follows the programming fundamentals of input, process and output. The process requires the use of syntax, modules, shapes, operations, a computer language, and subsequently involves selection structure and array structure proposal. “An array is a collective name given to a group of similar quantities. These similar quantities could be percentage marks of 100 students, number of chairs in home, or salaries of 300 employees or ages of 25 students. Thus an array is a collection of similar elements. These similar elements could be all integers or all characters, and so on” (Thompson, 2007).

In the Church of Christ scenario addressed in the Programming Solution Paper (week 1), Selection Structure Paper (week 2) the Pastor of the church wants to know the real-time (monthly) information of how much money in tithes and offerings is collected from the (500) church attendees. The problem has been analyzed, and an algorithm developed. The program designing process necessitates the use of a selection structure and array structure. A section (name of church attendees and contributions) of the Selection Structure that requires an array structure has been selected. The purpose of this segment is to input the names of the church attendees and the total monthly contributions into two arrays (Names and Contributions) and find out the church attendee that made the most contributions (Max). Below is the flow chart for the pseudo code described below.

Declare Names [100] As String
Declare Contributions [100] As Float
Set Max = 0
Set Counter = 0
Write “Enter a church attendee’s name and monthly contributions.” Write “Enter *, 0 when done.”
Input Names [Counter]
Input Contributions [Sales]
While Names [Counter]! = “*”
If Contributions [Counter] > Max then
Set Index = Counter
Set Max = Contributions [Index]
End if
Set Counter = Counter + 1
Write “Enter name and contributions (enter *, 0 when done).” Input Names [Counter]
End While
Write “Maximum contributions for the month:” + Max
Write “Church attendees:” + Names [Index]


Vernit, S, & Drake, E. (2011). Prelude to programming. Concepts and Designs, Fith Edition. Retrieved on July 04 2012 from https://ecampus.phoenix.edu/content.

Related Topics

We can write a custom essay

According to Your Specific Requirements

Order an essay
Materials Daily
100,000+ Subjects
2000+ Topics
Free Plagiarism
All Materials
are Cataloged Well

Sorry, but copying text is forbidden on this website. If you need this or any other sample, we can send it to you via email.

By clicking "SEND", you agree to our terms of service and privacy policy. We'll occasionally send you account related and promo emails.
Sorry, but only registered users have full access

How about getting this access

Your Answer Is Very Helpful For Us
Thank You A Lot!


Emma Taylor


Hi there!
Would you like to get such a paper?
How about getting a customized one?

Can't find What you were Looking for?

Get access to our huge, continuously updated knowledge base

The next update will be in:
14 : 59 : 59