Multiple Choice Questions - AngularJS Binding
1. AngularJS supports . . . . . kind(s) of data binding.
A) one
B) two
C) three
D) four
2. AngularJS never regenerates the HTML again.
A) True
B) False
3. AngularJS bindings are . . . . . , meaning that when the value associated with the binding is changed (in the data model), the HTML element will be updated.
A) parallel
B) one way
C) two way
D) live
4. You can use the . . . . . . directive, in order to bind the innerHTML of the element to the specified model property.
A) ng-bind
B) ng-binding
C) ng-binds
D) ng-bindings
5. Any change to the . . . . and . . . . . properties affects these bindings and consequently the user interface content.
A) noOfTries, deviations
B) restart, tries
C) noOfTries, deviation
D) noOfTry, deviation
6. In two-way binding, changes done to a model are reflected in the view, but the reverse also holds true sometimes.
A) True
B) False
7. You can create bindings only for the data values that are added to the . . . . . object by the controller.
A) $action
B) $control
C) $scope
D) none of above
8. The ng-bind directive . . . . . . allow you to hide your template markup when the HTML content is shown to the user before it is processed by AngularJS.
A) does
B) does not
9. The drawback of inline bindings is that AngularJS will not find and process every set of {{ and }} characters in your content.
A) True
B) False
10. When adding . . . . . and . . . . . . to a view, we are essentially instructing Angular to create data bindings that keep the model and view in sync.
A) extrapolations, interpolations
B) scopes, directives
C) directives, interpolation
D) none of above
Answers