Home / CSE MCQs / Javascript MCQs :: Javascript Parsing, Benchmarking,Logging

CSE MCQs :: Javascript MCQs

  1. What is the purpose of the parameter $name ?
  2. A.
    Document Name
    B.
    Input Name
    C.
    Output Name
    D.
    ID

  3. How many reserved words are there in JavaScript?
  4. A.
    63
    B.
    54
    C.
    68
    D.
    90

  5. Which of the following are ways to benchmark code?
  6. A.
    Timing the code
    B.
    Calculating the number of operations performed
    C.
    Both a and b
    D.
    None of the mentioned

  7. According to the workflow of a runtime logging, what happens after calculating the run time?
  8. A.
    Display to screen
    B.
    Log to server
    C.
    Either a or b
    D.
    None of the mentioned

  9. How can you create a node for comment in JavaScript?
  10. A.
    comment()
    B.
    createComment()
    C.
    Comm()
    D.
    None of the mentioned

  11. What will be the radix value if the string begins with 0x?
  12. A.
    13
    B.
    14
    C.
    15
    D.
    16

  13. What is the parameter of the method Date.parse()?
  14. A.
    date
    B.
    string
    C.
    datestring
    D.
    string

  15. What will be the radix value of the parseInt() method when the string begins with any other value other than 0x and 0?
  16. A.
    8
    B.
    9
    C.
    10
    D.
    11

  17. What is the purpose of the UgilifyJS?
  18. A.
    Exposes a simple API
    B.
    Minification
    C.
    Both a and b
    D.
    None of the mentioned

  19. Which of the following JavaScript logging tool is also a debugging tool?
  20. A.
    Blackbird
    B.
    Log Hound
    C.
    jsTracer
    D.
    fvlogger