name any 2types of variables
Answers
Answered by
0
There are three main types of variables in a scientific experiment: independent variables, which can be controlled or manipulated; dependent variables, which (we hope) are affected by our changes to the independent variables; and control variables, which must be held constant to ensure that we know that it's our ...
Answered by
0
A variable in any programming language is a named piece of computer memory, containing some information inside. Think of a variable as a box with a name, where we can "store" something. We create, edit and delete variables, as much as we need in our tasks. Variables usually are of a certain type (which define their logical representation and size). Say, we created a variable with name A and of type integer. This tells the compiler that we reserved a part of our memory for storing an integer number (usually 4 bytes long, depending on our language, compiler and machine type). We could also create another one, called B, but this one of type real. This variable will be also 4 bytes long, but we use this byte for storing floating point value, with certain precision and exponent. Variables can be static and dynamic.
The two types of variables are :-
Discrete numerical variable
A variable whose values are whole numbers (counts) is called discrete. For example, the number of items bought by a customer in a supermarket is discrete.
Continuous numerical variable
A variable that may contain any value within some range is called continuous. For example, the time that the customer spends in the supermarket is continuous.
Statistical methods that can be used for continuous variables are not always appropriate for discrete variables.
Hope this will help you ...
The two types of variables are :-
Discrete numerical variable
A variable whose values are whole numbers (counts) is called discrete. For example, the number of items bought by a customer in a supermarket is discrete.
Continuous numerical variable
A variable that may contain any value within some range is called continuous. For example, the time that the customer spends in the supermarket is continuous.
Statistical methods that can be used for continuous variables are not always appropriate for discrete variables.
Hope this will help you ...
Similar questions