Sail E0 Webinar

MCQs

Total Questions : 86 | Page 2 of 9 pages
Question 11. What is the inital step to set up a CSS Lazy Loading?
  1.    Fetching data
  2.    Loading the script
  3.    Loading the page
  4.    Adding the event listener
 Discuss Question
Answer: Option A. -> Fetching data
Question 12. What is the purpose of holding whatever tag you create in the attribute type?
  1.    To have more information
  2.    To identify the scripting language
  3.    All of the mentioned
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> To identify the scripting language
Question 13. What should be the value of the type attribute of a variable if the type of file is CSS?
  1.    text/js/css
  2.    text/js
  3.    text/css
  4.    text
 Discuss Question
Answer: Option C. -> text/css
Question 14. What does the appendChild() method perform?
  1.    Appends a node in the middle of the index taken as the parameter
  2.    Appends a node as the first child
  3.    Appends a node as the last child
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Appends a node as the last child
Question 15. How to lazy load images?
  1.    Remove the rel attribute
  2.    Remove the src attribute
  3.    Make rel = src
  4.    Make src = rel
 Discuss Question
Answer: Option B. -> Remove the src attribute
Question 16. What does the rel attribute of a variable have when the type of file is CSS?
  1.    css
  2.    stylesheet
  3.    text/css
  4.    all of the mentioned
 Discuss Question
Answer: Option B. -> stylesheet
Question 17. How do we stop blocking of loading and executing the perfLogger, a logging type data?
  1.    Inlining the perfLogger
  2.    Removing the perfLogger
  3.    Placing the perfLogger before the “script” tag
  4.    None of the mentione
 Discuss Question
Answer: Option A. -> Inlining the perfLogger
Question 18. What is the parameter of the method getElementsbyTagName() if we need to get an image?
  1.    image
  2.    src
  3.    img
  4.    imageurl
 Discuss Question
Answer: Option C. -> img
Question 19. Which of the following property gives access to the JavaScript memory usage data?
  1.    performance.memory
  2.    memory(performance)
  3.    performance(memory)
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> performance.memory
Question 20. What is the purpose of the timing property in the window.performance object?
  1.    Time of navigation event
  2.    Time of page load event
  3.    Time of navigation and page load event
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Time of navigation and page load event

Latest Videos

Latest Test Papers