What is Data?
“Data means value or set of values”
Difference between Data &
What is Data type?
A data type is a term which refers to the kind of data
that may appear in computation .For example:
Data Data type
21,43,56 Array of integers
Concept of Data Structure
The logical or mathematical model of a particular
organization of data is called Data Structure.
Data Structure is a named group of data of different
data types,which can be processed as a single unit.
A data structure 'd' is a triplet,that is,d=(D,F,A) where,
D:Domain,This is the range of values that the data
may have. The domain is also termed as data object.
F:Function,This is the set operations which may
legally be applied to elements of data object.
A:Axioms,This is the set of rules with which the
different operations belongs to F actually can be
Overview of Data Structures
Classic data structuresClassic data structures
Linear data structures Non-linear data structures
Arrays Linked-Lists Stacks TablesQueues Trees Graphs Sets
Why do we Study Different
Programming Languages ?
Increase capacity to express ideas.
Learning new data structures, algorithms, and
other language features will allow a programmer
to create more efficient programs and solve
more complex problems.
Knowing the advantages & disadvantages of
different languages helps us to choose better
languages over poorer ones.
What is basic purpose of using
Programs operate on data or you have a large
amount of identical data then it is a good idea to
somehow group this data.
That's what data structures are for:
Grouping data in an orderly fashion which
makes it easier for the developer to access it and
also allows the computer to speed things up by
keeping related items close to each other.
When you solve a problem with a
computer program, always ask
How should the program store the
information upon which it computes?
In the field of computer science, a data structure is a
way of storing data in a computer so that it can be
Often a carefully chosen data structure will allow the
most efficient algorithm to be used.
Different kinds of data structures are suited to
different kinds of applications,and some are highly
specialized to certain tasks.
For example, B-trees are particularly well-suited for
implementation of databases, while routing tables rely
on networks of machines to function.