Podcast
Questions and Answers
What is an abstract data type (ADT)?
What is an abstract data type (ADT)?
- A model for data types defined by their behavior from the point of view of a user (correct)
- A set of values and operations defined by the implementer
- A concrete representation of data
- A class of objects whose logical behavior is defined by their physical properties
What are the two main types of formal specifications for behavior of an ADT?
What are the two main types of formal specifications for behavior of an ADT?
- Formal and informal specifications
- Axiomatic and concrete specifications
- Physical and logical specifications
- Algebraic and operational specifications (correct)
Why do we use abstract data structures?
Why do we use abstract data structures?
- Because they efficiently use memory based on the design of the data stored in them (correct)
- Because they are more complex to implement
- Because they are less efficient in using memory
- Because they are easier to understand for the user