Home / CSE / Javascript - CS :: Parsing, Benchmarking and Logging

CSE :: Javascript - CS

  1. How many default number methods are available in JavaScript?

  2. A.

     5

    B.

     6

    C.

     7

    D.

     8

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. What is an observer effect?

  4. A.

     Observing influences outcome

    B.

     Observing never influences outcome

    C.

     Obversing and outcome are independent

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following are ways to benchmark code?

  6. A.

     Timing the code

    B.

     Calculating the number of operations performed

    C.

     Timing the code & Calculating the number of operations performed

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. How to calculate the run time of a code?

  8. A.

     Start time – End time

    B.

     End time – Start time

    C.

     Start time/ End time

    D.

     Start time * End time

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. According to the workflow of a runtime logging, what happens after calculating the run time?

  10. A.

     Display to screen

    B.

     Log to server

    C.

     Either Display to screen or Log to server

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following object is used to post the data to an external process, say savePerfData?

  12. A.

     XML

    B.

     XBT

    C.

     XHR

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Where does the external process save the result of the test?

  14. A.

     Normal file

    B.

     Flat file

    C.

     Folder

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which function is used to start the time logging?

  16. A.

     startTimeLogging()

    B.

     start()

    C.

     Loggingstart()

    D.

     startLogging()

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of the following attribute of form tag is not set by using document object in JavaScript?

  18. A.

     Target

    B.

     Enctype

    C.

     Action

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. What type of scooping is present in JavaScript?

  20. A.

     Lexical

    B.

     Literal

    C.

     Both Lexical and Literal

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum