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

Answer : D

Explaination

ng-bind directive binds the AngularJS Application data to HTML tags. ng-bind updates the model created by ng-model directive to be displayed in the html tag whenever user input something in the control or updates the html control's data when model data is updated by controller.

Q 3 - AngularJS application expressions are pure JavaScript expressions.

A - true

B - false

Answer : A

Explaination

AngularJS application expressions are pure JavaScript expressions.

Answer : B

Explaination

filter filter is used to filter the array to a subset of it based on provided criteria. It is simply added to AngularJS expression to filter out the result.

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 - 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 - Services are singleton objects which are instantiated only once in app.

A - false

B - true

Answer : B

Explaination

Services are singleton objects which are instantiated only once in app.

Q 8 - AngularJS uses dependency injection and make use of separation of concerns.

A - false

B - true

C -

D -

Answer : B

Explaination

AngularJS uses dependency injection and make use of separation of concerns.

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

A - true

B - false

Answer : A

Explaination

currency filter is applied to an expression using pipe character.

Q 10 - novalidate with a form declaration disables any browser specific validation.

A - false

B - true

Answer : B

Explaination

We can use novalidate with a form declaration to disable any browser specific validation.

angularjs_questions_answers.htm
Advertisements