Search test library by skills or roles
⌘ K

Adaface Sample Salesforce Developer Questions

Here are some sample Salesforce Developer questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Medium

Components and Attributes
LWC
Solve
Review the following Salesforce Lightning web component- adafaceComponent:
 image
Here are two possible JS files for this component: (notice the missing this.setAttribute line in option II)
 image
Here are the possible generated html files: (Notice the missing inp attribute in option B)
 image
Pick the correct statements:

Medium

Modifying lists
Apex
Solve
Review the following Salesforce Apex code:
 image
What would the values of size1 and size2 be?

Medium

Subclasses
Apex
Solve
Review the following Apex code:
 image
Pick the correct statements:
            
            A: Reports.add(a) is legal because CustomReport is a subclass of Report class. CustomReport can be added to a list of Reports.
            
            B: Reports.add(a) is an illegal usage.
            
            C: CustomReport c = Reports.get(0) is legal because CustomReport is a subclass of Report class.
            
            D: CustomReport c = Reports.get(0) is illegal since the compiler does not know that the returning item is a CustomReport. CustomReport c = (CustomReport) Reports.get(0) is legal because casting tells the compiler what is being returned.
🧐 Question🔧 Skill

Medium

Components and Attributes
LWC

3 mins

Salesforce Developer
Solve

Medium

Modifying lists
Apex

2 mins

Salesforce Developer
Solve

Medium

Subclasses
Apex

2 mins

Salesforce Developer
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Components and Attributes
LWC
Salesforce Developer
Medium3 mins
Solve
Modifying lists
Apex
Salesforce Developer
Medium2 mins
Solve
Subclasses
Apex
Salesforce Developer
Medium2 mins
Solve

Trusted by recruitment teams in enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
customers across world
Join 1500+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
ada
Ada
● Online
Previous
Score: NA
Next
✖️