Questions LLC
Login
or
Sign Up
Ask a New Question
Programming
Variables
Scope
If you only want a variable to be active within a function, you should use a global variable.
true
false
1 answer
False. If you only want a variable to be active within a function, you should use a local variable. Using a global variable would make the variable accessible and modifiable throughout the entire program.
You can
ask a new question
or
answer this question
.
Related Questions
Select the phrase that correctly completes the sentence.
The value of the dependent variable in a function is always __________
1. consider the relationship between the height of a tree and time. Time would be considered which of the following?
a. function
in a relationship between variables, what is the variable called that changes in response to another variable?
a. function b.
It is known that a certain function is an indirect proportion. Find the formula for this function if it is known that the
What variable is typically graphed on the y -axis?(1 point)
Responses the composite variable the composite variable the
What variable is typically graphed on the y-axis?(1 point)
Responses the dependent variable the dependent variable the constant
What do we call the variable that is manipulated by an experimenter when conducting in experiment.
1. Independent VARIABLE 2.
Which of the following best describes the dependent variable in an experiment?
A- the variable that is measured B- the variable
Which is always a correct conclusion about the quantities in the function y=x+4
A. THe variable x is always 4 more than y B. When
Consider a variable var with some value in it. How can we achieve an output of this format:%0D%0A"This is the value of variable