What to know about data structure
Data structures refers to the process by which data is organized after being collected, and stored in a format which will enable it to be accessed and modified in an efficient manner.
DATA STRUCTURES AND ALGORITHMS.
Data structures refers to the process by which data is organized after being collected, and stored in a format which will enable it to be accessed and modified in an efficient manner. It entails the grouping of data according to values, the relationship among data and how operations can apply to that data. An algorithm is a procedure of defined instructions which are followed and executed in a certain sequence in order to obtain a certain desired result.
READ ALSO: Customer Relationship Management System
Algorithms can be grouped into the following categories.
1. Insert: This algorithm is used when an item is required to be added to a data structure.
2. Delete: When an item needs to be deleted from a data structure, this algorithm is used.
3. Update: When an existing item or object is needed to be updated in a data structure, the update algorithm is used.
4. Search: This algorithm is used when one requires to search an item in a data structure.
5. Sort: When items need to be grouped in a certain order, the sort algorithm is used.
READ ALSO: Task Reminder app with Free Sourcecode
Features of an algorithm. I
nput: The value zero or a greater input should be accepted by an algorithm.
Output: The output of an algorithm should be at least and be properly defined.
Should be finite: When the desired number of instructions are executed, the algorithm should stop after attaining the desired output.
Unambiguous: Each algorithm should be well defined and from the input and output to lead to only one meaning which is unique. Should be feasible: An algorithm should be practical or should be able to be worked out.
Independent: An algorithm should be able to attain the desired results through a step by step and should not depend on any code in order to attain desired outcome.
READ ALSO: Online Exam Android App with Admin Panel
Advantages of Data structure.
1. The processing of data becomes easy through data structure.
2. Data stored using data structure process is secure from reach of unauthorized personnel. Access of this data by unauthorized personnel is very difficult.
3. Authorized personnel can be able to access stored data at any time and from anywhere.
4. The use of arrays and hash tables in data structure enable database management to be conducted easily.
5. The efficiency of an algorithm is determined by the data structure.
READ ALSO: An E-Commerce Website with free Source Codes.
For more information. You can contact me @
Email –geeksourcecodes@gmail.com
Mobile No. – +254714643906
Or feel free to comment below.
SUBSCRIBE TO OUR YOUTUBE CHANNEL BELOW TO WATCH MORE VIDEOS