answersLogoWhite

0

A variable is a quantity which changes its value through out the program or its lifetime.

But a constant is a quantity which does not change its value through out its life time. There are 5 basic constants.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

What is the difference between literals and variables in QBasic?

Literals are constants.


How are difference from independent variables?

Constants stays the same independent variables is the variable that is being manipulated


What are constants and how are they are different from variables?

Variables change, constants do not.


What is the difference between variables and constants in java?

constant is does not change the value of during the excution of programvariable it changes the value during the excution of program


Difference between variable and constants in visual basic?

"Memory locations that hold data that can be changed during project execution are called variables; locations that hold data that cannot change during execution are called constants"


Is multiplicity of values a difference between a constant and a varibles?

Yes, multiplicity of values is a key difference between constants and variables. A constant holds a single fixed value that does not change, while a variable can represent multiple values and can change depending on the context or the inputs it receives. This ability to take on different values makes variables essential in mathematical equations and programming, while constants serve as stable references.


What is the difference between a term and a polynomial?

A term only has variables and constants multiplied among themselves (or, in some cases, divided), such as 5xy, or -3x3. A polynomial is the sum of several such terms.


Why are constants different from independent variables?

Constants are fixed values that do not change during an experiment or analysis, providing a stable reference point. In contrast, independent variables are those that are deliberately manipulated or varied to observe their effect on dependent variables. While constants help maintain the integrity of an experiment by controlling for external influences, independent variables are essential for testing hypotheses and determining causal relationships. Thus, the key difference lies in their roles: constants remain unchanged, while independent variables are actively adjusted.


Compare and contrast variables and constants?

In Computer Programming and Mathematics, variables and constants are ways to refering to a value. For example X=1 and Y=2 The difference being, variables are meant to be arbitary and changable, while constants are meant to be fixed and unchangable. For example, there is no reason for the value of Pi to change. So the value of Pi would best be represented by a constant.


What are constants and how they are different from variables?

Constants are fixed numbers that never change, they always stay the same. Variables are number that can change, they 'Vary'.


What is the difference between lower case and uppercase letters used in common math formulas?

The acceptable convention says uppercase letters are used for sets and matrices and lowercase letters are for variables, constants and vectors. Greek letters are mainly used for constants, such as pi=3.14 and e=2.718.


What variables that do not change?

The ones called constants.