Introduction:
- Programming languages and Technologies are used to develop applications.
- Applications are used in communication.
- Applications store and process information.
Banking Application – Store customers information and transactions information.Customers use Banking application to communicate with Banking Employee. |
How to store information in application?
- We use variables of different data types to store information.
- Primitive type: Store only one value at a time.
- Array: Store more than one value but of same type
- Structure: Store more than one value of different types
- Array of Structures: Store multiple records.
Primitive variable:
- Primitive Variable stores only one value at a time.
- int a = 10;
Array variable:
- Array stores more than one value but of same type.
- int arr[5] = {10, 20, 30, 40, 50};
Structure variable: stores more than one value of different data types. We define structures using struct keyword
struct Employee { int id; char name[20]; float salary; }; struct Employee e = {101, “Amar”, 35000}; |
Array of Structures: used to store more than one record details.
struct Employee{ int id; char name[20]; float salary; }; struct Employee arr[3]; |
What are Data Structures? Use?
- Data structures are used to organize the data.
- We can perform operations quickly and easily on organized data.
- Data structures either Linear or Non-Linear.
Linear Data Structures: arrange the data sequentially in which elements are connected to its previous and next adjacent.

Non-Linear Data Structures: in which one element connected to multiple elements and the elements arranged in two-dimensional or multi-dimensional format

Abstract Data type(ADT): Technical representation of functionality without implementation. ADT can be implemented using any language syntax.
