Chapter 13 Flashcards

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

activation record

A

An area of computer memory that keeps track of a method call’s parameters, local values, return value, and the caller’s return address. (493)

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

big-O notation

A

A formal notation used to express the amount of work done by an algorithm or the amount of memory used by an algorithm. (502)

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

binary search algorithm

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. (509)

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

call stack

A

A large storage area created at program startup. (493)

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

complexity analysis:

A

For algorithms, the process of deriving a formula that expresses the rate of growth of work or memory as a function of the size of the data or problem that it solves. (502)

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

infinite recursion

A

A situation that occurs when the run of a recursive algorithm reaches no stopping state. (492)

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

iterative process

A

A process that repeats with no growth of computer memory. (501)

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

quicksort

A

A sorting technique that moves elements around a pivot recursively and sorts the elements to the left and the right of the pivot. (512)

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

recursive method

A

A method that calls itself. (491)

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

recursive step

A

A step in the recursive process that solves a similar problem of smaller size and eventually leads to a termination of the process. (492)

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

stack

A

A dynamic data structure in which access can be made from only one end. Referred to as a LIFO (last-in, first-out) structure. (516)

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

stack overflow error

A

A situation that occurs when the computer runs out of memory to allocate for its call stack. This situation usually arises during an infinite recursion. (492)

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

stopping state

A

The well-defined termination of a recursive process. (492)

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

tail-recursive

A

The property that a recursive algorithm has of performing no work after each recursive step. (501)

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