Quiz 5 Flashcards

1
Q

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

A

C. Check the Development Mode checkbox for the User

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What Action methods do standard Visualforce controllers contain? (Select all that apply.)

A. List
B. Delete
C. Cancel
D. Edit
E. Clone
A

A. List
B. Delete
C. Cancel
D. Edit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Identify the Visualforce tags that will iterate over a set of data. (Select all that apply.)

A. 
B. 
C. 
D. ex:dataTable>
E.
A

C.
D. ex:dataTable>
E.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A. use dot notation

C. use the “__r” suffix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A. On the Salesforce servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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
A

B. Incorporating Business logic

C. Customizing navigation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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
A

D. Components
E. Pages

The View, or presentation layer, contains Pages and Components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What tag will display both the label and default widget for a single field?

A. 
B. 
C. 
D. 
E.
A

C.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the tags that allow a page to preform AJAX actions? (Select all that apply.)

A. 
B. 
C. 
D. 
E.
A

A.
B.
C.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

A. Visualforce tags
C. Force.com expressions
D. JavaScript
E. HTML and CSS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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

A

B. Global Variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What type of methods can a Visualforce controller contain? (Select all that apply.)

A. Regex
B. Action
C. Getter
D. Setter
E. Lookup
A

B. Action
C. Getter
D. Setter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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.

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which of the following statements are true about Visualforce Components? (Select all that apply.)

A. attributes that can be passed in to a component
B. component descriptions are displayed in the application’s component reference dialog
C. can maintain an overall structure for a page
D. components are accessible by entering the website address: salesforce.com/apex/(component name)
E. can be reused in within multiple pages

A

A. attributes that can be passed in to a component
B. component descriptions are displayed in the application’s component reference dialog
E. can be reused in within multiple pages