Programming Development: Part 3

Submitted by: Submitted by

Views: 301

Words: 521

Pages: 3

Category: Science and Technology

Date Submitted: 12/10/2012 02:10 PM

Report This Essay

Programming Development: Part 3

PRG/211

January 16, 2012

Programming Development: Part 3

Object-oriented programming (OOP) is a programming paradigm using “objects” data structures consisting of data fields and methods together with their interactions to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, messaging, modularity, polymorphism, and inheritance (Wikipedia, 2012). Data structures are used in most programming allowing efficient management of large amounts of data, (i.e. databases and internet indexing services). Data structures are the organizing element in software design, for some programming languages, and design methods.

Data structures are based on a computer's capability to store, and retrieve data from anywhere in memory; record, and array structures are based on using arithmetic operations to compute the address of the data. The storing of addresses within the structure is called linked data structures. Specific program languages offer built-in support for specific data structures By using data structures data can be easily, and efficiently exchanged; using data structures allows portability, comprehensibility, and adaptability of information. An array is a type of data structure.

An array is a data structure consisting of a number of variables, having the same data type. A single variable name is given to an array to associate with the variables. Arrays are used by programmers as a means of organizing many data items into a single data structure. Elements of the array are written, and recognized by using subscript, which is parenthesis after the array name. The use of arrays simplifies the writing of a program by allowing the grouping of similar data, rather than writing each item in the program code, saving time, and money (IBM, 2011).

An example of an array would be names correlating to specific cities:

nameArray = {John, Jane, Bob};

cityArray = {San...