Data Structures
What is Data? 👇
Computer data is information processed or stored by a computer. This information may be in the form of text documents, images, audio clips, software programs, or other types of data. Computer data may be processed by the computer's CPU and is stored in files and folders on the computer's hard disk.
Data Type 👇
Data type is a way to classify various types of data such as integer, string, etc. which determines the values that can be used with the corresponding type of data, the type of operations that can be performed on the corresponding type of data.
There are two data types - Built-in Data Type
Derived Data Type
Built-in Data Type 👇
Those data types for which a language has built-in support are known as Built-in Data types. For example, most of the languages provide the following built-in data types.
- Integers
- Boolean (true, false)
- Floating (Decimal numbers)
- Character and Strings
Derived Data Type 👇
Those data types which are implementation independent as they can be implemented in one or the other way are known as derived data types. These data types are normally built by the combination of primary or built-in data types and associated operations on them.
“Every program depends on algorithms and data structures, but few programs depend on the invention of brand new ones.” - Kernighan & Pike
Algorithm : Outline, the essence of a computational procedure, step-by-step instructions.
Program : An implementation of an algorithm
Data structure: Organization of data needed to solve the problem
Comments
Post a Comment