GoConqr has a new look! Let us know what you think.

Quiz

SFDC-QUIZ

bodala shanmuk 23 questions

Take the quiz

Questions in this quiz (23)

  1. 1Is Apex a Case-insensitive language?
    1. ATrue
    2. BFalse
  2. 2Apex requires unit testing for deployment into a Production environment (True or false)
    1. ATrue
    2. BFalse
  3. 3The sObject data type is a generic data type that is the parent class for all standard and custom objects in Apex?
    1. ATrue
    2. BFalse
  4. 4A global class is only accessible within the org.
    1. ATrue
    2. BFalse
  5. 5Are these two forms of DML operations?

    1.) Standalone statements (insert myAccount;)
    2.) Database methods (Database.insert(myAccount);)
    1. ATrue
    2. BFalse
  6. 6When a DML standalone statement is executed against a list of records, if one record encounters an error, what happens?
    1. AAll of the records will fail. None of the records will be inserted/updated etc.
    2. BAll of the records except the failed records will be inserted/updated etc.
  7. 7When a DML Database method is executed against a list of records, if one record encounters an error, what happens? Given allOrNone is set to false.
    1. AEven if an error is encountered with one record in the list, the operation will continue with the other records in the list
    2. BEven if one record fails, none of the records will get inserted/deleted/updated.
  8. 8When using a Database method to execute a DML operation, and if allOrNone is set to false, how can you check the results of the operation?
    1. ADatabase insert and update methods return a Save object that can be used to get the results of the operation.
    2. BDatabase insert and update methods return a SaveResult object that can be used to get the results of the operation.
  9. 9True or False: You must specify a value for the allOrNone parameter when using a Database method.
    1. ATrue
    2. BFalse
  10. 10What is the default value of the allOrNone parameter of a Database method?
    1. ATrue
    2. BFalse

Information

Description
SFDC-PPlatform Dev1
Language
English
Views
64
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?