Helloooooo guys and girls….today is really a victorious day for me, coz I became as the Elakiri member of the month with Nikini akki. So after that incident this is the first lesson I am writing. Let’s get to work then.
So in the earlier lesson we talked about memory locations. I think u remember that. So those memory locations are called what???
Tok tok tok…he heee give a shot to u r head u will remember. They are called
variables.
Right then. Variables are like small containers in u r brain. Remember my example nee..
So there are 4 main variable types, I will come to those types later.
So when the data is stored in the variables, all the data can’t be stored as one type. Coz there are numbers, letters(not love letters), and Boolean operations and etc. So there should be a way to categorize these things.
Back to the brain. as someone say something to u u r brain identifies the type of that thing which he or she said, then u r brain stores that thing in a variable which are specialized for that kind of data type.
So with out mentioning the data type u r computer cant understand where to store the data. So it is important us to know those data types. oKKKK….
There are eight main data types.
1) byte
2) short
3) int
4) long
5) float
6) double
7) boolean
8) char
These data types can be categorized in to 4 groups.
Integers-this include “byte,short,int,long”
In the integer section there are only whole-valued signed numbers,
[whole valued number are numbers which are with out any fractions. For a example 12, 34 ,4546, all these are integers,]
Floating-point numbers-this include “float,double”.
In the floating-point numbers section u have numbers with fractional precision. For an example 12.3,14.43 those are floating point numbers.
Character - include “char”. This includes symbols in a character set. Letters and numbers all are symbols in a character set,
Boolean- this includes “Boolean” data type. This is special type for represent True/False.
Here is the summary of what we talked about..
So that’s it for today. Bit lazy lesson. I felt that way too. We have to discuss more about data types. And I will back tomorrow with a practical lesson about data types. This lesson is only a brief introduction to data types. Ok till tomorrow read this and try to understand the things. Tomorrow it will be a interesting lesson. C yaaaa and good bye.
So in the earlier lesson we talked about memory locations. I think u remember that. So those memory locations are called what???
Tok tok tok…he heee give a shot to u r head u will remember. They are called
variables.
Right then. Variables are like small containers in u r brain. Remember my example nee..
So there are 4 main variable types, I will come to those types later.
So when the data is stored in the variables, all the data can’t be stored as one type. Coz there are numbers, letters(not love letters), and Boolean operations and etc. So there should be a way to categorize these things.
Back to the brain. as someone say something to u u r brain identifies the type of that thing which he or she said, then u r brain stores that thing in a variable which are specialized for that kind of data type.
So with out mentioning the data type u r computer cant understand where to store the data. So it is important us to know those data types. oKKKK….
There are eight main data types.
1) byte
2) short
3) int
4) long
5) float
6) double
7) boolean
8) char
These data types can be categorized in to 4 groups.
Integers-this include “byte,short,int,long”
In the integer section there are only whole-valued signed numbers,
[whole valued number are numbers which are with out any fractions. For a example 12, 34 ,4546, all these are integers,]
Floating-point numbers-this include “float,double”.
In the floating-point numbers section u have numbers with fractional precision. For an example 12.3,14.43 those are floating point numbers.
Character - include “char”. This includes symbols in a character set. Letters and numbers all are symbols in a character set,
Boolean- this includes “Boolean” data type. This is special type for represent True/False.
Here is the summary of what we talked about..
So that’s it for today. Bit lazy lesson. I felt that way too. We have to discuss more about data types. And I will back tomorrow with a practical lesson about data types. This lesson is only a brief introduction to data types. Ok till tomorrow read this and try to understand the things. Tomorrow it will be a interesting lesson. C yaaaa and good bye.