Review Basic Constructs in Apex

Learning Objectives

After completing this unit, you’ll be able to:

  • Use and apply Apex control flow statements.
  • Describe the capabilities of the declarative process automation features.

Key Topics

This module prepares you for the process automation and logic section of the Platform Developer I exam. The process automation and logic section, which makes up 38% of the overall exam. In this unit we will review these topics.

  • Apex variables and constants
  • Apex methods
  • Interfaces

This module includes a number of interactive, real-world, scenario-based questions that are a lot like the ones you can encounter as a Salesforce developer. Looking at these scenarios helps prepare you to take the process automation and logic section of the Platform Developer I exam. As you tackle the practice questions, you get immediate feedback on your answers, along with detailed information on why your answers are correct (or incorrect).

This module includes three units on process automation and logic . This unit focuses on the basic constructs within Apex.

Download the Guide

Would you like a hard copy of the contents in these modules? Each module includes a link to a printable version you can download. Download the Platform Developer I Certification Prep: Process Automation and Logic guide.

Exam Practice Questions

Ready to jump in? The sample tool below is not scored—it’s just an easy way to quiz yourself. To use it, read the scenario and click the answer you think is correct. Some questions may have more than one correct answer. Click Submit and you get a popup telling you whether the answer you chose is correct or incorrect, and why; if there’s a longer explanation, click Expand Button and then click anywhere in the window to close it. When you reach the end, you can review the answers or retake the questions.

Exam Topic Flashcards

Use the interactive flashcards in each unit to brush up on some of the key topics you’ll find on this portion of the exam.

Read the question or term on each card, then click the card to reveal the correct answer. Click the right-facing arrow to move to the next card, and the left-facing arrow to return to the previous card.

Related Badges

Looking for more information? Explore these related badges.

Content Type
Apex Basics & Database badge
Apex Basics & Database


Next, let’s review the second part of the process automation and logic section of the Platform Developer I exam.