Apex Sessions Quiz 4

Apex Sessions Quiz 4

Assessment

Quiz

Created by

M Salman

Professional Development

1st Grade

1 plays

Medium

Student preview

quiz-placeholder

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

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?