AngularJS Modules MCQ


AngularJS Modules Multiple Choice Questions with answers | AngularJS Modules Objective type questions with answers

1.A module is a collection of,

  1. providers
  2. services
  3. directives
  4. All of these

Ans : 4. All of these

2. _______used to initialize an application with controller.

  1. Application Module.
  2. Controller Module
  3. Base Module
  4. NgModule

Ans : 1. Application Module

3.______used to define the controller.

  1. Application Module.
  2. Controller Module
  3. Base Module
  4. NgModule

Ans : 2. Controller Module

4._____are the closest thing in AngularJS to the main method.

  1. Run blocks
  2. Asynchronous Loading
  3. Creation versus Retrieval
  4. config block

Ans : 1. Run blocks


5._______is the code which needs to run to kickstart the application in AngularJS

  1. Run blocks
  2. Asynchronous Loading
  3. Creation versus Retrieval
  4. config block

Ans : 1. Run blocks

6.______is a way of instantiating a subset of an application to apply stimulus to it.

  1. Run blocks
  2. Asynchronous Loading
  3. Creation versus Retrieval
  4. Unit Test

Ans : 4.Unit Test

7.Each module can only be loaded_____ in AngularJS.

  1. twice per injector
  2. once per injector
  3. Thrice per injector
  4. None of these

Ans : 2.once per injector

8. The ______ property is where we define the root component of our module in AngularJS.

  1. HTML
  2. CSS
  3. bootstrap
  4. tailwind

Ans. : 3.Bootstrap


Leave a Reply

Your email address will not be published. Required fields are marked *