Salesforce (DEV-501) Exam Questions And Answers page 4
Defines how labels are displayed. Depending on what component wraps it, gives you options for affecting labels for bar and line series labels, pie chart segments, and axes labels.
Note: This component must be enclosed by a data series component (, , or ) or an component.
Note: This component must be enclosed by a data series component (
apex:include
apex:chartLabel
apex:messages
Apex
Visualforce Controllers
Defines tooltips which appear on mouse over of data series elements. This component offers more configuration options than the default tooltips displayed by setting the tips attribute of a data series component to true.
Note: This component must be enclosed by a data series component (, , or ).
Note: This component must be enclosed by a data series component (
apex:actionSupport
apex:componentBody
apex:actionFunction
apex:chartTips
Apex
Which elements are included in a Visualforce page definition?
Multiple Choice
Developers can use Visualforce to create a Visualforce page definition. A page definition consists of two primary elements:
• Visualforce markup
• A Visualforce controller
Visualforce markup consists of... (Select all that apply)
• Visualforce markup
• A Visualforce controller
Visualforce markup consists of... (Select all that apply)
Any Web-enabled code
Visualforce Tags
Apex code
HTML
JavaScript
C# Remoting Modules
None of the above
Visualforce Controllers
Visualforce Controllers
Displays text on a Visualforce page. You can customize the appearance of using CSS styles, in which case the generated text is wrapped in an HTML tag. You can also escape the rendered text if it contains sensitive HTML and XML characters. This component does take localization into account.
Use with nested param tags to format the text values, where {n} corresponds to the n-th nested param tag. The value attribute supports the same syntax as the MessageFormat class in Java. See the MessageFormat class JavaDocs for more information.
Warning:Encrypted custom fields that are embedded in the component display in clear text. The component doesn't respect the View Encrypted Data permission for users. To prevent showing sensitive information to unauthorized users, use the tag instead.
Use with nested param tags to format the text values, where {n} corresponds to the n-th nested param tag. The value attribute supports the same syntax as the MessageFormat class in Java. See the MessageFormat class JavaDocs for more information.
Warning:Encrypted custom fields that are embedded in the
apex:message
apex:actionSupport
apex:column
apex:outputText
Visualforce Controllers
Visualforce Controllers
What is the purpose of Visualforce pages in Salesforce?
Single Choice
__________ enables you to create Visualforce pages that can display or act on a set of records.
A Standard Controller
A Standard List Controller
An Apex Recordset
A Custom List Doctype
An Apex class
None of the above
Visualforce Controllers
Visualforce Controllers
What are the characteristics of good Apex tests?
Multiple Choice
Good Apex tests should....
Exercise bulk trigger functionality use at least 20 records in your tests.
Only test code using the Standard User profile.
Access live organization data to validate SOQL queries and DML operations.
Use the isTest annotation. Classes defined with the isTest annotation do not count against your organization limit of 3 MB for all Apex code. See IsTest Annotation.
Use the runAs method to test your application in different user contexts.
None of these
Apex Controllers
Apex
How are programmatic cusomizations done in Salesforce?
Apex, Visualforce, and APIs
Apex classes
Apex process classes
Dates, Ids, Numbers
Apex Controllers
Apex
How are static methods and attributes access?
Map, List, Set
Class, trigger
Apex classes
Through class itself
Apex
How to invoke Web Services from external sources?
Single Choice
How do you call Web Services from external sources?
Webservice
SOAP Web Service Callouts
SOQL for loops
SOQL statements
Apex
How to prevent SOQL injection when using dynamic SOQL?
Single Choice
How should one prevent soql injection when using dynamic soql?
Database class method
code contained in a trigger
Utilize the String.escapeSingleQuotes(string) method
with sharing keyword
Apex
Comments