chapter 7 + 8 Flashcards

1
Q

anonymous type

A

data type in which you directly specify values in the variable declaration with no type name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

enumeration type

A

user defined simple data type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

enumerator

A

identifier used in an enumeration type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

aggregate operation

A

any operation on an array that manipulates the entire array as a single unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

array

A

collection of a fixed number of elements (called components) in which all of the elements must be of the same data type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Array index out of bounds

A

the index is out of bounds if it is < 0 or > ARRAY_SIZE - 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

array index in bounds

A

the index is in bounds if it is >= 0 and <= ARRAY_SIZE - 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

array subscript operator

A

[ ]

  • used to access an individual character within a string y specifying the character’s position within the square brackets
  • used to access the array element at the position number contained within the square brackets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

base address

A

the memory access of the first component in an array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

character array

A

an array whose components are of the type char

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

column processing

A

processing of a particular column of a two-dimensional array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

dynamic arrays

A

arrays that are created during program execution using pointers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

finding the sum and average of an array

A

code that finds the sum and average of the values in the array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

index

A

any expression whose value is a nonnegative integer and which is used for accessing an array component

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

initializing

A

the process of using a loop to initialize every component of the array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

n-dimensional array

A

a collection of a fixed number of components arranged in n dimensions

( n >= 1 )

17
Q

one-dimensional array

A

an array in which the components are arranged in a list form

18
Q

parallel arrays

A

two (or more) arrays with corresponding components holding related information

19
Q

row order form

A

refers to the manner in which a two-dimensional array is stored; the first row is stored first, followed by the second row, followed by the third, and so on

20
Q

row processing

A

processing of a particular row of a tow-dimensional array

21
Q

selection sort

A

search method in which the array is searched for the smallest value, which is swapped with the value at the top of the array; then repeated for the next smallest value, and so on

22
Q

sequential or linear search

A

searches an array sequentially starting with the first element; continues until the item is found or there are no more elements

23
Q

simple data type

A

signifies that a variable can store only one value at a time

24
Q

structured data type

A

each data item is a collection of other data items

25
Q

two-dimensional array

A

a collection of a fixed number of components arranged in rows an columns (that is, in two dimensions), wherein all components are of the same type