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.

Q 4 - ng-click directive represents a AngularJS click event.

A - true

B - false

Answer : A

Explaination

ng-click directive represents a AngularJS click event.

Q 5 - $http service is used to make an Ajax call to server.

A - false

B - true

Answer : B

Explaination

AngularJS provides $http control which works as a service to make ajax call to read data from the server.

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

A - true

B - false

Answer : A

Explaination

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

Q 7 - Custom directives are used in AngularJS to extend the functionality of HTML.

A - true

B - false

Answer : A

Explaination

Custom directives are used in AngularJS to extend the functionality of HTML.

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