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

Q 3 - AngularJS application expressions are pure JavaScript expressions.

A - true

B - false

Answer : A

Explaination

AngularJS application expressions are pure JavaScript expressions.

Q 4 - angular.module is primarily used to create application module.

A - true

B - false

Answer : A

Explaination

angular.module is primarily used to create application module.

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.

Answer : D

Explaination

Services are JavaScript functions and are responsible to do specific tasks only. Each service is responsible for a specific task for example, $http is used to make ajax call to get the server data. $route is used to define the routing information and so on. Inbuilt services are always prefixed with $ symbol.

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 - AngularJS provides capability to create Single Page Application in a very clean and maintainable way.

A - true

B - false

Answer : A

Explaination

AngularJS provides capability to create Single Page Application in a very clean and maintainable way.

Q 9 - AngularJS uses two way data binding.

A - false

B - true

Answer : B

Explaination

AngularJS uses two way data binding.

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