Development - Angular Js Test

Test Instructions :

1. The Test is 1hr duration.
2. The Test Paper consists of 30 questions. The maximum marks are 30.
3. All the questions are multiple choice question type with three options for each question.
4. Out of the three options given for each question, only one option is the correct answer.
5. Each question is allotted 1 mark for each correct response.
6. 0.25 will be deducted for incorrect response of each question.
Start Test

   Time Left : 00 : 30    : 00

MVC is composed of three components.

  

  

  

  

Which of the following is true about ng-model directive?

  

  

  

  

AngularJS bindings are . . . . . , meaning that when the value associated with the binding is changed (in the data model), the HTML element will be updated.

  

  

  

  

AngularJS directives can be written in HTML element as

  

  

  

  

The view is made with . . . . . . . 

  

  

  

  

If the data obtained from the model contains HTML elements, these are escaped before being inserted into the HTML template. The escaping means that the HTML is displayed as text, and not as HTML. This is done to prevent . . . . 

  

  

  

  

AngularJS expressions behave in same way as ng-bind directives.

  

  

When adding . . . . . and . . . . . . to a view, we are essentially instructing Angular to create data bindings that keep the model and view in sync.

  

  

  

  

What is service in AngularJS?

  

  

  

  

AngularJS never regenerates the HTML again.

  

  

In AngularJS, Scope contains the model data.

  

  

Which of the following is true about provider?

  

  

  

  

AngularJS can show or hide HTML depending on the state of data in the model. You do so using a set of AngularJS directives such as . . . . . . which are created specifically for that purpose. 

  

  

  

  

First the HTML document is loaded into the browser, and evaluated by the browser. At this time the AngularJS . . . . . . .

  

  

  

  

Which of the following is validation css class in AngularJS

  

  

  

  

AngularJS filters ___________.

  

  

  

  

Custom directives are used in AngularJS to extend the functionality of HTML.

  

  

currency filter is applied to an expression using pipe character.

  

  

Which of the following is true about currency filter?

  

  

  

  

You can use . . . . . class to send the result back in JSON format in MVC. 

  

  

  

  

Scope act as glue between controller and view.

  

  

Any change to the . . . . and . . . . . properties affects these bindings and consequently the user interface content.

  

  

  

  

What is Model in MVC?

  

  

  

  

For controller action method . . . . . returns nothing as the result. 

  

  

  

  

Which of the followings are validation directives?

  

  

  

  

The MVC architecture does not creates the benefits of . . . . . . . of the system. 

  

  

  

  

Which components can be injected as a dependency in AngularJS?

  

  

  

  

The . . . . . . directive is one of the most fundamental directives in AngujarJS. The . . . . . directive inserts the result of an expression into the HTML template.

  

  

  

  

AngularJS expressions are written using.

  

  

  

  

The MVC architecture creates the benefits of . . . . . . . of the system. 

  

  

  

  

$http service is used to make an Ajax call to server.

  

  

Which of the following service is used to retrieve or submit data to the remote server?

  

  

  

  

Which of the following statements are true?

  

  

  

  

The . . . . . directive is used if you want to add or remove HTML elements from the DOM based on data in the model.

  

  

  

  

The ng-model directive is used for __________.

  

  

  

  

There is a controller which takes single parameter. We call it . . . . . parameter.

  

  

  

  

In MVC . . . . . . helps you to execute logic while MVC action is executed or its executing. 

  

  

  

  

The drawback of inline bindings is that AngularJS will not find and process every set of {{ and }} characters in your content.

  

  

Which of the following statements are true?

  

  

  

  

Is AngularJS code unit testable?

  

  

. . . . . helps you to maintain data when you move from controller to view. 

  

  

  

  

Which of the following directive allows us to use form?

  

  

  

  

You can create bindings only for the data values that are added to the . . . . . object by the controller.

  

  

  

  

In MVC, the model is responsible for managing the data of the application. 

  

  

Which of the following is true about orderby filter?

  

  

  

  

In two-way binding, changes done to a model are reflected in the view, but the reverse also holds true sometimes.

  

  

MVC framework is defined in . . . . . Assembly.

  

  

  

  

The ng-change directive must be used with ng-model directives.

  

  

  

  

You cannot use AngularJS directives to tell AnguluarJS how to mix the data into the HTML template.

  

  

Model available in $rootScope can be overridden by its all child scopes.

  

  

Which of the following module is required for routing?

  

  

  

  

The ng-bind directive binds ____________.

  

  

  

  

What is $scope?

  

  

  

  

AngularJS supports . . . . . kind(s) of data binding.

  

  

  

  

AngularJS is based on the . . . . . . pattern.

  

  

  

  

We need to tell AngularJS what part of our HTML page contains the AngularJS app. You do so by adding the . . . . attribute to the root HTML element of the AngularJS app.

  

  

  

  

AngularJS applications are a mix of . . . . . .

  

  

  

  

The ng-bind directive . . . . . . allow you to hide your template markup when the HTML content is shown to the user before it is processed by AngularJS.

  

  

Which of the following is a valid AngularJS expression?

  

  

  

  

You can use the . . . . . . directive, in order to bind the innerHTML of the element to the specified model property.

  

  

  

  

In controllers, model data is accessed via $scope object.

  

  

ng-app directive defines and links an AngularJS application to HTML.

  

  

AngularJS module can be created using ________.

  

  

  

  

Which of the following provider can be used to configure routes?

  

  

  

  

Which of the following directive bootstraps AngularJS framework?

  

  

  

  

AngularJS directives are used in ________.

  

  

  

  

Which of the following service is used to handle uncaught exceptions in AngularJS?

  

  

  

  

currency filter is applied to an expression using pipe character.

  

  

Controller directly refers the view or manipulates it.

  

  

ng-bind binds the AngularJS Application data to HTML tags.

  

  

Note:
  • Click the 'Submit Test' button given in the bottom of this page to Submit your answers.
  • Test will be submitted automatically if the time expired.
  • Don't refresh the page.