CSC 351 - Chapter 11 Flashcards

1
Q

Abstraction

A
  • view or representation of an entity that includes only the most significant attributes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Abstract Data Type

A
  • user defined type.
  • representation of objects of the type are hidden from the program unit
  • declarations on objects of the type are contained in a single syntactic unit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Advantages of ADTs

A
  • reliability

- name conflicts are less likely

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

Language Requirements for ADTs

A
  • syntatic unit
  • method of making subprogram headers visible but the definitions hidden
  • primitive operations built into language
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Encapsulation

A
  • grouping of subprograms that are related but can be separately compiled
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Naming Encapsulation

A
  • used to create a new scope for names
How well did you know this?
1
Not at all
2
3
4
5
Perfectly