
Apex Sessions Quiz 4
Authored by M Salman
Professional Development
1st Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Aggregate function is not valid from the following.
Sum()
Count()
Highest()
Min()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You can use the GROUP BY option in a SOQL query to avoid iterating through individual query results.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Find out how many accounts are there per industry type.
Select Industry,Count(Id) from Account;
What is missing in the above query?
Group by Industry
Where Industry
Having Industry
Nothing
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A list is a collection of elements or records that you want to store.
List in Apex can store elements of any data type. It can store: Integer, String, Boolean and any custom data type as well. For example: Account, Contact, Employee__c (Custom Object) etc.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You can use ORDER BY in a SELECT statement to control the order of the query results.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select Id, Industry,createddate from Account order by createddate
Error
the records will be fetched in ascending order
the records will be fetched in descending order
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you do not specify the sort type like asc or desc in order by clause by default it takes asc
True
False
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?