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

CSE :: Javascript - CS

  1. What is the necessity to create a separate file after having an API key?

  2. A.

     To hold configuration information

    B.

     To hold key details

    C.

     To hold URL details

    D.

     To hold the speed of the process


  3. How many parameters does the API accept?

  4. A.

     5

    B.

     6

    C.

     7

    D.

     8


  5. What is the purpose of the parameter location?

  6. A.

     Specifies agent location

    B.

     Specifies speed

    C.

     Specifies browser

    D.

     All of the mentioned


  7. What will happen if the fvonly parameter is set to 1?

  8. A.

     Results got for the first view

    B.

     Can run the repeat view test

    C.

     Can run the repeat view test

    D.

     None of the mentioned


  9. How many reserved words are there in JavaScript?

  10. A.

     63

    B.

     54

    C.

     68

    D.

     90


  11. What is the purpose of the window.location object in JavaScript?

  12. A.

     Get the URL and redirect

    B.

     Get the location of the cursor

    C.

     Get the path to the next page

    D.

     All of the mentioned


  13. Which of the following method loads a new document?

  14. A.

     location.new()

    B.

     loadnew()

    C.

     location.load()

    D.

     location.assign()


  15. Which of the following method will wait for certain milliseconds to execute a specified method?

  16. A.

     setInterval()

    B.

     setTimeout()

    C.

     setmilli()

    D.

     setseconds()


  17. What is the method used to stop an execution of a method?

  18. A.

     clearInterval()

    B.

     clcearTimeout()

    C.

     both clearInterval() and clcearTimeout()

    D.

     none of the mentioned


  19. What is the meaning of JavaScript Hoisting?

  20. A.

     Moving declarations to bottom

    B.

     Moving declarations to top

    C.

     Hosting variables by itself

    D.

     None of the mentioned