Quiz 5 Flashcards
When going to salesforce.com/apex/helloworld, the Visualforce editor is not accessible at the bottom of the page. How would you enable this ability?
A. Change the profile to an Administrator
B. Assign the user to a Developer role
C. Check the Development Mode checkbox for the User
D. Enable Visualforce pages in the user’s Profile settings
C. Check the Development Mode checkbox for the User
What Action methods do standard Visualforce controllers contain? (Select all that apply.)
A. List B. Delete C. Cancel D. Edit E. Clone
A. List
B. Delete
C. Cancel
D. Edit
What advantage does a Static Resource have over the Document folders? (Select all that apply.)
A. Static Resources apply to an organization’s quota of file storage
B. A collection of related files can be stored together in a zip
C. Static Resources data is cached more effectively than Document
D. The resources can be accessed with by name using the $Resource global variable
E. Larger files can be stored in Static Resources than the Documents folers
B. A collection of related files can be stored together in a zip
C. Static Resources data is cached more effectively than Document
D. The resources can be accessed with by name using the $Resource global variable
Identify the Visualforce tags that will iterate over a set of data. (Select all that apply.)
A. B. C. D. ex:dataTable> E.
C.
D. ex:dataTable>
E.
How are custom objects referenced through relationships with other objects? (Select all that apply.)
A. use dot notation B. use the "c." prefix C. use the "\_\_r" suffix D. use the "$" prefix E. use the "\_\_c" suffix
A. use dot notation
C. use the “__r” suffix
Where do Visualforce pages execute?
A. On the Salesforce servers
B. In the client’s browsers
C. Within the View logic of the MVC architecture.
A. On the Salesforce servers
When does it become necessary to know Apex when creating Visualforce pages?
A. Adding a form to a Visualforce page B. Incorporating Business logic C. Customizing navigation D. Databinding to fields in an object E. Customizing page styles
B. Incorporating Business logic
C. Customizing navigation
In an model-view-controller paradigm, which objects are part of the View? (Select all that apply.)
A. Standard Controllers B. Apex Classes C. Custom Objects D. Components E. Pages
D. Components
E. Pages
The View, or presentation layer, contains Pages and Components.
What tag will display both the label and default widget for a single field?
A. B. C. D. E.
C.
What are the tags that allow a page to preform AJAX actions? (Select all that apply.)
A. B. C. D. E.
A.
B.
C.
Which of the following statements are true about Visualforce Page Templates? (Select all that apply.)
A. can maintain an overall structure for a page
B. attributes that can be passed in to a component
C. components are accessible by entering the website address: salesforce.com/apex/(component name)
D. page descriptions are displayed in the application’s page reference dialog
E. can be reused in within multiple pages
A. can maintain an overall structure for a page
C. components are accessible by entering the website address: salesforce.com/apex/(component name)
E. can be reused in within multiple pages
What types of code can be included in Visualforce pages? (Select all that apply.)
A. Visualforce tags B. PHP C. Force.com expressions D. JavaScript E. HTML and CSS
A. Visualforce tags
C. Force.com expressions
D. JavaScript
E. HTML and CSS
What should be used to reference general information about the current user and your organization on a Visualforce page?
A. Force.com Expressions
B. Global Variables
C. S-Controls
D. Standard Controller
B. Global Variables
What type of methods can a Visualforce controller contain? (Select all that apply.)
A. Regex B. Action C. Getter D. Setter E. Lookup
B. Action
C. Getter
D. Setter
Which of the following statements are true about Visualforce tags? (Select all that apply.)
A. Resources referenced in a page must be stored in a Static Resource or the Documents area
B. Visualforce tags begin with “apex:”
C. Tags in a hierarchy must be closed in the reverse order in which they were opened.
D. Visualforce tags can be intermixed with standard HTML tags
E. Every start tag must have an end tag or be a self contained tag.
B. Visualforce tags begin with “apex:”
C. Tags in a hierarchy must be closed in the reverse order in which they were opened.
D. Visualforce tags can be intermixed with standard HTML tags
E. Every start tag must have an end tag or be a self contained tag.
Resources can be stored in Static Resources, Documents, or any other place that is accessible via HTTP. This includes non-Salesforce web servers.