Data Structures
Data Structures
BASIC TERMINOLOGY
• We know how to write, debug, and run simple programs in C language.
• Our aim has been to design good programs, where a good program is defined as a
program that
– runs correctly
– is easy to read and understand
– is easy to debug
– is easy to modify
• A program should give correct results, but along with that it should also run
efficiently.
• A program is said to be efficient when it executes in minimum time and with
minimum memory space.
• In order to write efficient programs we need to apply certain data management
concepts.
• Data structure is a crucial part of data management.
• A data structure is basically a group of data elements that are put together under one
name, and which defines a particular way of storing and organizing data in a
computer so that it can be used efficiently.
What is Data Structure?
1.It must be able to represent the inherent relationship of data in the real world.
2.It must be simple enough so that it can be processed efficiently as and when
necessary.