Multiple Choice Questions - Angular 2

Multiple Choice Questions - Angular 2


1. Angular 2 is a cross platform framework.

A) True
B) False

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

3. Angular 2 still does not provide nested components.

A) True
B) 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

5. Angular 2 uses . . . . . . . . syntax for built-in directives.

A) Pascal case
B) Snake case
C) Camel case
D) Underscore case

6. You can use languages like . . . . . . . . . to write Angular 2 code.

A) ES5
B) ES6
C) TypeScriptor
D) Dart

7. Angular 2 uses . . . . . . . . . for fast views on mobile.

A) client side rendering
B) server side rendering

8. 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

9. There are two ways to build forms in Angular 2, namely . . . . and . . . . . .

A) interface-driven
B) model-driven
C) template-driven
D) modular-driven

10. 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

11. 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

12. 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

13. Angular 2 make use of the . . . . . . . module syntax.

A) ES2016a
B) ES2017
C) ES2016
D) ES2015

14. In Angular 2, applications rely upon the . . . . . . . method to load top-level components

A) loadstrap
B) bootstrap
C) bootload
D) none of above

15. In Angular 2.0, the template compilation process is . . . . . . .

A) synchronous
B) asynchronous

16. 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

17. 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

18. 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
E) All of above

19. 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

20. Angular 2 can detect when component data changes, and then automatically re-render the view to reflect that change.

A) True
B) False

Answers

Also see:
Angular2 Events Quiz Questions
Angular2 Routing Quiz Questions
Angular2 Binding Quiz Questions