Week 3: Java ADT Flashcards

1
Q

When we design a program, we organize it into ____. What are the two modules?

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

We wish to keep information in a module ____

A

Private

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

What does an interface define?

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

What is an ADT? What are its parts?

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

ADT descriptions are what? What do they do?

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

The ADT Dictionary/Map has what three important methods?

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

What are the two general principles of ADTs?

A

Information hiding and reusability

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

What is information hiding?

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

What is Re-usability?

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

What is the Java Interface for an ADT Dictionary?

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

What is the Java Implementation for an ADT Dictionary?

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