Top 150+ Solved Angular-JS MCQ Questions Answer

From 31 to 45 of 163

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

a. VMC

b. MVC

c. MCV

d. CVM

  • b. MVC

Q. Event binding can be defined . . . . . . . . .

a. by wrapping the event in (parenthesis)

b. by prefixing it with in

c. by wrapping the event in {curly brackets}

d. by prefixing it with on

  • a. by wrapping the event in (parenthesis)

Q. EventEmitter class acts both as an observer and observable.

a. True

b. False

c. none

d. all

  • a. True

Q. @Output() myEvent = new EventEmitter();

a. Declares an output property that fires events that you cannot subscribe to with an event binding.

b. Declares an output property that fires events that you can subscribe to with an event binding.

c. Declares an output property that overrides events that you can subscribe to with an event binding.

d. Declares an output property that subscribes events that you can subscribe to with an event binding.

  • d. Declares an output property that subscribes events that you can subscribe to with an event binding.

Q. Calling . . . . . . . . on the event prevents propagation.

a. stopEventPropagation

b. preventEventPropagation

c. stopPropagation

d. preventPropagation

  • c. stopPropagation
Subscribe Now

Get All Updates & News