designatedvariable
nounUK /ˈdɛzɪɡneɪtɪd ˈvɛəriəbl/
US /ˈdɛzɪɡneɪtɪd ˈvɛriəbl/
A designated variable is a special name a computer uses to hold a value you choose.
The teacher told us to store the score in a designated variable called total.
RELATED WORDS
OTHER MEANINGS
2. In math, a letter chosen to stand for an unknown number.
In the equation x + 3 = 7, x is the designated variable.
3. In science experiments, the factor a researcher picks to change on purpose.
The designated variable in our plant test was the amount of water.
4. In programming, a memory slot given a specific role in a program.
The program saves the user's age in a designated variable before checking it.