AngularJS Online Quiz


Advertisements


Following quiz provides Multiple Choice Questions (MCQs) related to AngularJS Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : D

Explaination

Expressions are used to bind application data to html. Expressions are written inside double braces like {{ expression}}. Expressions behave in same way as ng-bind directives. AngularJS application expressions are pure JavaScript expressions and outputs the data where they are used.

Answer : A

Explaination

Lowercase filter converts a text to lower case text. It is simply added to AngularJS expression to filter out the result.

Q 4 - angular.module is primarily used to create application module.

A - true

B - false

Answer : A

Explaination

angular.module is primarily used to create application module.

Q 5 - Model available in $rootScope is available to its all child scopes.

A - true

B - false

Answer : A

Explaination

Model available in $rootScope is available to its all child scopes.

Q 6 - Which components can be injected as a dependency in AngularJS?

A - value

B - factory

C - service

D - All of the above.

Answer : D

Explaination

All of the above can be injected as dependency.

Q 7 - constants are used to pass values at config phase.

A - true

B - false

Answer : A

Explaination

constants are used to pass values at config phase considering the fact that value cannot be used to be passed during config phase.

Q 8 - ng-model binds the values of AngularJS application data to HTML input controls.

A - true

B - false

Answer : A

Explaination

ng-model binds the values of AngularJS application data to HTML input controls.

Q 9 - uppercase filter is applied to an expression using pipe character

A - true

B - false

Answer : A

Explaination

uppercase filter is applied to an expression using pipe character.

Q 10 - Internationalization is a way to show locale specific information on a website.

A - false

B - true

Answer : B

Explaination

Internationalization is a way to show locale specific information on a website.


angularjs_questions_answers.htm

Advertisements