Animation Questions MCQs


animation Questions

Total Questions : 20

Question 1. Which of the following can be implemented using animation?
  1.    Fireworks
  2.    Fade Effect
  3.    Roll-in or Roll-out
  4.    All of the mentioned
Answer: Option D
Question 2. Which is the property used to position the object in the left of the screen?
  1.    object.position = left
  2.    object = position.left
  3.    object.style.left
  4.    none of the mentioned
Answer: Option C
Question 3. Which function is used to clear the timer value?
  1.    clearTimervalue()
  2.    clearTimeout()
  3.    clear()
  4.    flush(timer)
Answer: Option B
Question 4. Which is the function that calls another function after a time interval?
  1.    setTimeout()
  2.    setTime()
  3.    callafter()
  4.    none of the mentioned
Answer: Option A
Question 5. Which is the function used to call a function in every time duration?
  1.    callafter()
  2.    setInterval()
  3.    setTimeout()
  4.    setTime()
Answer: Option B
Question 6. How do we get the DOM object in JavaScript?
  1.    getElementbyId()
  2.    getObject()
  3.    getElement()
  4.    none of the mentioned
Answer: Option A
Question 7. How to assign the image source in JavaScript?
  1.    image = “url”
  2.    source(“url”)
  3.    image.src = “url”
  4.    none of the mentioned
Answer: Option C
Question 8. How do we create and preload an image object in JavaScript?
  1.    Use new keyword
  2.    Call Image()
  3.    Both Use new keyword and Call Image()
  4.    None of the mentioned
Answer: Option C
Question 9. Which event handler is triggered when the user’s mouse moves onto a link?
  1.    onMouseOver
  2.    onMouseOut
  3.    onMouse
  4.    onMouseOnto
Answer: Option A
Question 10. Which event handler is triggered when the user’s mouse moves away from a link?
  1.    onMouseOver
  2.    onMouseOut
  3.    onMouse
  4.    onMouseOnto
Answer: Option B
Question 11. Which side of image map can be created using JavaScript?
  1.    Server side
  2.    Client side
  3.    Both Server and Client side
  4.    None of the mentioned
Answer: Option B
Question 12. Which is the attribute used to enable the Client-side image map?
  1.    map
  2.    area
  3.    usemap
  4.    all of the mentioned
Answer: Option C
Question 13. Which are the special tags used for image mapping?
  1.    map and area
  2.    map and usemap
  3.    only map
  4.    only usemap
Answer: Option A
Question 14. What is the purpose of the area element?
  1.    Area of the text
  2.    Shape and coordinates of the hotspot
  3.    Shape and area of the hotspot
  4.    None of the mentioned
Answer: Option B
Question 15. Which is the element that follows the use of “img”?
  1.    area
  2.    usemap
  3.    map
  4.    any element can follow the use of “img”
Answer: Option C
Question 16. Which of the following is not a navigator property?
  1.    platform[]
  2.    plugin[]
  3.    userAgent[]
  4.    all of the mentioned
Answer: Option D
Question 17. What is the purpose of the platform[] property in a navigator?
  1.    Platform of the script
  2.    Platform where the image map was designed
  3.    Platform where the browser was compiled
  4.    All of the mentioned
Answer: Option C
Question 18. What is the purpose of the preference method in a navigator?
  1.    Set Browser preference
  2.    Set Netscape preference
  3.    Both Set Browser & Netscape preference
  4.    None of the mentioned
Answer: Option B
Question 19. Which of the following is not a navigator method?
  1.    postEnabled
  2.    reference
  3.    preference
  4.    all of the mentioned
Answer: Option C
Question 20. What is the purpose of the userAgent property?
  1.    Identifying the data
  2.    Identifying the client
  3.    Both Identifying the data and client
  4.    None of the mentioned
Answer: Option B