CSC 351 - Chapter 11 Flashcards
1
Q
Abstraction
A
- view or representation of an entity that includes only the most significant attributes
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
3
Q
Advantages of ADTs
A
- reliability
- name conflicts are less likely
4
Q
Language Requirements for ADTs
A
- syntatic unit
- method of making subprogram headers visible but the definitions hidden
- primitive operations built into language
5
Q
Encapsulation
A
- grouping of subprograms that are related but can be separately compiled
6
Q
Naming Encapsulation
A
- used to create a new scope for names