![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)
Q 2 - Which of the following is true about ng-app directive?
A - ng-app directive defines and links an AngularJS application to HTML.
B - ng-app directive indicates the start of the application.
Answer : C
Explaination
ng-app directive defines and links an AngularJS application to HTML. It also indicate the start of the application.
Q 3 - What is MVC?
A - MVC is name of an algorithm.
B - MVC is a software design pattern for developing web applications.
C - MVC is a software technique to optimize web application performance.
Answer : B
Explaination
Model View Controller or MVC as it is popularly called, is a software design pattern for developing web applications.
Answer : A
Explaination
ng-click directive represents a AngularJS click event.
Answer : A
Explaination
Model available in $rootScope is available to its all child scopes.
Q 6 - Which of the following is true about AngularJS service?
A - Services are JavaScript functions.
B - Services are responsible to do specific tasks only
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.
Answer : A
Explaination
Custom directives are defined using "directive" function.
Answer : B
Explaination
ng-app directive defines and links an AngularJS application to HTML.
Q 9 - ng-init directive can be used to put values to the variables to be used in the application.
Answer : A
Explaination
ng-init directive can be used to put values to the variables to be used in the application.
Answer : A
Explaination
Inbuilt services are always prefixed with $ symbol.
To Continue Learning Please Login