Home / CSE / Javascript - CS :: Animation

CSE :: Javascript - CS

  1. Which of the following can be implemented using animation?

  2. A.

     Fireworks

    B.

     Fade Effect

    C.

     Roll-in or Roll-out

    D.

     All of the mentioned


  3. Which is the function that calls another function after a time interval?

  4. A.

     setTimeout()

    B.

     setTime()

    C.

     callafter()

    D.

     none of the mentioned


  5. Which function is used to clear the timer value?

  6. A.

     clearTimervalue()

    B.

     clearTimeout()

    C.

     clear()

    D.

     flush(timer)


  7. Which is the property used to position the object in the left of the screen?

  8. A.

     object.position = left

    B.

     object = position.left

    C.

     object.style.left

    D.

     none of the mentioned


  9. Which is the function used to call a function in every time duration?

  10. A.

     callafter()

    B.

     setInterval()

    C.

     setTimeout()

    D.

     setTime()


  11. How do we get the DOM object in JavaScript?

  12. A.

     getElementbyId()

    B.

     getObject()

    C.

     getElement()

    D.

     none of the mentioned


  13. How to assign the image source in JavaScript?

  14. A.

     image = “url”

    B.

     source(“url”)

    C.

     image.src = “url”

    D.

     none of the mentioned


  15. How do we create and preload an image object in JavaScript?

  16. A.

     Use new keyword

    B.

     Call Image()

    C.

     Both Use new keyword and Call Image()

    D.

     None of the mentioned


  17. Which event handler is triggered when the user’s mouse moves onto a link?

  18. A.

     onMouseOver

    B.

     onMouseOut

    C.

     onMouse

    D.

     onMouseOnto


  19. Which event handler is triggered when the user’s mouse moves away from a link?

  20. A.

     onMouseOver

    B.

     onMouseOut

    C.

     onMouse

    D.

     onMouseOnto