SSC MTS EXAM

SSC

COMPUTER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is NOT true about variables?
A
The value stored by a variable cannot change.
B
Variables are a name for a spot in the computer’s memory
C
the value stored by a variable can be changed.
D
None of the above
Explanation: 

Detailed explanation-1: -Variable names cannot start with number. For example, 1test is an invalid variable name. The value stored by a variable cannot change. Variables are a name for a spot in the computer’s memory The value stored by a variable can be changed.

Detailed explanation-2: -A variable cannot be subtracted. A variable represents a quantity. so X is representing a quantity which is 1. So the statement is TRUE.

Detailed explanation-3: -Once you declare a variable and assign it a value, your program can manipulate what’s stored in the variable as it runs, like a score in a game, for example.

There is 1 question to complete.