Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Which is better hashmap or arraylist?

1000


Can we store null in arraylist?

922


What is the default capacity of hashmap?

834


What can be stored in an arraylist?

951


Explain exception filter?

956


What is a tech stack?

867


Explain singly linked list in short.

908


Explain the term recursive case?

974


What is data structure and its classification?

914


What is a subtree?

969


Which of the collections allows null as the key?

862


Can we insert null in set?

882


How do you sort a list in reverse order?

821


Can we increase the size of statically allocated array?

881


Can a tree be empty?

876