Answer and Explanation:
In coding, an expression is used to represent values. It may contain variables and/or constant.
Examples of expressions are:
[tex]a - b[/tex] [tex]a * 2[/tex] [tex]4 - 3[/tex]
Variables are literally memory locations. They are used to storing values, and they assume the values they store during program execution.
At any point in the program, the value of the variable can be changed.
Lastly, there are guidelines that follow naming variables (depending on the programming language).
Examples of accepted variable names (in C++) are:
num, num_1, num1
Assignment operator
This is the = sign. It is used for assigning values to variables.
Examples of how it is used are:
[tex]num1 = a - b[/tex]
[tex]num\_1 = a*2[/tex]
[tex]num = 4 - 3[/tex]
The following is a wrong usage of the operator
[tex]4 - 3 = num[/tex]