Aurelia MCQ Questions & Answers - Mobile Development
Aurelia MCQs : This section focuses on "Aurelia" in Mobile Development. These Multiple Choice Questions (MCQ) should be practiced to improve the Aurelia skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. Which of the following are true about Aurelia?
A. Aurelia is an open source UI framework
B. It is used for web and mobile app development
C. It is focused on web standards and follows simple conventions
D. All of the above
View Answer
Ans : D
Explanation: Aurelia is an open source UI framework which is used for web and mobile app development. This framework is focused on web standards and follows simple conventions.
2. Aurelia is directed towards web standards.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, It is directed towards web standards.
3. Which of the following plugin is used for cross-component communication?
A. attached()
B. eventAggregator()
C. detached()
D. unbind()
View Answer
Ans : B
Explanation: The eventAggregator() plugin is used for cross-component communication. This plugin is also used to handle subscribing and publishing to messages or channels inside your app.
4. Throttle is?
A. used to update the binding.
B. used to delete the binding
C. used to slow down the rate of updating input view-model.
D. used to increase the rate of updating input view-model.
View Answer
Ans : C
Explanation: Throttle: It is used to slow down the rate of updating input view-model.
5. Which of the following are Features of Aurelia?
A. Commercial Support
B. Extensible
C. Web Standards
D. All of the above
View Answer
Ans : D
Explanation: There are 5 Features of Aurelia : Components, Web Standards, Extensible, Commercial Support and License.
6. Which plugin is used for handling HTTP requests?
A. i18n()
B. dialog()
C. fetch()
D. validation()
View Answer
Ans : C
Explanation: fetch(): This plugin is used for handling HTTP requests. You can also use some other AJAX library.
7. How many types of bindings used in Aurelia?
A. 1
B. 2
C. 3
D. 4
View Answer
Ans : B
Explanation: There are two types of bindings used in Aurelia are: Simple Binding and Two-Way Binding
8. animator-velocity() is the standard plugin of Aurelia.
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: Yes, animator-velocity(): It is the standard plugin of Aurelia.
9. ___________ is useful concept where event handler is attached to one top level element instead of multiple elements on the DOM.
A. Event Handler
B. Even Delegation
C. Event Trigger
D. None of the above
View Answer
Ans : B
Explanation: Even delegation is useful concept where event handler is attached to one top level element instead of multiple elements on the DOM.
10. The default rate of Throttle is?
A. 50 ms
B. 100 ms
C. 150 ms
D. 200 ms
View Answer
Ans : D
Explanation: The default rate is 200 ms.
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