Apex MCQ Questions & Answers

Apex MCQs : This section focuses on "Basics" of Apex. These Multiple Choice Questions (MCQ) should be practiced to improve the Apex skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.

1. Apex is a proprietary language developed by the?

A. IBM
B. Microsoft
C. Salesforce
D. Meta

View Answer


2. Apex is a?

A. strongly typed
B. object-oriented programming language
C. Both A and B
D. None of the above

View Answer


3. We can use Apex when we want to?

A. Create Web services with integrating other systems
B. Create email services for email blast or email setup
C. Create complex business processes that are not supported by existing workflow functionality or flows
D. All of the above

View Answer


4. sObject is the data type in Apex?

A. Yes
B. No
C. Can be yes or no
D. Can not say

View Answer


5. Which of the following is a 32-bit number that does not include any decimal point?

A. Enums
B. Integer
C. Classes
D. Double

View Answer


6. The __________ function prints the value of variable so that we can use this to debug or to get to know what value the variable holds currently.

A. System()
B. debug()
C. System.debug()
D. System.identify()

View Answer


7. Which of the following Features of Apex as a Language?

A. Apex has built in support for DML operations
B. Apex is easy to use
C. Apex is data focused and designed to execute multiple queries
D. All of the above

View Answer


8. ________ are used when we want to define variables which should have constant value throughout the program execution.

A. String
B. Constants
C. Double
D. Self

View Answer


9. Apex should be used when we are not able to implement the complex business functionality using the pre-built and existing out of the box functionalities.

A. Yes
B. No
C. Can be yes or no
D. Can not say

View Answer


10. Long is a 64-bit number without a decimal point.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer





Discussion



* You must be logged in to add comment.