Thread: Adt

  1. #1
    Unregistered
    Guest

    Adt

    What is the defination of ADT and its disadvantages and Advantages

    i am stuyding for my finals and i was wondering



    Thanks

    Pamela

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    5

    Re: Adt

    Originally posted by Unregistered
    What is the defination of ADT and its disadvantages and Advantages
    ADT = abstract data type = a programmer defined type with a set of values and a collection of allowable operations on those values.

    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

  3. #3
    Unregistered
    Guest
    Yes it did


    Thank You

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with linked list ADT and incomplete structure
    By prawntoast in forum C Programming
    Replies: 1
    Last Post: 04-30-2005, 01:29 AM
  2. Array-based ADT list
    By campermama in forum C++ Programming
    Replies: 0
    Last Post: 06-14-2004, 01:32 PM
  3. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM
  4. Problem with My Sets ADT
    By jawwadalam in forum C++ Programming
    Replies: 2
    Last Post: 10-04-2002, 06:36 AM
  5. ADT Initialization/Passing of Array from Friended ADT
    By Wiggin in forum C++ Programming
    Replies: 1
    Last Post: 04-27-2002, 12:45 AM