Chapter 19 Flashcards

1
Q

abstract data type (ADT)

A

A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.

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

interface

A

The set of operations that define an ADT.

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

implementation

A

Code that satisfies the syntactic and semantic requirements of an interface.

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

client

A

A program (or the person who wrote it) that uses an ADT.

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

provider

A

The code (or the person who wrote it) that implements an ADT.

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

veneer

A

A class definition that implements an ADT with method definitions that are invocations of other methods, sometimes with simple transformations. The veneer does no significant work, but it improves or standardizes the interface seen by the client.

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

generic data structure

A

A kind of data structure that can contain data of any type.

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

infix

A

A way of writing mathematical expressions with the operators between the operands.

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

postfix

A

A way of writing mathematical expressions with the operators after the operands.

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

parse

A

To read a string of characters or tokens and analyze its grammatical structure.

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

token

A

A set of characters that are treated as a unit for purposes of parsing, such as the words in a natural language.

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

delimiter

A

A character that is used to separate tokens, such as punctuation in a natural language.

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