Chapter 12 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

binary search

A

The process of examining a middle value of a sorted array to see which half contains the value in question and halving until the value is located. (442)

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

bubble sort

A

A sorting algorithm that swaps consecutive elements when they are out of order to bubble the elements to the top or bottom on each pass. (448)

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

insertion sort

A

A sorting algorithm that locates an insertion point and takes advantage of partial ordering in an array. (449)

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

linear search

A

The process of searching a list by examining the first component and then examining successive components in the order in which they occur. (442)

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

multidimensional array

A

An array that uses multiple lists of items. (456)

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

one-dimensional array

A

An array that can represent simple lists of items. (456)

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

ragged array

A

An array with rows of different lengths. (459)

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

selection sort

A

A sorting algorithm puts the smallest or largest element in the top position and repeats the process on the remaining array components.

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

two-dimensional array

A

An array that uses two lists of items. (456)

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