
1-50
Authored by مائدة القرءان
others
50 Questions
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Refer to the following Apex code: Integer x = 0; do { x = 1; x++; }while (x<1); System.debug(x);
2.
MULTIPLE SELECT QUESTION
30 sec • Ungraded
Management asked for opportunities to be automatically created for accounts with annual revenue greater than
$1,000,000. A developer created the following trigger on the Account object to satisfy this requirement.
for (Account a: Trigger.new) {
if (a.AnnualRevenue > 1000000) {
List opplist = (SELECT Id FROM Opportunity WHERE accountId = :a. Id];
if (opplist.size() == 0) {
Opportunity oppty = new Opportunity (Name = a.name, StageName = ‘Prospecting’,
ClogeDate = system. today ().addDays (30) ) ;
insert oppty;
}
}
}
Users are able to update the account records via the UI and can see an opportunity created for high annual
revenue accounts. However, when the administrator tries to upload a list of 179 accounts using Data Loader, it
fails with System. Exception errors.
Which two actions should the developer take to fix the code segment shown above?
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are two use cases for executing Anonymous Apex code? Choose 2 answers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A software company uses the following objects and relationships: Case: to handle customer support issues Defect c: a custom object to represent known issues with the company's software Cage Defect c: a junction object between Case and Defect o to represent that a defect is a cause of a customer issue Case and Defect__c have Private organization-wide defaults. What should be done to share a specific Case_Defect__c record with a user?
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified. The developer team decided that the trigger should be tested with 200 account records with unique names. What two things should be done to create the test data within the unit test with the least amount of code? Choose 2 answers
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer is building custom search functionality that uses SOSL to search account and contact records that
match search terms provided by the end user. The feature is exposed through a Lightning web component, and
the end user is able to provide a list of terms to search.
Consider the following code snippet:
@AuraEnabled
public static Ligt> searchTerms(List termList) {
List‹List> result = new List > ();
for (String term : termList){
regult.addAll([FIND :term IN ALL FIELDS RETURNING Account (Name),
Contact (FirstName, LastName) ]) ;
}
return result;
}
What is the maximum number of search terms the end user can provide to successfully execute the search
without exceeding a governor limit?
- > ();
for (String term : termList){
regult.addAll([FIND :term IN ALL FIELDS RETURNING Account (Name),
Contact (FirstName, LastName) ]) ;
}
return result;
}
What is the maximum number of search terms the end user can provide to successfully execute the search
without exceeding a governor limit?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer creates a Lightning web component that imports a method within an Apex class. When a Validate button is pressed, the method runs to execute complex validations. In this implementation scenario, which artifact is part of the Controller according to the MVC architecture?
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
46 questions
Plant Growth Factors Unit Practice Test
Quiz
•
9th - 12th Grade
50 questions
CONCURSO DE HISTORIA 1_50
Quiz
•
KG - University
50 questions
Mock Test
Quiz
•
KG - University
45 questions
Branches of the US Government 2024
Quiz
•
8th Grade
50 questions
7 PJOK
Quiz
•
KG - University
50 questions
8 SENI BUDAYA
Quiz
•
KG - University
50 questions
b) REGLAMENTO DE FALTA Y SANCIONES DEL MAGISTERIO Y PERSONAL DOCENTE Y ADMINISTRATIVO.
Quiz
•
KG - University
50 questions
The Monkey’s Paw, Character, Characterization, Persuasion
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for others
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade