COMPUTER PROGRAMMING FUNDAMENTALS
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
TRUE
|
|
FALSE
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -A variable is a data item whose value can change during the program’s execution. Thus, as its name implies – the value can vary.
Detailed explanation-2: -Answer: Constant is the correct answer. When a variable is assigned a definite value or a constant value, then this value remain fixed during the entire execution of the program. The value will not be altered throughout the program.
Detailed explanation-3: -A variable is a symbolic name for (or reference to) information. The variable’s name represents what information the variable contains. They are called variables because the represented information can change but the operations on the variable remain the same.
Detailed explanation-4: -Explanation: Constant is the correct answer. When a variable is assigned a definite value or a constant value, then this value remain fixed during the entire execution of the program. The value will not be altered throughout the program.