- 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 - Mock Test
This section presents you various set of Mock Tests related to AngularJS Framework. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.
AngularJS Mock Test IV
Q 1 - Being JavaScript only framework, application written in AngularJS are not safe and secure.
Answer : A
Explaination
Being JavaScript only framework, application written in AngularJS are not safe and secure.
Answer : B
Explaination
ng-app directive defines and links an AngularJS application to HTML.
Q 3 - ng-model binds the values of AngularJS application data to HTML input controls.
Answer : A
Explaination
ng-model binds the values of AngularJS application data to HTML input controls.
Answer : A
Explaination
ng-bind binds the AngularJS Application data to HTML tags.
Answer : A
Explaination
No! AngularJS uses two way data binding.
Answer : B
Explaination
AngularJS uses two way data binding.
Q 7 - Each controller accepts $scope as a parameter which refers to the application/module that controller is to control.
Answer : A
Explaination
Each controller accepts $scope as a parameter which refers to the application/module that controller is to control.
Q 8 - 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
AngularJS Expressions are used to bind application data to html.
Q 10 - AngularJS Expressions are written inside double braces like {{ expression}}.
Answer : B
Explaination
AngularJS Expressions are written inside double braces like {{ expression}}.
Answer : A
Explaination
AngularJS expressions behave in same way as ng-bind directives.
Answer : A
Explaination
uppercase filter is applied to an expression using pipe character.
Answer : B
Explaination
lowercase filter is applied to an expression using pipe character.
Answer : A
Explaination
currency filter is applied to an expression using pipe character.
Answer : A
Explaination
filter filter is applied to an expression using pipe character.
Answer : A
Explaination
orderby filter is applied to an expression using pipe character.
Answer : A
Explaination
Q 18 - 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.
Answer : A
Explaination
In controllers, model data is accessed via $scope object.
Answer : A
Explaination
In AngularJS, Scope contains the model data.
Answer : B
Explaination
In controllers, model data is accessed via $scope object.
Answer : A
Explaination
Inbuilt services are always prefixed with $ symbol.
Q 23 - 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.
Q 24 - 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>
Answer : A
Explaination
AngularJS bootstraps itself during config phase.
Answer Sheet
Question Number | Answer Key |
---|---|
1 | A |
2 | B |
3 | A |
4 | A |
5 | A |
6 | B |
7 | A |
8 | A |
9 | A |
10 | B |
11 | A |
12 | A |
13 | B |
14 | A |
15 | A |
16 | A |
17 | A |
18 | B |
19 | A |
20 | A |
21 | B |
22 | A |
23 | B |
24 | A |
25 | A |
To Continue Learning Please Login
Login with Google