Sail E0 Webinar

MCQs

Total Questions : 37 | Page 4 of 4 pages
Question 31. What does this syntax do? routerLink="/home"
  1.    It navigates to the component with a name matching the assigned string
  2.    It links a route to a service by matching the assigned string to a service class name
  3.    It links a route with data by matching the assigned string to a property name
  4.    It navigates to the component with a path matching the assigned string
 Discuss Question
Answer: Option D. -> It navigates to the component with a path matching the assigned string
Question 32. What is the role of services in AngularJS and name any services made available by default?
  1.    AngularJS Services are objects that provide separation of concerns to an AngularJS app.
  2.    These can be created using a factory method or a service method.
  3.    Services are singleton components and all components of the application (into which the service is injected) will work with single instance of the service
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 33. Which of the following is true about ng-include directive?
  1.    Embed HTML pages within a HTML page using ng-include directive
  2.    Embed JS files within a HTML page using ng-include directive
  3.    Both of the above.
  4.    None of the above.
 Discuss Question
Answer: Option A. -> Embed HTML pages within a HTML page using ng-include directive
Question 34. What are the values assigned for datatype of void in TS ?
  1.    only null
  2.    only undefined
  3.    null and undefined
  4.    can assign any values (number, boolean etc)
 Discuss Question
Answer: Option C. -> null and undefined
Question 35. Which architectures does angular use
  1.    MVC
  2.    MVVM
  3.    Component Based Architecture
  4.    All the above
 Discuss Question
Answer: Option D. -> All the above
Question 36. What is Transpiler ?
  1.    converts source to source and then to binary
  2.    Source to Source Compiler
  3.    converts source to binary
  4.    All of above
 Discuss Question
Answer: Option B. -> Source to Source Compiler
Question 37. What is the term Angular CLI?
  1.    Angular Command-line
  2.    Angular Command-line user interface
  3.    Angular Command-line interface
  4.    Angular Command-line interceptor
 Discuss Question
Answer: Option C. -> Angular Command-line interface

Latest Videos

Latest Test Papers