FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Variable will keep data value and the value are changeable during entire program execution. True or false?
A
TRUE
B
FALSE
C
Either A or B
D
None of the above
Explanation: 

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.

There is 1 question to complete.