now what is the defination of variables in programming language?
By dholey
@dholey (1383)
India
8 responses
@anjuscor (1266)
• India
3 Jan 07
In computer science and mathematics, a variable (sometimes called a pronumeral) is a symbol denoting a quantity or symbolic representation. In mathematics, a variable often represents an unknown quantity that has the potential to change; in computer science, it represents a place where a quantity can be stored. Variables are often contrasted with constants, which are known and unchanging.
The term has a similar meaning in the physical sciences and engineering: a variable is a quantity whose value may vary over the course of an experiment (including simulations), across samples, during the operation of a system. Variables are generally distinct from parameters, although what is a variable in one context may be a parameter in another. For more on this distinction, see the article on "parameter".
In applied statistics, a variable is a measurable factor, characteristic, or attribute of an individual or a system – in other words, something that might be expected to vary over time or between individuals.
In mathematical statistics, 'variable' has a technical meaning - random variables are defined in the mathematical context of measure theory as measurable functions from a probability space to a measurable space.
1 person likes this
@tmaheshwari (170)
• India
19 Jan 07
you can go to this link for the details suggested by anjuscor.
http://en.wikipedia.org/?title=Variable
:)

@minidak03 (174)
• Canada
12 Dec 06
Variables deal with Object Orinented Programming for instance here is some VB.NET variables.
a as textbox
b as array
c as string
c = "variable"
c is considered a variable, variables are great once you get used to them, Object Orinted Programming is great I love using VB.NET they make things so much clearer then other languages.
Anyhow think of a variable as a math equation a + b = c
1 person likes this

@vipul20044 (5793)
• India
11 Dec 06
usually variables are symbols denoting a quantity or symbolic representation
In programming though variables are usually represented by alphanumeric strings. A variable can be thought of as a place to store a value in computer memory.
hope that helps u
1 person likes this
@dholey (1383)
• India
12 Dec 06
variables are small memory locations where we keep values, we can create variables using datatype, we have to follow the RULES for naming variables
RULES:-
1. NAME MUST CONTAIN ALPHA-NUMERIC VALUES
2. NO SPECIAL SYMBOLS (EXCEPT UNDERSCORE) CAN BE USED IN VARIABLE NAME
3. VARIABLE NAME MUST BEGIN WITH ALPHABET OR AN UNDERSCORE
4. VARIABLE NAME CAN NOT BE SAME AS ANY KEYWORD , BUT KEYWORD CAN BE A PART OF VARIABLE
NAME EX:- int1
ONE VARIABLE CAN KEEP ONE VALUE AT A TIME.
ONCE THE VARIABLE IS CREATED , WHERE EVER WE USE VARIABLE NAME , WE GET THE CURRENT VALUE OF THE VARIABLE.
@swaroop_sv2003 (531)
• India
11 Dec 06
In simple terms it is a name to address a specific location in the computer memory. Since computers can understand only binary digits, all the locations are also kept track using binary digits. Since it is difficult for us, that is humans, to remember all these digits we assign a name, which consists of usual english words, to this location. When ever we need to access that memory location we use this name to address it.
1 person likes this

@dholey (1383)
• India
12 Dec 06
THANKS DUDE i hope people will see this discussion ... day by day we will improve the depth of topics, as soon as the basics are over we will go for hardcore programming discussions ...
now one can see how good definitions we have for variables .... but still we ave to wait ... some more cool definitions are yet to come .....
@swaroop_sv2003 (531)
• India
11 Dec 06
So dholey this was your idea to teach interested myLot members computer language. Cool dude. Its really great idea. Congrats. My complete support is with you.
1 person likes this

@satya_music (586)
• India
27 Dec 06
Variables are named place where values are stored , these names are used for getting values stored there, these variables are used in calculations and result generation .
@kingadnan (1538)
• Pakistan
18 Jan 07
Variable are name place to store values in memory blocks, they help to calculate values. thanks
@tmaheshwari (170)
• India
19 Jan 07
hmm.. I have already read all the comments, and appreciate that people are trying to go into depth as much as possible. I also want to put my view but in very simple form…A view by a programmer, not a designer.
In a computer language, a ‘variable’ is a symbolic representation of a ‘Data Type’, which occupied some memory and can keep some useful information for later or current processing.
Symbolic representation always does not mean a predefined name, sometime it is possible to have some temporary variables that does not have name but they also share/occupied some memory from the process.
In the other word, we can say that, Variable is a entity which is used to hold some data for processing.







