Data and Information
☞ Raw facts are known as data.
☞ Data is aggregated and summarized in various meaningful ways to form information.
☞ Data must be represented, stored, organized, processed and managed.
☞ Data Structures are an effective and reliable way to achieve this.
Data Structure
☞ A Data Structure is a named group of data of different data types which is stored in a specific way and can be processed as a single unit.
☞ It has well-defined operations, behaviour and properties.
Classification of Data Structure
☞ It is classified into two types:
- Simple Data Structures :-
- They are built from primitive types like integers, real, characters, boolean.
- Eg :- Array or Linear Lists.
- Compound Data Structures :-
- They can be combined in various ways to form more complex structures.
- They can be of two types :-
- Linear Data Structures :-
- In these structures, elements form a sequence.
- Eg :- Stack, Queue, Linked List.
- Non-Linear Data Structures :-
- In these structures, elements do not form a sequence.
- Eg :- Tree.