Data structure (आंकड़ा संरचना):-
In computer science, a data structure is a particular way of
organizing data in a computer so that it can be used efficiently
आंकड़ा संरचना एक तरीका है, जिससे कुशलतापूर्वक आंकड़ो को संयोजित रखा जाता है।
organizing data in a computer so that it can be used efficiently
आंकड़ा संरचना एक तरीका है, जिससे कुशलतापूर्वक आंकड़ो को संयोजित रखा जाता है।
Arrangements of data structure:-
Data could be Arranged in two ways :-
1.logically
2.mathematically
Types of data structure:-
Data structure are of two types
1.primitive
This is the basic type of data structure.without tha primitive data structure non primitive could not be defined.
These are-
a.integer-
it is representes as "int" .these are the numbers that we use.
Ex.5,27373,272100000.
This could be used to show any complete no. Like mobile no., bank account no.
b.float-
float is usually represented as "float" only. These are the decimal no upto four points.436.2701,1.2727
This could be used to represent the percentage, weight, quantity ect.
c.character-
these are represented as "char".
These are used representes in alphabets
, only single alphabet.
These have size if two bytes.
Ex.A,C
This could be uses to represent grade, quality, ect.
No comments:
Post a Comment