Infosys Certified Polymer JS Professional
Practice with real exam-pattern questions for Infosys Certified Polymer JS Professional. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.
Full question bank for this exam + 1,357+ others. Cancel anytime.
Join Premium10 Infosys Certified Polymer JS Professional practice questions with answers
Real Lex exam-pattern multiple-choice questions for the Infosys Certified Polymer JS Professional certification. Each question includes the correct answer. The full question bank is available to Premium members.
- Question 1
Which of the following is true regarding Shadow DOM?
- ✓HTML elements of parent template become part of shadow domCorrect
- BIt does not allow markup and styling to leak into template
- CStyles from parent template can be overridden
- DThe element to which it is attached is known as host
- Question 2
Which of the following correctly describes HTML Template used in Polymer?
- ✓Reuseable HTML syntax in any HTML documentCorrect
- BData that is not rendered when the page loads but can instantiated on runtime
- CEncapsulation of syntax to prevent markup of parent getting attributed to it
- DNone of the above
- Question 3
Which of the following is valid custom element name?
- ✓Custom.tagCorrect
- BcustomTag2
- Ccustom-tag3
- D2custom-Tag
- Question 4
Which of the below is a false statement for PolymerJS?
- ✓It is a Javascript libraryCorrect
- BIt does not provide Polymer command line interface
- CIt provides the polyfills (web component specifications) for creating our own customized and reusable elements.
- DIt provides both one-way and two-way data binding.
- Question 5
Which is the erroneous line of code in the below code snippet?
1 export class ResultTemplate extends PolymerElement {
2 static get template() {
3 return html 'hi';
4 }
5 static get properties() {
6 return {
7 prop1: {
8 type: String,
9 value: 'mypolymer-app'
10 } };
11 } }
- ✓line 1Correct
- Bline 3
- Cline 5
- Dnone of the above
- Question 6
Which is the erroneous line of code in the below code snippet?
1. export class Login extends PolymerElement {
2. static get template () {
3. return html`
4. //html code
5. `;
6. }
7. static get properties () {
8. return {
9. prop1: {
10. type: String,
11. value: '10'
12. }};}}
13. window.customElements.define('my-login', Login);
- ✓line 1Correct
- Bline 10
- Cline 11
- Dno error
- Question 7
What will be the output of the below code in browser?
base-class.js
export class BaseClass extends PolymerElement { static get template() { return html `This content has been inherited from BaseClass.`; } } customElements.define('base-class', BaseClass);child-class.js
import {BaseClass} from './base-class.js' class ChildClass extends BaseClass { static get template() { return false; } } customElements.define('child-class', ChildClass);index.html
<html lang="en"> <head> <script type="module" src="child-class.js"></script> </head> <body> <child-class></child-class> </body> </html>
- ✓This content has been inherited from BaseClass.Correct
- BNo output in the browser
- CError in the console
- Question 8
Select the correct syntax for line 1 in the following code to create a custom element:
export class MyPolymerElement extends PolymerElement { static get is (){return 'my-polymer-element'} ... } ----------------- Line 1 ------------------------ ✓customElements.define( MyPolymerElement.is , MyPolymerElement );Correct
- BcustomElements.define( ‘my-polymer-element’ , MyPolymerElement );
- CcustomElements.define( my-polymer-element.is , MyPolymerElement );
- DcustomElements.define( MyPolymerElement.is() , MyPolymerElement );
- Question 9
Which type of the value we can assign for the property in PolymerJS?
- ✓booleanCorrect
- Bfunction
- Cstring
- DAll of the above
- Question 10
Which is not the key of polymer element property?
- ✓typesCorrect
- Bcomputed
- CreadOnly
- Dnotify
More in UI
Pay once. Clear every cert this year.
One subscription, full Telegram channel access, every PDF posted during your membership.
- Full access to all 1,357+ certifications
- Monthly updated question banks
- Telegram private channel access
- Cancel anytime
- Everything in Monthly
- Save ₹2,100 vs monthly billing
- Priority answer key requests
- Best for increasing DQ score fast
- Everything in Quarterly
- Lifetime channel access — no renewals
- All future certifications included
- Priority response from admin team
Common questions, straight answers.
A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.
Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.
We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.
Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.
Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.