1) What is the value stored in my_var after the statement below is executed?

 

    var my_result = 5 + 2 * 3 / 5;

 

2) Does the following expression evaluate to true or false?

 

    ( ( !true ) || ( false ) )

 

3) What is displayed on the screen after all the statements below are executed?

 

    var my_result = 3;

    my_result += 2;

    my_result *= 2;

    document.write(my_result);

 

4) Does the expression following the statements below evaluate to true or false?

 

    var my_var1 = 3;

    var my_var2 = “3”;

 

    (var1 === var2)

 

5) Does the following expression evaluate to true or false?

 

   ! ( true  &&  false )

 

6) What is displayed on the screen after all the statements below are executed?

 

    var my_result = “5”;

    my_result += “2”;

    document.write(my_result);

 

7) Does the following expression evaluate to true or false?

 

    ( (true  &&  false) || !(true || false) )

 

8) What is displayed on the screen after all the statements below are executed?

 

    var my_result = 3;

    my_result = -my_result;

    my_result *= 2;

    document.write(my_result);

 

9) Does the following expression evaluate to true or false?

 

    ( ( true  &&  (4 > 5 - 2) ) )

 

10) What is displayed on the screen after all the statements below are executed?

 

    var my_result = 5;

    my_result = my_result + my_result;

    my_result /= 0;

    document.write(my_result);