###### SDLC

#### Difference between Primary and Secondary Memory

What is Memory? Memory is very much like our brain as it is used to store data and instructions. Computer...

- Details

A variable is a concept or theoretical idea which can be described in measurable terms. This term refers to the qualities, characteristics, or attributes of a specific object, individual, or situation which is being studied.

For instance, age is considered as a variable because age can take different values for different people or for the same person at a separate time duration.

Another example is the income of an employee which is considered as a variable. It is not only something that we measure but also something which we can easily manipulate and control.

Variables are further divided into two types:

- Independent variables
- Dependent variables

Let us learn them in detail:

An Independent variable is exactly according to its name. It means it stands along with a variable that cannot be changed by another variable. Independent variables are also known as prediction or factor.

The dependent variable is the variable that is measured or tested in an experiment. It is the result of the participants' actions, which can be changed according to the outcome of the action performed by the participant.

- An Independent variable is a variable whose value never depends on another variable whereas a dependent variable is a variable whose value depends on another variable.
- The Independent variable is the presumed cause. On the other hand, the dependent variable is the presumed effect.
- Independent variables are the predictors or regressors but dependent variables are often referred as the predicted variable.
- Independent variables do not need any complex mathematical procedures and observations. On the contrary, dependent variables are obtained from longitudinal research or by solving complex mathematical equations.
- Independent variables are positioned horizontally on the graph while dependent variables are positioned vertically on the graph.
- Any change in the independent variable also affects the dependent variable while any change in dependent variable does not affect the independent variable.

Let us assume that teacher asks 100 students to complete a science test. By doing this, she wants to know why some students score better than others.

Here the teacher does not know the answer. Therefore she thinks that it might be because of the following two reasons:

- Some students spend higher-time revising for their tests.
- Few students are more intelligent than others.

The teacher decides to analyse the effect of revision time. Based on the test performance of that 100 students.

**Which are the dependent and independent variables?**

Dependent Variable:

**Test Mark**(which can be measured from 0 to 100)

Independent Variables:

**Revision time**(which is measured in hours)**Intelligence**( which is measured using IQ score)

Now let see another example:

How increment affect employees' motivation?

Independent variable: Increment

Dependent variable: Employees motivation

How higher education can lead to higher Income:

- Higher education: Independent variable
- Higher Income: Dependent variable

It is causally affected by education and itself affect Income.

When you plotted in graphs, the convention is to use the independent variable as the x-axis and the dependent variable as the y-axis.

The DRY MIX can help keep the variables straight:

**D**- Dependent variable**R**- Responding variable**Y**-Axis on which the dependent or responding variable is graphed- (the vertical axis)**M-**It is the change variable or manipulated variable which value can be changed using in the experiment**I**-is the independent variable**X**-is the axis on which the independent or manipulated variable is graphed.

Here are different between Independent and Dependent Variables:

Independent variables | Dependent variables |

An Independent variable is a variable whose value never depends on another variable but the researcher. | A dependent variable is a variable whose value depends on another variable. |

The Independent variable is the presumed cause. | The dependent variable is the presumed effect. |

Any change in the independent variable also affects the dependent variable. | Dependent variable changes, then the independent variable will not be affected. |

Independent variables are the predictors or regressors. | Dependent variables are often referred as the predicted variable. |

Independent variables can become easily obtainable and do not need any complex mathematical procedures and observations. | Dependent variables are obtained from longitudinal research or by solving complex mathematical equations. |

Independent variables are can be manipulated by the researcher. So he or she is biased. Then it may affect the results of the research. | You cannot be manipulated by the research or any other external factor. |

Independent variables are positioned horizontally on the graph. | Dependent variables are positioned vertically on the graph. |

What is Memory? Memory is very much like our brain as it is used to store data and instructions. Computer...

Subtitles are the text derived from either a screenplay or transcript of the commentary or...

A Partition is a hard drive section that is separated from other parts. It enables you to divide...

It's time to make the big switch from your Windows or Mac OS operating system. Mac OS uses a UNIX...

Email client is a software application that enables configuring one or more email addresses to...

In this tutorial, we will learn- What is a Pipe in Linux? 'pg' and 'more' commands The 'grep'...