![AngularJS Tutorial](/angularjs/images/angularjs-mini-logo.jpg)
- AngularJS Tutorial
- 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 Applications
- 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.
![Questions and Answers](/images/questions_and_answers.png)
Answer : B
Explaination
AngularJS code is unit testable.
Q 3 - What is controller in MVC?
A - It is a software Code that stores the data.
B - It is a software Code that renders the user interface.
C - It is a software Code that controls the interactions between the Model and View.
Answer : C
Explaination
It is a software Code that controls the interactions between the Model and View.
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
AngularJS needs data in JSON format to populate its model.
Answer : A
Explaination
Using service method, we define a service and then assign method to it.
Q 7 - On which of the following types of component can we create a custom directive?
Answer : D
Explaination
AngularJS provides support to create custom directives for following type of elements.
Element directives - Directive activates when a matching element is encountered.
Attribute - Directive activates when a matching attribute is encountered.
CSS - Directive activates when a matching css style is encountered.
Comment - Directive activates when a matching comment is encountered.
Q 8 - Templates can be a single file (like index.html) or multiple views in one page.
Answer : A
Explaination
Templates can be a single file (like index.html) or multiple views in one page using "partials".
Answer : A
Explaination
filter filter is applied to an expression using pipe character.
Q 10 - Internationalization is a way to show locale specific information on a website.
Answer : B
Explaination
Internationalization is a way to show locale specific information on a website.