answersLogoWhite

0

Variables define a certain value, such as an integer, string, boolean value, etc. Functions are defined to run a certain task, and may or may not return a value. You can have a function that calculates the sum of two numbers and returns the sum once calculated.

User Avatar

Susanna Doyle

Lvl 10
3y ago

What else can I help you with?

Related Questions

What the difference between a variable and control?

The difference between a controlled variable and a variable is in their state. A controlled variable is something which is rigid and constant while a variable is liable to change and inconsistent.


What is the difference between the experimental variable and the controlled variable?

gago kayo


What is the difference between a variable being tested and a variable being controlled?

The difference between these both is that the control is what stays the same in an experiment and the variable is what changes.


What is the difference between dependent and controlled variables?

The controlled variable is the one that you chose to change while the dependant is the variable that changes because it is effected by the controlled variable


What is the difference between control and controlled variable?

control is when nothing is done to the experiment and controlled variable is that you have control over the experiment.


What is the difference between a controlled parameter and a variable parameter?

controlled parameters the factor that stays the same in ALL groups variable parameters the factor(s) that change between control groups and variable groups


What is the difference between a factor and variable?

A factor of an experiment is a controlled independent variable; a variable whose the differences between means for different levels of one factor.


Why is a controlled variable important in a controlled experiment?

because knowing what is the difference between objects and produres and data is important


What is the difference between an experimental variable and a control variable?

In a controlled experiment, the control variable remains constant while the experimental variable changes with each trial of the experiment.


What is the difference between experimental variable and a control variable?

In a controlled experiment, the control variable remains constant while the experimental variable changes with each trial of the experiment.


What is the difference between an experimentation variable and a control variable?

In a controlled experiment, the control variable remains constant while the experimental variable changes with each trial of the experiment.


What is the difference between an independent variable and a dependent variable in an expeirement?

In an experiment the independent is the stimulus, the thing controlled or applied by the experimenter. The dependent variable is the response, the reaction to the independent variable.