Preview

Array Structure Paper

Good Essays
Open Document
Open Document
833 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Array Structure Paper
Runninghead: ARRAY STRUCTURE PAPER

Array Structure Proposal
Christopher Hood
6/10/2012
Carlotta Persaud

Once again Berry’s Bug Blasters are requesting an update to the previous program that was designed to help them to better serve their customers. The company has requested a way to display the name and phone number of their clients so that they can keep a record of what clients have called. The best way in the opinion to accomplish this is to build an array into the program. This will allow those in charge of the company record to record who has called and then to display the names of the clients and their number in a chart so that it can be recalled at a later date as needed.
“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). Building an array can be confusing for the Bug Blasters can be very confusing for a programmer who does not fully understand how they work.
To build an array for Berry’s Bug Blasters the variable must be decided in this case this author knows that the company wants the name from the cuostuomer and the telephone where they are requesting service. Now that the variables are decided the process of building the array can begin. An array must have an Upper Bound. This simply means a limit for the number of times that the loop will run before the program ends. Without this set limit the program would become an infinite loop. Having an infinite loop could likely cause the program to crash in some cases, but it is the opinion of this writer that all that would happen in the case of this program would just mean that the user would be continuously entering data in the way of names and phone numbers with no end to the program. This also



References: | .5 | .5 | Provided | Page Count | .5 | .5 | Correct | Total | 15 | 13.9 | |

