02nd
Jan
AngularJs MCQ

AngularJs MCQ

  • Admin
  • 02nd Jan, 2021
  • 374 Followers

AngularJS MCQ Quiz

1) Which of the following directive binds the values of application data to HTML input controls in angular JS?

  • A. ng-app
  • B. ng-model
  • C. ng-bind
  • D. None of the above

2) Which of the following function is used to create a module?

  • A. add.module()
  • B. create.module()
  • C. angular.module()
  • D. None of the Above

3) Which of the following is a priority level of directives?Which of the following is a priority level of directives?

  • A. Level 1
  • B. Level 2
  • C. Level 3
  • D. All are Correct

4) Which of the following sign is used as a prefix for the built-in objects in AngularJS?

  • A. #
  • B. @
  • C. $
  • D. %

5) Which of the following is data binding in angular JS?

  • A. Synchronization between controller part and view part
  • B. Synchronization between model part and controller part
  • C. Synchronization between model part and view part
  • D. None of the Above
Download Free : AngularJs MCQ PDF

6) Which of the following service is used to communicate with a remote server?

  • A. $animate
  • B. $timeout
  • C. $http
  • D. None of the Above

7) Which of the following is true about ng-show directive?

  • A. Ng-show directive can hide a given control.
  • B. Ng-show directive can show a given control.
  • C. Both A & B
  • D. None of the Above

8) We can store the controller in an external file.

  • A. Yes
  • B. No

9) Is AngularJS entirely based on HTML and JavaScript?

  • A. No
  • B. Yes

10) A controller that takes a single parameter called ........

  • A. $control
  • B. $param
  • C. $scont
  • D. $scope

11) Which of the following angular function is used to manually start up an angular application?

  • A. angular.copy
  • B. angular.element
  • C. angular.bootstrap
  • D. None of the Above

12) What is controller in MVC?

  • A. A software Code that stores the data.
  • B. A software Code that renders the user interface.
  • C. A software Code that controls the interactions between the Model and View.
  • D. None of the Above

13) An application written in AngularJS is cross-browser compliant.

  • A. True
  • B. False

14) Is service method used to create a service whose purpose is to do some defined task.?

  • A. Yes
  • B. No

15) How to combine filters with expression?

  • A. Using Dot {{expression. pipe}}
  • B. Using Comma {{expression, pipe}}
  • C. Using Slash {{expression / pipe}}
  • D. Using PIpe {{expression | pipe}}

16) Which of the following directive is used to initialize an angular app?

  • A. ng-app
  • B. ng-model
  • C. ng-controller
  • D. None of the Above

17) Which of the following service converts object to the string?

  • A. $htpp
  • B. $interval
  • C. $httpParamSerializer
  • D. None of the Above

18) Does ng-model bind the values of AngularJS application data to HTML input controls?

  • A. Yes
  • B. No

19) An angular JS application can have ....... $RootScope.

  • A. 1
  • B. 2
  • C. 3
  • D. 4

20) Does AngularJS bootstrap itself during config phase?

  • A. Yes
  • B. No

21) Does ng-bind bind the Application data to HTML tags in angular JS?

  • A. Yes
  • B. No

22) Which of the following option used as a filter in Angular Js?

  • A. Date
  • B. Currency
  • C. Uppercase
  • D. None of the Above

23) Angular JS belongs to the ..........

  • A. Google
  • B. Facebook
  • C. Microsoft
  • D. IBM

24) AngularJS applications are a mixture of ...........

  • A. HTML and PHP
  • B. HTML and JavaScript
  • C. HTML and CrossScript
  • D. HTML and AngularScript

25) Which of the following angular function is used to manually start up an angular application?

  • A. angular.copy
  • B. angular.element
  • C. angular.bootstrap
  • D. None of the Above

26) Service and factory are singletons.

  • A. True
  • B. False

27) AngularJS module can be created using angular.module();.

  • A. Yes
  • B. No

28) Services are singleton objects which are instantiated only once in app.

  • A. True
  • B. False

29) Which of the following directive is used to hide a given control?

  • A. ng- cover
  • B. ng- hide
  • C. ng- disbaled
  • D. None of the Above

30) Which of the following directive is used to start an angularJS application?

  • A. ng-start
  • B. ng-begin
  • C. ng-app
  • D. None of the Above

31) Which of the following is true about $error?

  • A. $error states the exact error.
  • B. $error states that form has invalid data.
  • C. $error states the invalid error.
  • D. None of the Above

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Dec
Laravel MCQ
01st
Dec
React JS MCQ
01st
Jul
Node js MCQ
01st
Jul
Angular 2 MCQ
01st
Jul
JSON MCQ
01st
Jan
PHP MCQ