Data Structure

♠ Posted by Unknown in at 03:58

TYPE:

     A type is a Collection of values.

Composite Type:

     A bank account record will typically contain several pieces of information such as name, address, account number, and balance. Such record is an example of an aggregate type or composite type.

Data Item:

     A data item is a piece of information or a record whose value is fetch from a type. A data item said to be a member of a type.

Data Type:

     A data type is a type of data item together with a collection of operations to manipulate the data item.
For Example, an integer variable is a member of integer data type and Addition (+) is an operation performed on integer data item.

ADT (Abstract Data Type):

     An abstract data type (ADT) is the realization of a data type as a software components. The interface (skeleton) of the ADT is defined in terms of a type and a set of operations on that type.

0 comments:

Post a Comment