Sail E0 Webinar

MCQs

Total Questions : 37 | Page 2 of 4 pages
Question 11. Which of the following is true about ng-init directive?
  1.    ng-init directive initializes an AngularJS Application data.
  2.    ng-init directive is used to put values to the variables to be used in the application.
  3.    both
  4.    none
 Discuss Question
Answer: Option C. -> both
Question 12. How many types of Data Binding are there?
  1.    1 type
  2.    2 type
  3.    3 type
  4.    4 type
 Discuss Question
Answer: Option C. -> 3 type
Question 13. Which of the following directive bootstraps AngularJS framework?
  1.    ng-init
  2.    ng-app
  3.    ng-controller
  4.    ng-bootstrap
 Discuss Question
Answer: Option B. -> ng-app
Question 14. The
  1.    ng-switch
  2.    ng-model
  3.    ng-Disabled
  4.    ng-Cloak
 Discuss Question
Answer: Option A. -> ng-switch
Question 15. If I write <button (click) = "onClick ()"> in a template, I use?
  1.    interpolation
  2.    property binding
  3.    event binding
  4.    none of the above
 Discuss Question
Answer: Option C. -> event binding
Question 16. Which of the following is a valid AngularJS expression?
  1.    {{ 2 + 2 }}
  2.    { 2 + 2 }
  3.    (( 2 + 2 ))
  4.    { (2 + 2) }
 Discuss Question
Answer: Option A. -> {{ 2 + 2 }}
Question 17. What is the @Output decorator for?
  1.    Share data from a parent component to a child
  2.    Share data from a child component to a parent
  3.    Use event binding
  4.    Use a service
 Discuss Question
Answer: Option B. -> Share data from a child component to a parent
Question 18. We can apply multiple attribute directives to a host element?
  1.    TRUE
  2.    FALSE
 Discuss Question
Answer: Option A. -> TRUE
Question 19. We can apply multiple structural directives to a host element?
  1.    TRUE
  2.    FALSE
 Discuss Question
Answer: Option B. -> FALSE
Question 20. In AngulsrJS HTML document is loaded and evaluated first in the browser
  1.    JavaScript file is loaded
  2.    The angular global object is created
  3.    Your JavaScript which registers controller functions is executed
  4.    All of above
 Discuss Question
Answer: Option D. -> All of above

Latest Videos

Latest Test Papers