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

How does quick sort work?

873


Is any implicit arguments are passed to a function when it is called?

972


What is tree in computer science?

930


Write the advantage of separate chaining?

874


How many types of priority queue are there?

880


Differentiate between hashset and hashmap.

909


What happens if we put duplicate key in hashmap?

811


Differentiate bfs and dfs?

952


Why do we use sorting?

801


A lot of data structures related programs related to only trees and graphs, like the diameter of a tree, removing the loops in a graph etc.

976


Can you use Bubble Sort To sort the number of elements.

821


How do you use merge sort?

797


What are trees in data structures?

868


What is time complexity of arrays sort?

915


Which is faster hashmap or hashset?

876