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 - Is AngularJS code unit testable?

A - false

B - true

Answer : B

Explaination

AngularJS code is unit testable.

Answer : A

Explaination

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

Answer : A

Explaination

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

Q 5 - Model available in $rootScope can be overridden by its all child scopes.

A - true

B - false

Answer : A

Explaination

Model available in $rootScope can be overridden by its all child scopes.

Q 6 - Using factory method, we first define a factory and then assign method to it.

A - false

B - true

Answer : B

Explaination

Using factory method, we first define a factory and then assign method to it.

Q 7 - Filters select a subset of items from an array and return a new array.

A - true

B - false

Answer : A

Explaination

Filters select a subset of items from an array and return a new array.

Q 8 - ng-bind binds the AngularJS Application data to HTML tags.

A - true

B - false

Answer : A

Explaination

ng-bind binds the AngularJS Application data to HTML tags.

Q 9 - ng-init directive can be used to put values to the variables to be used in the application.

A - true

B - false

Answer : A

Explaination

ng-init directive can be used to put values to the variables to be used in the application.

Q 10 - We can use $dirty and $invalid flags to do the form validations.

A - true

B - false

Answer : A

Explaination

angularjs_questions_answers.htm
Advertisements