• About

Salesforce Everywhere

~ All about Salesforce

Salesforce Everywhere

Tag Archives: Salesforce Dev questions

SFDC Developer interview questions

26 Sunday Apr 2015

Posted by Mani in Salesforce Configuration, Salesforce interview questions

≈ 2 Comments

Tags

Salesforce Dev questions, Salesforce Developer interview questions, SFDC developer interview questions, SFDC interview questions

Recently, I took the interview with a Consulting company and it was a pure technical round of interview. I thought of sharing the questions and please find them below:

1. What is Cloud computing and salesforce?
2. 3 Best practices of SOQL
3. Whats the difference between 15 and 18 digit Id?
4.  What is without sharing option and why is it given by SF?
5. Purpose of static resource
6. Suppose there is a field called priority in accounts and if its greater than 5, we need to update associated contact records. how will you do it?
7. Following the previous question, what will happen if you write the trigger on before update?
8. What is Cross object workflow and its limitations?
9. Can you check null pointer exception in try catch block?
10. Can you check DML governor limits in try catch block?
11. Is apex always run in system mode?
12. What are standard controllers, controller extensions and custom controllers?
13. What’s the issue in the below code :

for (Account a : trigger.new) {

for (Contact c : [select id,otherphone from contact where accountid =:a.id]) {

c.OtherPhone= a.Phone; 

update c;

}

}

14.  Given the following Force.com page markup and assuming the controller and each extension include an action method named “go,” which class method will be invoked when the user clicks on the commandButton? 

Screen Shot 2015-04-26 at 10.06.29 pm

15. A Force.com page has a command button that directly calls the doSomething() method shown below, where the MyCustomException is a class that extends the System.Exception class

 public void doSomething(){
} throw new MyCustomException(‘An error message.’);
Where would the exception be displayed to the user?

16. How do you make a Web service callout(outbound)?
17. How do you call a method in the class asynchronously in SFDC?
18. What is @isTest(SeeAllData=true)?
19. How do you make sure that your test class covers +ve and -ve scenarios?
20. Whats the advantage of using inline CSS?
21. If there is a trigger on account object and if you insert data through data loader lets say 200 records and on 200th record, the trigger fails, will it roll back or will it commit 199 records?
22. How do you get the contact name from accounts when you write SOQL?
23. Force.com has already provided functionalities OOB, so when you get the requirement, how do you approach it?
24. W
hat is SaaS, PaaS and IaaS?
26. What is the action attribute in command button signifies in VF page?
27. What is batch apex, apex scheduling?

Advertisements

Blog Stats

  • 54,395 hits

Archives

  • May 2018 (1)
  • April 2018 (4)
  • December 2017 (1)
  • October 2017 (1)
  • July 2017 (3)
  • June 2017 (1)
  • April 2017 (1)
  • March 2017 (1)
  • June 2016 (1)
  • May 2016 (6)
  • April 2016 (1)
  • March 2016 (2)
  • February 2016 (2)
  • January 2016 (1)
  • December 2015 (3)
  • November 2015 (2)
  • October 2015 (4)
  • September 2015 (10)
  • August 2015 (6)
  • April 2015 (2)
  • March 2015 (3)
  • February 2015 (1)

Recent Posts: Salesforce Everywhere

Duration of the events in the Salesforce calendar can’t go beyond 14 days

Tip # 25: Error in creating Lookup relationship

Salesforce Certified Platform Developer I – Spring ’18 Release Exam

Salesforce Certified Platform App Builder – Spring ’18 Release Exam

Salesforce Certified Administrator – Spring ’18 Release Exam

Developer links

  • Salesforce Developer website
  • ForcePrepare
  • Salesforce Success Community

Connect with me

  • View @manibalan_s’s profile on Twitter
  • LinkedIn
Advertisements

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 12 other followers

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy