In computer science, a data structure is a particular way of organizing data in a computer so that it can be used efficiently. Data structures can implement one or more particular abstract data types (ADT), which are the means of specifying the contract of operations and their complexity.
For example, we have student’s name “shank” and percentage 86. Here “suhani” is of String data type and 86 is of float data type.
We can organize this data as a record like Student record. Now we can collect and store student’s records in a file or database as a data structure. For example: “Dhvani” 70, “shaily” 81, “Sweta” 65.
In simple language, Data Structures are structures programmed to store ordered data, so that various operations can be performed on it easily.
Types of Structure:
Data types of Data Structure:
There are main two types:
- Built-in data types:
Also known as basic data types. Integer, Float, Character, string, long double etc… are built-in type.
- Derived Data Type
These data types are normally built by combination of primary or built-in data types and associated operations on them. For example –
The data in the data structure are processed by certain operations. The particular data structure chosen largely depends on the frequency of the operation that needs to be performed on the data structure.
An algorithm is a finite set of instructions or logic, written in order, to accomplish a certain predefined task.
It’s the amount of memory space required by the algorithm, during the course of its execution.
It is a way to represent the amount of time needed by the program to run to completion.
TCCI – Tririd computer coaching institute is a centre where you can come without tension, learn with enjoy and get success. Best Quality Education at minimal cost by M.Tech. and 9 years’ experienced faculty here.Individual interaction with student makes students feel tension free and relax. Theory with Practical Session improves student programming skills.
To learn more contact us @98256 18292
Mail at firstname.lastname@example.org.
Visit us @ http://www.tccicomputercoaching.com.