• AngularJS Video Tutorials

AngularJS Online Quiz


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

Q 2 - Do AngularJS provide reusable components?

A - false

B - true

Answer : B

Explaination

AngularJS provides reusable components.

Q 3 - AngularJS expressions behave in same way as ng-bind directives.

A - false

B - true

Answer : B

Explaination

AngularJS expressions behave in same way as ng-bind directives.

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.

Answer : D

Explaination

$routeProvider is the key service which set the configuration of urls, maps them with the corresponding html page or ng-template, and attaches a controller with the same.

Q 6 - factory method is used to define a factory which can later be used to create services as and when required.

A - true

B - false

Answer : A

Explaination

factory method is used to define a factory which can later be used to create services as and when required.

Q 7 - AngularJS supports inbuilt internationalization for three types of filters currency, date and numbers.

A - true

B - false

Answer : A

Explaination

AngularJS supports inbuilt internationalization for three types of filters currency, date and numbers.

Q 8 - With AngularJS, developer writes less code and gets more functionality.

A - false

B - true

Answer : B

Explaination

With AngularJS, developer writes less code and gets more functionality.

Q 9 - AngularJS expressions behave in same way as ng-bind directives.

A - true

B - false

Answer : A

Explaination

AngularJS expressions behave in same way as ng-bind directives.

Q 10 - We need to incorporate corresponding js according to locale of the country to support Internationalization in AngularJS based application.

A - true

B - false

Answer : A

Explaination

AngularJS supports inbuilt internationalization for three types of filters currency, date and numbers. We only need to incorporate corresponding js according to locale of the country. By default it handles the locale of the browser. For example, to use Danish locale, use following script

<script src="https://code.angularjs.org/1.2.5/i18n/angular-locale_da-dk.js"></script> 
angularjs_questions_answers.htm
Advertisements