Polymer JS MCQ Questions And Answers
PolymerJS MCQ : This section focuses on "Basics" of Polymer JS. These Multiple Choice Questions (MCQ) should be practiced to improve the PolymerJS skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. Polymer.js is a JavaScript library created by?
A. Facebook
B. Google
C. IBM
D. Oracle
View Answer
Ans : B
Explanation: Polymer.js is a JavaScript library created by Google that allows reusing the HTML elements for building applications with components.
2. PolymerJs initially released on?
A. May 20, 2015.
B. Jun 27, 2015.
C. Mar 27, 2015.
D. May 27, 2015.
View Answer
Ans : D
Explanation: PolymerJs was initially released on May 27, 2015. The stable release is 1.7.0 and it was released on September 29, 2016.
3. Which of the folllowing features of polymerJS?
A. It is a JavaScript library built on top of the web standards APIs
B. It provides the polyfills (web component specifications)
C. It uses Google material design for the development of hybrid mobile application.
D. All of the above
View Answer
Ans : D
Explanation: All of the statement are Features of Polymer.js
4. Which elements are built for e-commerce-specific use cases?
A. gold elements
B. neon element
C. platinum elements
D. molecules elements
View Answer
Ans : A
Explanation: The gold elements are built for e-commerce-specific use cases.
5. These are the basic building blocks for creating an application.
A. app elements
B. iron elements
C. paper elements
D. silver elements
View Answer
Ans : B
Explanation: iron elements : These are the basic building blocks for creating an application.
6. Which property of DOM used for building components?
A. Shadow components
B. Styling
C. Shadow DOM
D. shadow tree
View Answer
Ans : C
Explanation: Shadow DOM is a new property of DOM used for building components.
7. The fallback content can be displayed when there are __________ allocated to the slot.
A. one nodes
B. two nodes
C. three nodes
D. no nodes
View Answer
Ans : D
Explanation: The fallback content can be displayed when there are no nodes allocated to the slot.
8. Data binding can be used to connect the property or an attribute of an element from the host element in its local DOM.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Data binding can be used to connect the property or an attribute of an element from the host element in its local DOM.
9. The annotated event listeners are used by Polymer, which defines the event listeners as ________ of DOM template.
A. large chunks
B. medium chunks
C. small chunks
D. All of the above
View Answer
Ans : C
Explanation: The annotated event listeners are used by Polymer, which defines the event listeners as small chunks of DOM template and can be added to DOM children using onevent annotations in the template.
10. It specifies the occurrence of up and down actions.
A. up
B. down
C. tap
D. track
View Answer
Ans : D
Explanation: track : It specifies the occurrence of up and down actions
Discussion