Chapter 8 Flashcards
This appears in an array declaration and specifies the number of elements in the array.
a. subscript
b. size declaratory
c. array name
d. initialization
size declarator
To make programs easier to maintain, many programmers use these to specify the size of an array
a. real numbers
b. string expressions
c. math expressions
d. named constants
named constants
This is an individual storage location in an array
a. element
b. bin
c. cubby hole
d. size declarator
element
This is a number that identifies a storage location in an array
a. element
b. subscript
c. size declarator
d. identifier
subscript
This is typically the first subscript in an array
a. -1
b. 1
c. 0
d. the size of the array minus one
0
This is typically the last subscript in an array
a. -1
b. 99
c. 0
d. the size of the array minus one
the size of the array minus one
This algorithm uses a loop to step through each element of an array, starting with the first element searching for a value
a. sequential search
b. step by step search
c. elemental search
d. binary search
sequential search
Many programming languages perform this, which means they don not allow a program to use an invalid array subscript
a. memory checking
b. bounds checking
c. type compatibility checking
d. syntax checking
bounds checking
This term describes two or more arrays that hold related data and the related elements in each array are accessed with common subscript
a. synchronous arrays
b. asynchronous arrays
c. parallel arrays
d. two- dimensional arrays
parallel arrays
You typically think of a two dimensional array as containing
a. lines and statements
b. chapters and pages
c. rows and columns
d. horizontal and vertical elements
rows and columns