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 : A

Explaination

Deep linking allows you to encode the state of application in the URL so that it can be bookmarked. The application can then be restored from the URL to the same state.

Answer : A

Explaination

AngularJS expressions are written inside double braces like {{ expression}}.

Answer : A

Explaination

$dirty flag states that value in the form has been changed.

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 - service method is used to create a service whose purpose is to do some defined task.

A - true

B - false

Answer : A

Explaination

service method is used to create a service whose purpose is to do some defined task.

Q 7 - Is AngularJS extensible?

A - false

B - true

Answer : B

Explaination

Yes! In AngularJS we can create custom directive to extend AngularJS existing functionalities.

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 uses two way data binding.

A - false

B - true

Answer : B

Explaination

AngularJS uses two way data binding.

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