Data Structure Classification
Data Structure is classified in basically two main categories -
- Primitive Data Structure
- Non Primitive Data Structure
Primitive and Non Primitive are further classified into many different types.
Primitive Data Structure
The primitive data structure is the basic data structure that directly operates upon the machine instruction. In programming language, it is used as built in data type. It has a different representation of different computer machine.
Integer
It represents some range of mathematical integers.
Float
Float stores double precision floating point number.
Character
The character represents a sequence of character data.
Pointer
Pointer holds the memory address of another variable.
Non-Primitive Data Structure
The non-primitive data structure is derived from the primitive data structure and that is more complicated to create. It is responsible for structuring of a group of homogeneous and heterogeneous data type. This is used to process large amount of data.
Array
An array is a sequential collection of elements of fixed size. We can store more than one item in only one variable i.e. Array.
Lists
The list is an ordered set of elements.
File
It gives access to the file.