Deck 3: Angular 2 and AngularJS Data Binding

Full screen (f)
exit full mode
Question
Angular 2 is a cross platform framework.

A)True
B)False
C)none
D)all
Use Space or
up arrow
down arrow
to flip the card.
Question
Angular 2 is entirely component based. Controllers and $scope are no longer used. They have been replaced by . . . . . . . and . . . . . . . .

A)components, controllers
B)$scopes, components
C)components, directives
D)controllers, directives
Question
Angular 2 still does not provide nested components.

A)True
B)False
C)none
D)all
Question
Angular 2 components can be described using . . . . . . A . . . . . . is a way to do some meta-programming.

A)controllers, controller
B)loaders, loader
C)typescripts, typescript
D)decorators, decorator
Question
Angular 2 uses . . . . . . . . syntax for built-in directives.

A)Pascal case
B)Snake case
C)Camel case
D)Underscore case
Question
You can use languages like . . . . . . . . . to write Angular 2 code.

A)ES5
B)ES6
C)TypeScriptor
D)Dart
Question
The . . . . . . . . . . directive substitutes the normal href property and makes it easier to work with route links in Angular 2.

A)RouterLink
B)RouterRend
C)RouterLike
D)RouterLayer
Question
There are two ways to build forms in Angular 2, namely . . . . and . . . . . .

A)interface-driven
B)model-driven
C)template-driven
D)modular-driven
Question
Angular 2 is an open source JavaScript framework to build web applications in HTML and JavaScript and has been conceived as a . . . . . . . . .

A)mobile first approach
B)UI first approach
C)web first approach
D)all of above
Question
Angular 1 core concept was $scope, and you will not find $scope in angular 2.0. Angular 2 is using . . . . . . . . to detect changes.

A)zone$.js
B)Scope.js
C)zone.js
D)zones.js
Question
Angular 2 integrates easily with NativeScript, allowing you to code your native app in a . . . . . . . . . style that can run on any mobile device platform.

A)declarative
B)imperative
C)interrogative
D)exclamatory
Question
Angular 2 make use of the . . . . . . . module syntax.

A)ES2016a
B)ES2017
C)ES2016
D)ES2015
Question
In Angular 2, applications rely upon the . . . . . . . method to load top-level components

A)loadstrap
B)bootstrap
C)bootload
D)none of above
Question
In Angular 2.0, the template compilation process is . . . . . . .

A)synchronous
B)asynchronous
C)none
D)all
Question
On the opposite side of event bindings (()) lie Angular's square-bracket syntax ([]) which signify a . . . . . .

A)property binding
B)class binding
C)style binding
D)both A & B
Question
Angular 2.0 contains a logging service called . . . . . which is very useful feature measuring where time is spent in your application.

A)config.js
B)logging.js
C)diary.js
D)none of above
Question
The router in Angular 2.0 has been reworked to be simple, yet extensible. It will include the following basic features:

A)Simple JSON-based Route Config
B)Optional Convention over Configuration
C)Static, Parameterized and Splat Route Patterns
D)URL Unresolver
Question
Angular 2 has a . . . . . . . service that allows us to dynamically load a component in a certain position on the page.

A)DynamicControlLoader
B)DynamicControllerLoader
C)DynaCompLoader
D)DynamicComponentLoader
Question
Angular 2 can detect when component data changes, and then automatically re-render the view to reflect that change.

A)True
B)False
C)none
D)all
Question
AngularJS supports . . . . . kind(s) of data binding.

A)one
B)two
C)three
D)four
Question
AngularJS never regenerates the HTML again.

A)True
B)False
C)none
D)all
Question
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
Question
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
Question
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
Question
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
C)none
D)all
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 3: Angular 2 and AngularJS Data Binding
1
Angular 2 is a cross platform framework.

A)True
B)False
C)none
D)all
True
2
Angular 2 is entirely component based. Controllers and $scope are no longer used. They have been replaced by . . . . . . . and . . . . . . . .

A)components, controllers
B)$scopes, components
C)components, directives
D)controllers, directives
components, directives
3
Angular 2 still does not provide nested components.

A)True
B)False
C)none
D)all
False
4
Angular 2 components can be described using . . . . . . A . . . . . . is a way to do some meta-programming.

A)controllers, controller
B)loaders, loader
C)typescripts, typescript
D)decorators, decorator
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
Angular 2 uses . . . . . . . . syntax for built-in directives.

A)Pascal case
B)Snake case
C)Camel case
D)Underscore case
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
You can use languages like . . . . . . . . . to write Angular 2 code.

A)ES5
B)ES6
C)TypeScriptor
D)Dart
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
The . . . . . . . . . . directive substitutes the normal href property and makes it easier to work with route links in Angular 2.

A)RouterLink
B)RouterRend
C)RouterLike
D)RouterLayer
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
There are two ways to build forms in Angular 2, namely . . . . and . . . . . .

A)interface-driven
B)model-driven
C)template-driven
D)modular-driven
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
Angular 2 is an open source JavaScript framework to build web applications in HTML and JavaScript and has been conceived as a . . . . . . . . .

A)mobile first approach
B)UI first approach
C)web first approach
D)all of above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
Angular 1 core concept was $scope, and you will not find $scope in angular 2.0. Angular 2 is using . . . . . . . . to detect changes.

A)zone$.js
B)Scope.js
C)zone.js
D)zones.js
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
Angular 2 integrates easily with NativeScript, allowing you to code your native app in a . . . . . . . . . style that can run on any mobile device platform.

A)declarative
B)imperative
C)interrogative
D)exclamatory
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
Angular 2 make use of the . . . . . . . module syntax.

A)ES2016a
B)ES2017
C)ES2016
D)ES2015
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
In Angular 2, applications rely upon the . . . . . . . method to load top-level components

A)loadstrap
B)bootstrap
C)bootload
D)none of above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
In Angular 2.0, the template compilation process is . . . . . . .

A)synchronous
B)asynchronous
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
On the opposite side of event bindings (()) lie Angular's square-bracket syntax ([]) which signify a . . . . . .

A)property binding
B)class binding
C)style binding
D)both A & B
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
Angular 2.0 contains a logging service called . . . . . which is very useful feature measuring where time is spent in your application.

A)config.js
B)logging.js
C)diary.js
D)none of above
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
The router in Angular 2.0 has been reworked to be simple, yet extensible. It will include the following basic features:

A)Simple JSON-based Route Config
B)Optional Convention over Configuration
C)Static, Parameterized and Splat Route Patterns
D)URL Unresolver
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
Angular 2 has a . . . . . . . service that allows us to dynamically load a component in a certain position on the page.

A)DynamicControlLoader
B)DynamicControllerLoader
C)DynaCompLoader
D)DynamicComponentLoader
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
Angular 2 can detect when component data changes, and then automatically re-render the view to reflect that change.

A)True
B)False
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
AngularJS supports . . . . . kind(s) of data binding.

A)one
B)two
C)three
D)four
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
AngularJS never regenerates the HTML again.

A)True
B)False
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
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
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
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
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
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
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
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
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 25 flashcards in this deck.