What is the defination of ADT and its disadvantages and Advantages
i am stuyding for my finals and i was wondering
Thanks
Pamela
What is the defination of ADT and its disadvantages and Advantages
i am stuyding for my finals and i was wondering
Thanks
Pamela
ADT = abstract data type = a programmer defined type with a set of values and a collection of allowable operations on those values.Originally posted by Unregistered
What is the defination of ADT and its disadvantages and Advantages
Implementation of an ADT constists of a concrete representation of the abstract data in terms of existing data types and program code that implements the allowable operations.
Advantages: The user has the ability to use the ADT without having to know how it is implemented.
so a singly-linked list of structs would be an example . . . you have a struct of pre-defined concrete C types . . . and then you have the functions that manipulate those structs in the singly-linked list . . . who cares how those fuctions work . . . as long as they work.
Hope This Helps,
Joshua Burkholder
Yes it did
Thank You