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

    Question 6 A hash table is a data structure that uses an array as its internal storage container. Items are added to the array based on the integer generated by a hash function. A hash function produces an integer based on some properties of the object. In Java hash functions are encapsulated via the hashcode method in the Object class and that many classes override.…

    • 1145 Words
    • 5 Pages
    Good Essays
  • Good Essays

    A set is a collection of objects. The objects in a set are called the elements of the set. A set of numbers is simply a listing, within braces {}. For example, the set of numbers used for counting can be represented as S = {1, 2, 3, 4, 5, . . .}. The braces…

    • 1254 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Arrays store items that have the same type of data type like a group of employees’ names and social security numbers for a team of 2000 personal. Pointer is a variable that greatly extends the power and flexibility of a program, each memory location that is used to store data value has an address. The address provides the means for a PC hardware to reference a particular data item.…

    • 485 Words
    • 2 Pages
    Good 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
  • 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 - 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
  • 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
  • Good Essays

    Parallel Arrays

    • 427 Words
    • 2 Pages

    For example, if each student record consists of an ID number and a GPA value, then a list of students can be represented as an array of structure:…

    • 427 Words
    • 2 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
  • 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
  • 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
  • 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
  • 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
  • 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