- AngularJS - Home
- AngularJS - Overview
- AngularJS - Environment Setup
- AngularJS - MVC Architecture
- AngularJS - First Application
- AngularJS - Directives
- AngularJS - Expressions
- AngularJS - Controllers
- AngularJS - Filters
- AngularJS - Tables
- AngularJS - HTML DOM
- AngularJS - Modules
- AngularJS - Forms
- AngularJS - Includes
- AngularJS - AJAX
- AngularJS - Views
- AngularJS - Scopes
- AngularJS - Services
- AngularJS - Dependency Injection
- AngularJS - Custom Directives
- AngularJS - Internationalization
- AngularJS - ToDo Application
- AngularJS - Notepad Application
- AngularJS - Bootstrap Application
- AngularJS - Login Application
- AngularJS - Upload File
- AngularJS - In-line Application
- AngularJS - Nav Menu
- AngularJS - Switch Menu
- AngularJS - Order Form
- AngularJS - Search Tab
- AngularJS - Drag Application
- AngularJS - Cart Application
- AngularJS - Translate Application
- AngularJS - Chart Application
- AngularJS - Maps Application
- AngularJS - Share Application
- AngularJS - Weather Application
- AngularJS - Timer Application
- AngularJS - Leaflet Application
- AngularJS - Lastfm Application
- AngularJS Useful Resources
- AngularJS - Questions and Answers
- AngularJS - Quick Guide
- AngularJS - Useful Resources
- AngularJS - Discussion
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.
Q 2 - Which of the following is true about ng-bind directive?
A - ng-bind directive binds the AngularJS Application data to HTML tags.
B - ng-bind updates the model created by ng-model directive to be displayed in the html tag.
C - ng-bind updates html control data when controller changes the model.
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.
Answer : A
Explaination
AngularJS application expressions are pure JavaScript expressions.
Q 4 - Which of the following is true about filter filter?
A - filter filter is a function which takes text as input.
B - filter filter is used to filter the array to a subset of it based on provided criteria.
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.
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.
Answer : A
Explaination
factory method is used to define a factory which can later be used to create services as and when required.
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.
Answer : B
Explaination
AngularJS uses dependency injection and make use of separation of concerns.
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.
Answer : B
Explaination
We can use novalidate with a form declaration to disable any browser specific validation.
