Sail E0 Webinar

MCQs

Total Questions : 37 | Page 3 of 4 pages
Question 21. When you import RouterModule in a feature module (not Root module) which function would you use?
  1.    forRoot()
  2.    forFeature()
  3.    forModule()
  4.    forChild()
 Discuss Question
Answer: Option D. -> forChild()
Question 22. AngularJS is a library?
  1.    true
  2.    false
 Discuss Question
Answer: Option A. -> true
Question 23. Which of the following directive allows us to use form?
  1.    ng-app
  2.    ng-form
  3.    ng-controller
  4.    ng-bind
 Discuss Question
Answer: Option B. -> ng-form
Question 24. Angular JS is Library or Framework?
  1.    Library
  2.    Framework
 Discuss Question
Answer: Option B. -> Framework
Question 25. Most used CSS frameworks are
  1.    Bootstrap
  2.    Semantic UI
  3.    SASS
  4.    Foundation
 Discuss Question
Answer: Option A. -> Bootstrap
Question 26. What is Form Builder?
  1.    Function for generating reactive forms in run-time
  2.    Class for generating template-driven forms in run-time
  3.    Class for generating reactive forms in run-time
  4.    Function for generating template-driven forms in run-time
 Discuss Question
Answer: Option C. -> Class for generating reactive forms in run-time
Question 27. Which of these are all Angular directives?
  1.    NgIf,NgFor,NgLoop
  2.    NgClass,NgSwitch,NgDate
  3.    NgFor,NgSwitch,NgClass
  4.    NgClass,NgLoop,NgIf
 Discuss Question
Answer: Option C. -> NgFor,NgSwitch,NgClass
Question 28. Who was Angular developed by?
  1.    Google
  2.    Facebook
  3.    Netflix
  4.    Angular
 Discuss Question
Answer: Option A. -> Google
Question 29. What is the @Input 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 A. -> Share data from a parent component to a child
Question 30. What mechanism is used to use a service in a component?
  1.    Dependency injection
  2.    Legacy
  3.    Polymorphism
  4.    none of the above
 Discuss Question
Answer: Option A. -> Dependency injection

Latest Videos

Latest Test Papers