Home / CSE / Javascript - CS :: Caching and Debugging

CSE :: Javascript - CS

  1. Which is the function used to loop in an array to view all the values?

  2. A.

     all()

    B.

     loop()

    C.

     each()

    D.

     none of the mentioned


  3. Which of the following has a greater benchmark time for looping and JQuery vs core JavaScript in milliseconds?

  4. A.

     Chrome JQuery

    B.

     Chrome JavaScript

    C.

     Firefox JQuery

    D.

     Firefox JavaScript


  5. Which class provides an interface for invoking JavaScript methods and examining JavaScript properties?

  6. A.

     ScriptObject

    B.

     JSObject

    C.

     JavaObject

    D.

     Jobject


  7. What is the purpose of the function eval?

  8. A.

     Executes the string as an integer

    B.

     Gets the value of the string

    C.

     Executing string as JavaScript

    D.

     None of the mentioned


  9. Which of the following has a lesser benchmark time for using JQuery to access DOM versus pure JavaScript in milliseconds?

  10. A.

     Chrome JQueryDOM_

    B.

     Chrome JSDOM_benc

    C.

     Firefox JQueryDOM_

    D.

     Firefox JSDOM_benc


  11. Which is a wrapped Java array, accessed from within JavaScript code?

  12. A.

     JavaArray

    B.

     JavaClass

    C.

     JavaObject

    D.

     JavaPackage


  13. What is the syntax of close method for document object?

  14. A.

     Close(object)

    B.

     Close(doc)

    C.

     Close(val)

    D.

     Close()


  15. How do you find the number with the highest value of x and y?

  16. A.

     ceil(x,y)

    B.

     top(x,y)

    C.

     Math.ceil(x,y)

    D.

     Math.max(x,y)


  17. How can you find a client’s browser name?

  18. A.

     browser.name

    B.

     navigator.appName

    C.

     client.navName

    D.

     none of the mentioned


  19. Which of the following is not a JavaScript framework?

  20. A.

     Rico

    B.

     Prototype

    C.

     Joco

    D.

     DoJo