Angular Js Multiple Choice Question

Question 1. How many $RootScope an AngularJS application can have ?

  • A

    Two

  • B

    Infinity

  • C

    One

  • D

    Zero

Answer:
C. One

Question 2.Which of the following components can be injected as a dependency in AngularJS ?

  • A

    Factory

  • B

    Value

  • C

    Constant

  • D

    Application Module

Answer:
D. Application Module

Question 3.What is deep linking in AngularJS ?

  • A

    Deep linking refers to linking various views to the main page.

  • B

    Deep linking is an SEO-based technique.

  • C

    Deep linking allows you to encode the state of an application in the URL so that it can be bookmarked. The application can then be restored from the URL to the same state.

  • D

    All of the Above

Answer:
C. Deep linking allows you to encode the state of an application in the URL so that it can be bookmarked. The application can then be restored from the URL to the same state.

Question 4. AngularJS applications are a mix of which of the following technologies ?

  • A

    HTML and JavaScript

  • B

    HTML and CSS

  • C

    PHP and JavaScript

  • D

    None of the Above

Answer:
A. HTML and JavaScript

Question 5. Which of the following template can be used to write AngularJS directives ?

  • A

    Attribute

  • B

    Tag

  • C

    Class name

  • D

    All of the Above

Answer:
D. All of the Above

Question 6. AngularJS is perfect for ?

  • A

    Single Page Applications

  • B

    Mobile Web Applications

  • C

    Desktop Applications

  • D

    Cloud Applications

Answer:
A. Single Page Applications

Question 7. Do AngularJS provide reusable components ?

  • A

    Yes

  • B

    No

Answer:
A. Yes

Question 8. Which of the following directive is used to bind the application data to the HTML view in AngularJS ?

  • A

    ng-app directive

  • B

    ng-model directive

  • C

    ng-bind directive

  • D

    ng-repeat directive

Answer:
C. ng-bind directive

Question 9. Which of the following statement is true about the lowercase filter ?

  • A

    The lowercase filter is a function that takes text as input.

  • B

    The lowercase filter is used to convert a text to lower case text.

  • C

    Both of the above.

  • D

    None of the above.

Answer:
B. The lowercase filter is used to convert a text to lower case text.

Question 10.Which of the following is an advantage of AngularJS ?

  • A

    AngularJS provides capability to create Single Page Application in a very clean and maintainable way.

  • B

    AngularJS provides data binding capability to HTML thus giving user a rich and responsive experience

  • C

    AngularJS code is unit testable.

  • D

    All of the above.

Answer:
D. All of the above.

Related Multiple Choice Question

👉 Artificial Intelligence MCQ👉 Blockchain MCQ👉 Computer Networking MCQ👉 DBMS MCQ👉 Python MCQ