Java Games: Flashcards, matching, concentration, and word search.

C++ Lambert Ch 9

AB
arraya data structure whose elements are accessed by means of index positions
component (element) of arrayvariables for memory locations for an array
index (subscript)relative position of the components in an array
range bound errorwhen a programmer uses an index outside the size (-1)of the array
selection sorta sorting algorithm that sorts the components of an array in either ascending or descending order. This process puts the smallest or largest element in the top position and repeats the process on the remaining array components
sequential (linear) searchThe process of searching a list by examining the first component and then examining successive components in the order in which they occur.
fill valuevalue to initialize data elements in an array
one-dimensional arraycan locate each element with a single index position
two-dimensional arraymultiple references (row and column) for position
class templatea special kind of class definition that allows clients to specify the component types of objects of that class
vectora new class with special array features
pointer variablefrequently designated as ptr, a pointer variable is a variable that contains the address of a memory location
dynamic memorymemory allocated under program control from the heap and accessed by means of pointers
heapan area of computer memory where storage for dynamic memory is available
addressan integer value that the computer can use to reference a location
destructorafunction in the class definition that returns dynamic memory to the computer system
substringsgiven characters in a string
matrixa clas for two dimensional arrays
physical sizethe length parameter when a function is called
logical sizethe number of data elements input when the function returns


The Summit Country Day School
Cincinnati, OH

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities