1. Question: Which of the following is not a category of Operator?

    A
    Binary

    B
    Dinary

    C
    Unary

    D
    Ternary

    Note: Not available
    1. Report
  2. Question: How many ternary operators are there in JavaScript?

    A
    3

    B
    2

    C
    4

    D
    only 1

    Note: Not available
    1. Report
  3. Question: What will the following expression return? 0/0=?

    A
    Infinity

    B
    0

    C
    NaN

    D
    -0

    Note: Not available
    1. Report
  4. Question: What is the value of gamma according to following expression?
    var alpha=20, beta=30;
    alpha==beta?gamma=56:gamma=57;

    A
    0

    B
    56

    C
    57

    D
    113

    Note: Not available
    1. Report
  5. Question: Which of the following is the key assignment operator?

    A
    =

    B
    >

    C
    <

    D
    ||

    Note: Not available
    1. Report
  6. Question: What value will the following expression return? 100/0=?

    A
    100

    B
    0

    C
    Infinity

    D
    NaN

    Note: Not available
    1. Report
  7. Question: What is the output of the following in JavaScript?
    var a=7;
    a+=12;
    a-=4;
    a*=5;
    a/=3;
    a%=2;
    document.write(a);

    A
    75

    B
    12.5

    C
    0

    D
    1

    Note: Not available
    1. Report
  8. Question: Which of the following is greater than the other in JavaScript?

    A
    "Apple"

    B
    "apple"

    Note: uppercase letters are less than lowercase letters.
    1. Report
  9. Question: Which of the following is less than the other in JavaScript?

    A
    "apples"

    B
    "oranges"

    Note: The higher in the alphabet the character is, the greater the character is in comparison with another character.
    1. Report
  10. Question: What is the output of the following JavaScript code?
    var alpha=3<<2;
    document.write(alpha);

    A
    0

    B
    6

    C
    12

    D
    1

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