1. Question: While different browsers can require different scripting strategies, most JavaScript follows the ECMA-262 standard.

    A
    True

    B
    False

    Note: Not available
    1. Report
  2. Question: (?:)ternay operator is equivalent to if-else.

    A
    True

    B
    False

    Note: Not available
    1. Report
  3. Question: Compound data are made up of A)_____s and B)_____s in JavaScript.

    A
    array,object

    B
    object,array

    Note: Not available
    1. Report
  4. Question: ~ is a ______ operator.

    A
    bitwise not

    Note: Not available
    1. Report
  5. Question: In Javascript a variable or function name can begins with ASCII letters, what do mean by ASCII ?

    A
    American Standard Code for Information Interchange.

    B
    American Standard Code In Information.

    C
    American Standard Code for Interchange Information.

    D
    American Standards Code for Information Interchange.

    Note: Not available
    1. Report
  6. Question: How will change background color by the event handler ?

    A
    document.write.Bgcolor

    B
    document.bgColor

    C
    document.Background-color

    D
    document.background

    Note: Not available
    1. Report
  7. Question: RGB stand's for______?

    A
    red,green,blue

    Note: Not available
    1. Report
  8. Question: What will be the output for the following JavaScript bitwise operation?
    var alpha=5<<1;
    document.write(alpha);

    A
    10

    B
    6

    C
    2

    D
    4

    Note: 5<<1 =>101<<1 (converting 5 into binary) =>1010 (add 1 zero to the right) =>8+0+2+0 =>10
    1. Report
  9. Question: What will be output for the following JavaScript bitwise operation?
    a=1
    b=1
    c=0
    d=0
    
    document.write(a^b);
    document.write(",");
    document.write(a^c);
    document.write(",");
    document.write(c^d);

    A
    0,1,0

    B
    1,0,1

    C
    1,1,1

    D
    0,0,0

    Note: Not available
    1. Report
  10. Question: Which of the following is a correct syntax to hide javaScript code from the older browsers that don't support the current version of javaScript?

    A
    <!-code//-->

    B
    //code

    C
    /*code*/

    D
    /code/

    Note: Not available
    1. Report
Copyright © 2025. Powered by Intellect Software Ltd