What is a Data Structure and its Types ?
What is Data ?
Data is any row fact or value are called data. Value can be anything if there is any value like 1,2,3,4,5,6 all these have value means it is data.
If we talk about the second example, then a book is also data because it is a book, and the book has value. Meaning that even the thing which has some value is called data.
What is Information ?
Information is processing data. Meaning that if any data is on process mode then we can call that data information.
For example, if we talk about an example, I told you that "you come to me", so the one who told me is information because it will be a process, that means you will come to me, I have this information.
Types of Data
There are many types of data, but I will tell you about some types which are mostly used in programming languages. who is,
- Integer
- Boolean
- Character
- Floating - Point Number
- Alphanumeric String
Classes of Data Types
Data types also have different classes which are mentioned below,
- Primitive Data Structure
- Composite Data Structure
- Enumerated Data Structure
- Abstract Data Types
- Utility Data Types
- Other Data Types
What is Data Structure?
The data structure is the way of how data is organized, used, and stored. Means as its name suggests it describes the structure, in the meaning and simple language, "it is a way of organizing data" and storing the data somewhere when needed, and the same data Using this is called a data structure.
The data structure is very important for programming, you cannot do programming without knowing data structure.
Basic Data Structure
Below are some of the common data structures used in computer programming languages.
- Array
- Linked list
- Stack
- Queue
- Graph
- Tree
What is Abstract Data Types? (ADT)
The abstract data type is a mathematical model, for data structure and certain classes. Abstract data types have similar behavior and certain data types of one and more programming languages that have similar semantics.
An abstract data type represents, indirectly, the operations that can be performed by it and the effects on it by mathematical enhancement.
An abstract data type defines three operations,
- Push
- Pop
- Peek
What is an algorithm ?
An algorithm has a simple definition, Algorithm is a process to solve a problem step by step.
The algorithm is not only in a programming language but it is used everywhere like we do step by step even while solving the problem of mathematics.
An algorithm is an effective method that expresses a finite list of well-defined.
Some common words used in Data Structures
Data: In data structures, the raw material is called data, such as someone's name, address, or the subject of a class, etc. These are all data.
Group items: A data item that can be subdivided is called a group item. For example, someone's name is divided into first name and middle name.
Record: The collection of data items is called the record, such as the name of a student, roll no, class, subject, etc. All these are called records of the student.
File: As we told you above, what is a record? So the collection taking so many such records on it is called a file.
Attributes and entity: Any such thing in data structures that exists and which can be differentiated is called an entity. And the property of this entity is called an attribute. As if a student is considered as an entry, then his name, address, and roll no are all his attributes.
Database: To store data in storage so that data can be easily accessed, updated, and used, it is called a database.
Data warehouse: To better analyze a large amount of legacy data in the database, its collection or storage is called a data warehouse.
Big Data: Very big data or very complex data which cannot be dealt with by normal data processing techniques is called Big Data.
Algorithm: The step taken to solve any problem is called an algorithm. As some steps are taken to solve a problem, it is called an algorithm.
So friends, how did we like this post? I hope you all must have liked this post of ours and through this post of ours, we have been able to convey some information to you. If you like to read more posts like this, then you must mail us or tell us by commenting in the comment box. We will bring you more such good and informative posts. And do not forget to share this post of ours with your friends and on social media platforms so that more people can read this and get some information. And also follow our social media pages so that you can get our play post or any update soon. We will wait for your question and suggestion.