What does abstract data type means?
Answer Posted / s. kabir
ADT is a programming model for some real life entity.
Commonly used for Collection of elements e.g. List.
It defines the data requirements to hold data about the
entity, the operations to be performed on the entity, and
the set of rules( i.e. specifications) to be assumed for
defining data and operations for the entity.
A particular data type (e.g. integer, Decimal )is not
considered. The actual implementation of operations is
hidden from user.
e.g. List
Data requirement : collection of elements in the form of
array or Linked list (type not mentions)
The operations: AddElement, RemoveElement, DisplayList,
InsertElementAt etc.
Thus, in summary, ADT encapsulates the Data and Operations
in some form. The user knows what operations can be
performed and not how they are implemented.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Differentiate between collection and collections.
What is the best case for bubble sort?
Is arraylist heterogeneous?
Mention the advantages of representing stacks using linked lists than arrays?
What is placement new in data structures?
What is the quickest sorting algorithm?
What is concurrentlinkeddeque?
What are the different types of sorting in data structure?
Explain singly linked list in short.
Explain multiply linked list in short.
Is int a data structure?
What do u mean by array?
Which collection is used for sort?
Does treemap allow null key?
List the data structures which are used in hierarchical data model.