255

--

Quiz 1

Please answer the below questions? Please choose the correct options

Quiz 1 for Salesforce Developer Training for BeginnersQuestion #1: What are the two primary components of Apex code?

  1.  Apex Classes and Apex Triggers
  2. Sobjects
  3. for loop and while loop

Question #2: What is an Apex Class?

  1. It is a procedure that automatically executes during a DML operation.
  2. It is a template or a blueprint from which Apex objects are created.

Question #3: What is an Apex Trigger?

  1. It is a procedure that automatically executes during a DML operation.
  2. It is a template or a blueprint from which Apex objects are created.

Question #4: What are the three types of Collection data types in Apex code?

  1. 1.)for loop 2.) do-while loop 3.)if else
  2. 1.) Lists 2.) Maps 3.) Sets
  3. 1.) list 2.)SObject 3.)Collection

Question #5: Collections are used to store groups of elements, such as primitive data types, or sObjects.

  1. True
  2. False

Question #6: What conditional statements does Apex support?

  1. if-else
  2. switch-case

Comments

Please sign in or sign up to comment.