Practice mode Data Structures

What does an abstract data type (ADT) specify?

Correct answer D. The operations on the data and their behaviour, without fixing the implementation

Explanation

An ADT is defined by what you can do with the data, such as push and pop for a stack, and how those operations behave. It deliberately hides how they are implemented, so the same stack ADT can be built on an array or a linked list. Memory layout and instruction choices belong to a concrete data structure, not to the ADT itself.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.