Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. Angular 2 integrates easily with NativeScript, allowing you to code your native app in a . . . . . . . . . style that can run on any mobile device platform.
  1.    declarative
  2.    imperative
  3.    interrogative
  4.    exclamatory
 Discuss Question
Answer: Option A. -> declarative




Question 2. The ______ directive substitutes the normal href property and makes it easier to work with route links in Angular 2.
  1.    RouterLink
  2.    RouterRend
  3.    RouterLike
  4.    RouterLayer
 Discuss Question
Answer: Option A. -> RouterLink




Question 3. What are the new features of Angular2?
  1.    Component-Based
  2.    Directives
  3.    Dependency Injection
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 4. Angular 2 components can be described using ________is a way to do some meta-programming.
  1.    controllers, controller
  2.    loaders, loader
  3.    typescripts, typescript
  4.    decorators, decorator
 Discuss Question
Answer: Option D. -> decorators, decorator




Question 5. Since Angular 2 defines a set of built-in directives, the . . . . . . . . method passes them in a similar way in order to make them available in the entire application in order to prevent us from code duplications.
  1.    startup
  2.    bootstrap
  3.    constructor
  4.    initialization
 Discuss Question
Answer: Option B. -> bootstrap




Question 6. On the opposite side of event bindings (()) lie Angular's square-bracket syntax ([]) which signify a . . . . . .
  1.    property binding
  2.    class binding
  3.    style binding
  4.    Both A & B
 Discuss Question
Answer: Option D. -> Both A & B




Question 7. Which of the following is correct about Angular 2 Routing?
  1.    Routing helps in directing users to different pages based on the option they choose on the main page
  2.    Based on the option they choose, the required Angular Component will be rendered to the user
  3.    Both of the above
  4.    None
 Discuss Question
Answer: Option C. -> Both of the above




Question 8. A special mention is required about the children element marked with the . . . . . . . . . . . directive attribute. This attribute qualifies the template that will be displayed when no other value defined by its ngSwitchWhen siblings matches the parent conditional expression.
  1.    ngDefault
  2.    ngTemplateDefault
  3.    ngDefaultSwitch
  4.    ngSwitchDefault
 Discuss Question
Answer: Option D. -> ngSwitchDefault




Question 9. Angular 2 can detect when component data changes, and then automatically re-render the view to reflect that change.
  1.    True
  2.    False
  3.    Both
  4.    None
 Discuss Question
Answer: Option A. -> True




Question 10. Angular 2 is using . . . . . . . . to detect changes.
  1.    zone$.js
  2.    Scope.js
  3.    zone.js
  4.    zones.js
 Discuss Question
Answer: Option C. -> zone.js




Latest Videos

Latest Test Papers