Unit 1 Data Structure
Unit 1 Data Structure
UNIT 1
BY. DEEPTI CHAUDHARI
CONTENTS
1.Data
2.Data types
3.Data Structure
4.Abstract Data Type(ADT)
5.Characteristics of Algorithm
6.Analyzing Program
1. Data
• Data is the basic fact or entity that is utilized in calculation or
manipulation.
• Data may be a single value or it may be a set of values
2. Data Types
Integer, float, char, string, double, long int
3. Data Structure
• Data structure allows us to understand the organization of data and the
management of the data flow in order to increase the efficiency of any
process or program. Data Structure is a particular way of storing and
organizing data in the memory of the computer so that these data can
easily be retrieved and efficiently utilized in the future when required. The
data can be managed in various ways, like the logical or mathematical
model for a specific organization of data is known as a data structure.
• Data structure mainly specifies
1. Organization of data
2. Accessing Methods
3. Degree of Associativity
4. Processing of alternatives for information
Classification of Data Structure
Non-Primitive Data Structures
Step 1 − START
Step 2 − declare three integers a, b & c
Step 3 − define values of a & b
Step 4 − add values of a & b
Step 5 − store output of step 4 to c
Step 6 − print c
Step 7 − STOP
programs
1 factorial of a number
Fibbonacci series generation
Reverse number (any digit 2,3,4)
Calculating power of number
Prime number checking
Fobbonacci series
0 1 1 2 3 5 8 13