- 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 AngularJS expressions?
A - Expressions are used to bind application data to html.
B - Expressions are written inside double braces like {{ expression}}.
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.
Q 3 - AngularJS expressions are written using.
A - double braces like {{ expression}}
B - single braces like {expression}
Answer : A
Explaination
AngularJS expressions are written inside double braces like {{ expression}}.
Q 4 - Which of the following is true about orderby filter?
A - orderby filter orders the array based on provided criteria.
B - orderby filter is used to filter the array to a subset of it based on provided criteria.
Answer : A
Explaination
orderby filter orders the array based on provided criteria. It is simply added to AngularJS expression to order the result.
Answer : A
Explaination
AngularJS needs data in JSON format to populate its model.
Q 6 - Which components can be injected as a dependency in AngularJS?
Answer : D
Explaination
All of the above can be injected as dependency.
Answer : A
Explaination
constants are used to pass values at config phase considering the fact that value cannot be used to be passed during config phase.
Answer : B
Explaination
With AngularJS, developer writes less code and gets more functionality.
Answer : B
Explaination
AngularJS uses two way data binding.
Q 10 - We need to incorporate corresponding js according to locale of the country to support Internationalization in AngularJS based application.
Answer : A
Explaination
AngularJS supports inbuilt internationalization for three types of filters currency, date and numbers. We only need to incorporate corresponding js according to locale of the country. By default it handles the locale of the browser. For example, to use Danish locale, use following script
<script src="https://code.angularjs.org/1.2.5/i18n/angular-locale_da-dk.js"></script>
