Salesforce Certified Platform Developer I - Apex
ACTUAL EXAM 2 LATEST VERSIONS COMPLETE
QUESTIONS AND CORRECT DETAILED
ANSWERS(VERIFIED ANSWERS)|AGRADE
Terms in this set (299)
1.) Traditional Programming Languages are fully
flexible, and allow you to tell the system to do just
about anything. Apex is governed, and can only do
what the system allows.
Describe differences 2.) Apex is case-insensitive
between Apex and 3.) Apex is on-demand, and is compiled and executed
traditional Programming in the Cloud (i.e. on the server)
Languages like Java. 4.) Apex requires unit testing for deployment into a
Production environment
5.) Apex is not a general-purpose Programming
Language. It can only be used on the Force.com
platform.
What are the two primary Apex Classes and Apex Triggers
components of Apex
code?
An Apex Class is a template or a blueprint from which
What is an Apex Class?
Apex objects are created.
A procedure that automatically executes during a
What is an Apex Trigger?
DML operation.
What are the three types 1.) Traditional FOR() loops
of FOR() loops that Apex 2.) List Iteration FOR() loops
code supports? 3.) SOQL FOR() loops
, What are the three types 1.) Lists
of Collection data types in 2.) Maps
Apex code? 3.) Sets
What are Collections used Collections are used to store groups of elements,
for in Apex code? such as primitive data types, or sObjects.
Where are the three areas 1.) The Force.com IDE
where you can develop 2.) The Developer Console
Apex code? 3.) The Setup menu
What conditional if-else
statements does Apex
support?
What conditional 1.) case
statements are not 2.) switch
supported by Apex?
The sObject data type is a generic data type that is
What is the sObject data
the parent class for all standard and custom objects in
type?
Apex.
What are two data types 1.) sObject
that are unique to Apex? 2.) ID
A List is an ordered collection of elements of a single
data type. Elements added to a List are assigned an
What is a List? implicit index, and therefore, Lists can contain non-
unique values (i.e. elements can be duplicated within a
List).
A Set is an unordered collection of unique elements.
What is a Set? There are no indexes assigned to elements in a Set,
and therefore, elements in a Set much be unique.
A Map is a collection of key-value pairs. Keys must be
unique, but Values can be repeated. With Maps, we
What is a Map?
supply the index, unlike Lists, where the index is
automatically applied when an element is added.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TheAlphanurse. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.99. You're not tied to anything after your purchase.