Question

Illustrate in two examples the difference between variables and values

Illustrate in two examples the difference between variables and values

Homework Answers

Answer #1

A variable is actually a temporary name or kind of a location to hold a value of something. A variable thus has some kind of a location. A value is fixed but the value of a variable can be changed from one value to another. Two examples to show the same is:

  • Suppose a variable is the cost of making a pen. This variable could vary depending on the material we use. The variable cost could have a value of $1 if cheap material is used or value of $3 is expensive material is used
  • Another example could be the toll for a particular roadway. The toll fair is a variable which can have various values. It could be $10 for a car while $5 for a scooter.
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
10. Illustrate in two examples the difference between variables and values
10. Illustrate in two examples the difference between variables and values
Explain the difference between nominal variables and real variables giving two examples of each. According to...
Explain the difference between nominal variables and real variables giving two examples of each. According to the classical dichotomy, which of these two sets of variables are affected by a change in money supply.
9. Provide two examples of variables with exhaustive and mutually exclusive values
9. Provide two examples of variables with exhaustive and mutually exclusive values
What is the difference between a sarcoma and a carcinoma? Give two examples
What is the difference between a sarcoma and a carcinoma? Give two examples
difference between dependent variables and independent variables
difference between dependent variables and independent variables
What is the difference between a database and a table? Give two real-life examples.
What is the difference between a database and a table? Give two real-life examples.
Explain the difference between each of the three types of unemployment. Use real world examples (not...
Explain the difference between each of the three types of unemployment. Use real world examples (not from the book) that illustrate each type. ( In your own words)
(TCO A) What is the difference between primary and secondary research data? Name two examples of...
(TCO A) What is the difference between primary and secondary research data? Name two examples of each.
Explain the difference between descriptive and prescriptive grammar using two or three examples from English. You...
Explain the difference between descriptive and prescriptive grammar using two or three examples from English. You may also use examples from another language.
Explain the difference between direct costs, fixed costs, and general expenses. Give two examples of each.
Explain the difference between direct costs, fixed costs, and general expenses. Give two examples of each.