Aurelia MCQ Questions - Mobile Development
11. ____________ binding is automatically set when we bind to input fields.
A. Simple
B. Two way
C. Both A and B
D. None of the above
View Answer
Ans : C
Explanation: Two way Binding : The beauty of Aurelia is in its simplicity. The two-way data binding is automatically set when we bind to input fields.
12. Aurelia is written using?
A. Java
B. Javascript
C. Android
D. ECMAScript
View Answer
Ans : D
Explanation: It is written using ECMAScript 2016. Using Aurelia, we can build applications using modules, classes, decorators etc.
13. i18n() Plugin is used for internalization and localization.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, i18n() Plugin is used for internalization and localization.
14. Aurelia event aggregator has ___________ methods.
A. 1
B. 2
C. 3
D. 4
View Answer
Ans : C
Explanation: Aurelia event aggregator has three methods : publish, subscribe and dispose.
15. Which library is used to convert the default date value to some specific format?
A. converter
B. momentJS
C. date
D. describer
View Answer
Ans : B
Explanation: When we want to convert the default date value to some specific format, we can use momentJS library.
16. Which method will fire off events and can be used by multiple subscribers?
A. publish
B. subscribe
C. dispose
D. decompose
View Answer
Ans : A
Explanation: The publish method will fire off events and can be used by multiple subscribers.
17. Virtualization is useful library for handling only small performance heavy UI tasks.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : B
Explanation: Virtualization is useful library for handling large performance heavy UI tasks.
18. _____ is the most efficient behavior performance wise. You should always use it when you know that data should be bound only once.
A. Binding
B. Debounce
C. Throttle
D. oneTime
View Answer
Ans : D
Explanation: oneTime is the most efficient behavior performance wise. You should always use it when you know that data should be bound only once.
19. Which method used to detach the subscribers?
A. detach
B. subscribe
C. dispose
D. decompose
View Answer
Ans : C
Explanation: we can use the dispose method to detach the subscribers.
20. animatorCSS() plugin offers a way of handling CSS animations?
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: Yes, animatorCSS() plugin offers a way of handling CSS animations.
Discussion