Sail E0 Webinar

MCQs

Total Questions : 117 | Page 7 of 12 pages
Question 61. In what way is the closure compiler efficient?
  1.    Increases the size of the JavaScript files
  2.    Reduces the size of the JavaScript files
  3.    Reduces the execution time
  4.    Reduces the speed
 Discuss Question
Answer: Option B. -> Reduces the size of the JavaScript files
Question 62. What are the benefits of closure compiler?
  1.    Efficiency
  2.    Code checking
  3.    Both Efficiency and Code checking
  4.    None of the mentioned
 Discuss Question
Answer: Option D. -> None of the mentioned
Question 63. In which way can the closure compiler can be used?
  1.    Open source
  2.    Run time application
  3.    Web application
  4.    Only Open source and Web application
 Discuss Question
Answer: Option D. -> Only Open source and Web application
Question 64. What is the purpose of the advanced mode in the closure compiler?
  1.    Renames variables
  2.    Renames function
  3.    Both Renames variables and function
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Both Renames variables and function
Question 65. Why is a closure template used?
  1.    Statically updating in JavaScript
  2.    To increase the efficiency and convenience
  3.    Dynamically generating HTML in Java and JavaScript
  4.    All of the mentioned
 Discuss Question
Answer: Option C. -> Dynamically generating HTML in Java and JavaScript
Question 66. What is the function of the closure compiler?
  1.    Download faster
  2.    Run faster
  3.    Both Download faster and Run faster
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Both Download faster and Run faster
Question 67. In what way does the closure compiler help in checking the code?
  1.    Warnings
  2.    Suddenly aborts
  3.    Rejects malicious inputs
  4.    All of the mentioned
 Discuss Question
Answer: Option A. -> Warnings
Question 68. Which of the following is one of the fundamental features of JavaScript?
  1.    Single-threaded
  2.    Single-threaded
  3.    Both Single-threaded and Multi-threaded
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Single-threaded
Question 69. Which of the following functions are synchronous?
  1.    load()
  2.    require()
  3.    both load() and require()
  4.    none of the mentioned
 Discuss Question
Answer: Option C. -> both load() and require()
Question 70. Why shouldn’t JavaScript functions not be too long?
  1.    User friendliness
  2.    Tie up event loops
  3.    Browser becomes unresponsive
  4.    All of the mentioned
 Discuss Question
Answer: Option D. -> All of the mentioned

Latest Videos

Latest Test Papers