DATA STRUCTURES AND ALGORITHMS
What is data?
Facts and statistics collected together for reference or analysis is called data. It refers to the
quantities, characters, or symbols on which operations are performed by a computer, which may be
stored and transmitted in the form of electrical signals and recorded on magnetic, optical, or
mechanical recording media.
Data can exist in a variety of forms; as numbers or text on pieces of paper, as bits and bytes stored in
electronic memory, or as facts stored in a person's mind. Strictly speaking, data is the plural of
datum, a single piece of information. In practice, however, people use data as both the singular and
plural form of the word.
What is data structure?
Data structure refers to the Interrelationship among data elements that determine how data is
recorded, manipulated, stored, and presented by a database.
It is a way of collecting and organizing data in such a way that we can perform operations on these
data in an effective way. Data Structures is about rendering data elements in terms of some
relationship, for better organization and storage. In simple language, Data Structures are structures
programmed to store ordered data, so that various operations can be performed on it easily.
Anything that can store data can be called as a data structure hence Integer, Float, Boolean, Char
etc., all are data structures. They are known as Primitive Data Structures.
Then we also have some complex Data Structures, which are used to store large and connected data.
Some examples of Abstract Data Structure are:
Stack, Queue etc.
All these data structures allow us to perform different operations on data. We select these data
structures based on which type of operation is required. We will look into these data structures in
more details in our later lessons.
© Er. PRAKASH POUDEL JIGYASU