Examlex

Solved

What Output Will the Following Script Produce

question 14

Multiple Choice

What output will the following script produce
Var i = 0;
Var j = 3;
Var counter = 0;
While ( i < 5 )
{
If (i != j)
Counter = counter + i;
I = i + 1
}
Document.write( counter ) ;


Definitions:

Fetuses

A developmental stage of mammals within the womb, particularly of humans from the ninth week after conception to birth.

Longitudinal Method

A research design in which the same subjects are observed or studied over a long period to observe changes or development.

Neonates

Newborn babies, especially those less than four weeks old.

Visual Acuity

The sharpness of vision, measured by the ability to discern letters or numbers at a given distance according to a fixed standard.

Related Questions