You May Also Find These Documents Helpful

  • Good Essays

    Nt1420 Unit 6

    • 1145 Words
    • 5 Pages

    INSTRUCTIONS: 1. THERE ARE SIX (6) QUESTIONS IN THIS PAPER. 2. ANSWER FIVE (5) QUESTIONS ONLY. Question 1 Arrays are used when storing a large number of values. You are required to create an array named a and answer the following questions regarding array manipulation. a. Write a method fillRandom(int[] a, int min, int max), fill the array a with a random integer value. (Note: Math.random() returns a double in the range of 0.0 and 1.0, therefore it is cast to an integer number, between the minimum and maximum value). [6 marks] b. Write the Bubble sort method to sort array a into descending order. [10 marks] c. In the quicksort, an algorithm an element is chosen from the unsorted list. This element is called the…

    • 1145 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Exercise 1: Review of array-based lists Create a project using the classes in the DocSharing area labeled “User-defined array list." Compile it, run it, and review the code that is given carefully. This code tests the ArrayList class provided in the lecture.…

    • 714 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    C++ programming: editing, compiling, user I/O, variables (ints, doubles, char, strings, booleans), loops, decisions, functions, pointers, arrays, tables, databases, sorting.…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Array Structure Proposal

    • 712 Words
    • 3 Pages

    In order for this program to perform its intended function of contacting all the patients regarding their upcoming appointment, information regarding these patients needs to be gathered. Each patient will have his or her name, phone number, email, and appointment type recorded into the program. The recording of the patient’s information will need to utilize a section of programming known as arrays. An array is a collection of variables of the same type and referenced by the same…

    • 712 Words
    • 3 Pages
    Good Essays
  • Good Essays

    array - noun an arrangement of aerials spaced to give desired directional characteristics; especially fine or decorative clothing; an impressive display; an orderly arrangement; verb align oneself with a group or a way of thinking; lay out orderly or logically in a line or as if in a line…

    • 845 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    It 218 Week 4 Checkpoint

    • 290 Words
    • 2 Pages

    An array is a variable that holds more than more than one value, and an array can be combined with multiple variables for a more complex structure. An array is declared much similar with any other variable. The only difference is the number of elements is shown in brackets. An example of an array will be look much like these three: calories [ min ], 30 [ 7 ], and feet [ 12 ]. Each one of these arrays can be used as long as it is appropriate for the program.…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    flam

    • 1264 Words
    • 6 Pages

    Chris Zelinski started Green Scene Landscaping (GSL) five years ago, offering a wide range of lawn care services. In the early years of the business, Chris kept up with his customers, price quotes, service dates, and payment information using his memory and some paper-based records. As the business has grown, Chris has begun to realize that a better system for tracking customers is required. After considering several options, he has decided to replace his current system with an Excel workbook.…

    • 1264 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Most VB programmers are familiar with the array (figure 1). An array can be single or multidimensional, which means it can have rows and columns. While the array is the most commonly used data structure, it 's not the best choice for at least two reasons. The first is data access. To find something within the array, you have to know exactly what you want. If you knew that, you wouldn 't have to look, would you? To search for an item, you must iterate through the array.…

    • 877 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Computation Paper

    • 485 Words
    • 2 Pages

    To Searle the definition of computation is “defined syntactically in terms of symbol manipulation.” John Searle uses the Chinese Room as an example of a computerized mind. We have to assume that the man in the room, outside from Chinese people, does not know any Chinese. But he has a set of rules that can help him communicate with the Chinese outside. When he stirs up a conversation, does it really mean that he can understand and write Chinese? Or is it just the mind doing one of the amazing things it can do and translating everything? I do believe that the brain is like a computer but computers have websites and programs that help it function or make the computer useful. So we still have to learn and “download” the programs into our “computer.”…

    • 485 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    C# Array Concept

    • 1268 Words
    • 6 Pages

    Another detail is that the size of the array is not part of its type as it is in the C language. This allows you to declare an array and assign any array of int objects to it, regardless of the array's length.…

    • 1268 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Oopp Lab Work

    • 1489 Words
    • 6 Pages

    CSE219 OBJECT – ORIENTED PROGRAMMING LAB Cycle Sheet – I 1. Create a class that registers your details by taking reg.no, name, age and mail id. Create a function that prevents duplicate entries of objects based on reg.no. (b) 2. Create a class account that maintains acc_no, name, and balance. Perform deposit, withdrawal and statement print operations. (statement print must print all the transactions that has taken place so for – use structures inside the class to maintain the details about transactions)(b) -----------------------------------------------------------------------------------------------------3. Create a class that holds the details of the mobile phone like brand, imei, no of sim cards, phone numbers etc.,. Allow user to login with their mobile no. Use a function that sends a message from that mobile. Maintain the details of the message as a static member inside the send message function and display each time all the messages sent from that mobile. (b) 4. Create a class ID_card that maintains the details in an ID card. Perform insert, update, delete and display operation through functions that takes input through reference parameter. (c) ----------------------------------------------------------------------------------------------------5. Create a C++ program that takes employee details like ID, first name, last name, age and address. Create a class for student {name, course, regular/parttime, address}. Use friend function to check that a student with same name and address can’t be a regular student as well as an employee. (c) 6. Synthesize a C++ program that has two classes (one for employee and one for student), have a separate class for address (with door no, street name, city, state) and reuse address both for employee and student. Perform insert, delete and display operations by taking choice of person (employee or student) from the user. Allow user to have more than one address also. (c)…

    • 1489 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Namastey London

    • 3142 Words
    • 13 Pages

    | Write a program to store 6 elements in an array P,4 elements in Q and array R containing all the elements…

    • 3142 Words
    • 13 Pages
    Satisfactory Essays
  • Satisfactory Essays

    notes on arrays

    • 326 Words
    • 2 Pages

    Named integer constants can be defined as members of an enumeration. enum keyword {ASM, AUTO, BREAK}; keyword key; Krishna M. Singh, Department of Mechanical & Industrial Engineerig, IIT-Roorkee 2 Derived Data Types Address Types References Pointers Powerful, but difficult to master Simulate pass-by-reference Close relationship with arrays and strings…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Interface Classes

    • 594 Words
    • 3 Pages

    • primitive types: int, double, boolean, long, float, char, .. note: java will "coerce" some types into other types: double number = 4; • Object types: Every class • Arrays : int[ ], double[ ][ ], Balloon[ ], defines a type • Predefined: String, Color, File, Scanner, … • Programmer defined: CartoonFigure, Balloon, BalloonGame, … • Type of object determined at its creation: • new Balloon(100, 300) ⇒ a Balloon object • new File ("data.txt") ⇒ a File object • new int[100][100] ⇒ an array of arrays of int. • "Hello" ⇒ a String…

    • 594 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    power supply failure

    • 1581 Words
    • 7 Pages

    RAID is now used as an umbrella term for computer data storage schemes that can divide and replicate data among multiple physical drives: RAID is an example of storage virtualization and the array can be accessed by the operating system as one single drive.…

    • 1581 Words
    • 7 Pages
    Better Essays