• AngularJS Video Tutorials

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

Explaination

Uppercase filter converts a text to upper 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.

Answer : B

Explaination

$invalid flag states that form has invalid data.

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 - Custom directives are defined using "directive" function.

A - true

B - false

Answer : A

Explaination

Custom directives are defined using "directive" function.

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 - lowercase filter is applied to an expression using pipe character.

A - false

B - true

Answer : B

Explaination

lowercase filter is applied to an expression using pipe character.

Q 10 - orderby filter is applied to an expression using pipe character.

A - true

B - false

Answer : A

Explaination

orderby filter is applied to an expression using pipe character.

angularjs_questions_answers.htm
Advertisements