Multiple values from a multi-select picklist

Assignment Help Macroeconomics
Reference no: EM131095425

1. In a single record, a user selects multiple values from a multi-select picklist? How are the selected values represented in Apex?

a. as a list<string> with each value as a element in the list
b. as a set<string> with each value as a element in the set
c. as a string with each value separated by semicolon;
d. as a string with each value separated by coma

2. How can a developer avoid a exceeding governor limits when using apex trigger?

a. By Performing DML transactions on list of objects
b. By using the database class to handle Dml transations
c. By using a helper classthat can be invoked from multiple triggersd.
d. By using maps to hold data from query results

3. The Sales management team hires a new team, the team is not allowed to view opportunities but need to see the most recent closed date of all child opportunities when viewing a account record.

What would a developer do to meet this requirement.

a. Create a workflow rule on the opportunity object that updates a filed on the parent account.
b. Create a trigger on the account object that query the close date of the most recent opportunities.
c. Create a roll-up summary filed on the account object that performs max on the opportunity close date filed.
d. Create a formula filed on the account object that performs a Max on the opportunity close data filed.

4. when can a developer use a custom vf page in a force.com application?

a. To create components for dashboards and layouts
b. To modify the page layouts for custom object
c. To generate a pdf document with application data
d. To deploy components between two organizations

5. Which statement about change set deployments is accurate?

a. They can be used only between related organizations
b. They can be used to transfer contact records
c. They use an all or none deployment model
d. They require a deployment connection
e. They can be used to deploy custom setting data

6. How would a developer determine if a customobject__c record has been manually shared with the current user in apex?

A. Calling isshared() method
B. By calling profile settings of the current user
C. By query the role hierarchy
D. By query customobject__share

7. What is the capability of standardsetcontroller? Choose

a. It allows pages mass update of records
b. It extends the functionality of a standard or custom controller
c. It allow pages to perform pagination with large record sets
d. It enforces field level security when reading large record sets

8. Which type of code represents the Controller in MVC architecture on the Force.com platform'

A. Custom Apex and JavaScript code that is used to manipulate data.
B. A static resource that contains CSS and images
C. StandardController system methods that are referenced by Visualforce.
D. JavaScnpt that is used to make a menu item display itself

9. A Developer wants to create a custom object to track Customer Invoices? How should Invoices and Accounts be related to ensure that all Invoices are visible to everyone with access to an Account?

A. The Account should have a Lookup relationship to the Invoice.
B. The Account should have a Master-Detail relationship to the Invoice
C. The Invoice should have a Master-Detail relationship to the Account.
D. The Invoice should have a Lookup relationship to the Account
A developer creates an apex helper class to handle complex trigger logic

10. How can the helper class warn users when the trigger exceeds DML governer limits

a. By using apex messages.message() to display an error message after the number of DML statements is exceeded
b. By using limits.getDMLRows() and then displaying an error message before the number of DML statements is exceeded
c. By using messaging.sendemail() to continue the transaction and send an alert to the user after the number of DML statements is exceeded
d. By using Pagerefernce.setredirct() to redirect the user to a custom visualforce page before the number of DML statements is exceeded.

11.What is an important consideration when developing in a multi -tenant environment?

a. Polyglot persistence provides support for global, multilingual user base inmultiple orgs on multiple instances.
b.Unique domain names take the place of namespaces for code developed for multiple orgs on multiple instances.
c. Governor limits prevent tenants from impacting performance in multiple orgson the same instance.
d. Org-wide data security determines whetherother tennats can see data in multiple orgs on the same instance.

12. what is a capability of formula fields?

a. Determine which of three different images to display using the IF function
b. Display the previous value for a field using the priorvalue function
c. Return and display a field value from another object using the vlookup function
d. Generate a link using the hyperlink function to a specific record in a legacy system
e. Determine if a date time field has passed using the now function

13. A Visulaforce page has a standard controller for an object that has a lookup relationship to a parent object. How can a developer display the data from the parent record on the page?

a. by using a rollup summary field on the child record to include data from the parent record.
b. By using merge field sytax to retrieve data from the parent record.
c. By adding a second standard controller to the page for the parent record.
d. By using SOQL on the vf page to query for data from the parent record.

14. which scenario is invalid for execution by unit tests?

A. Loading test data in place of user input for flows
B. Executing methods for negative test scenarios
C. Executing methods as different users
D. Loading the standard pricebook id using a system method

15. What is a good practice for a developer to follow when writing a trigger?

a. using the set data sturucture to ensure distinct records
b. using @future ,methods to perform DML operations
c. Using synchronous callouts to call external systems
d. Using the Map data structures to hold query results by ID.

Reference no: EM131095425

Questions Cloud

The capital input market : The Capital Input Market
Select a product or a service to base the business on : List (at least) four strengths, four weaknesses, two opportunities, and two threats. These should be thoughtful and realistic for a start-up organization.
Calculate her expected utility : Suppose that individual A’s utility function, which only depends on wealth (W), is defined asU(W) = W0.5 ,where W stands for her/his wealth. Suppose her/his initial wealth is $10,000, and there is a 20% chance that she may get sick. In the event of i..
Medium sized university featuring a contemporary setting : This part of the project will need to answer the "So What?" question by addressing why this event or series of events is relevant to who you are now as a literate person. Remember, you are not just telling a story, you must have a point.
Multiple values from a multi-select picklist : 1. In a single record, a user selects multiple values from a multi-select picklist? How are the selected values represented in Apex?
Quantity total cost marginal cost fixed cost variable cost : Douglas Fur is a small manufacturer of fake-fur boots in Philadelphia. The following table shows the company's total cost of production at various production quantities. Fill in the remaining cells of the table. Quantity Total Cost Marginal Cost Fixe..
Find thea ction in the sentence and state it as a verb : In your initial post, use the Argument Today reading concerning plain style and elevated style to provide examples from the articles. You should identify two specific passages from either text (Cruz or Motoko) that employ plain style and explain ..
Calculate the length of each metal at 25°c : What is the nature of the stress (compressive or tensile) just below the surface on the Ti-alloy side and on the stainless steel side?
Described how the price of longjing green tea : An article in The Economist (2015) described how the price of Longjing Green Tea in Hangzhou Zhejiang in China had increased 30-fold between January to April 2014. Explain why the price of Longjing Green Tea has increased. Discuss what is likely to h..

Reviews

Write a Review

Macroeconomics Questions & Answers

  Inflation targeting be a good policy

Why might it be difficult for the Fed to formally adopt inflation targeting?  Would inflation targeting be a good policy for the Fed in the present economic environment

  In using the taylor rule

In using the Taylor Rule as a guideline for monetary policy, what are the pros and cons of using forecasted values of inflation and output rather than observed values of these variables?

  Describe the present economic crisis situation in europe

Describe the present economic crisis situation in Europe.  Why has it been so difficult for the Europeans to find a solution to this problem?   Comment on what implications the crisis may have for the rest of the world if Europeans are not able to ag..

  Long-term federal government budget problems

Question:. Explain why there are long-term Federal government budget problems. Explain why the base-line forecast of the CBO is misleading.

  Derive and compare demand curve

Question based on Derive and compare demand curve,  Derive Ambrose's demand function for peanuts. How does it compare with Johnny's demand curve for peanuts?

  Problem based on utility function

Problem based on  Utility Function - Problem,  Answer and explain the following using a diagram which is completely labeled.

  Laffer curve : tax rate and tax revenue

Question based on Laffer Curve : Tax Rate and Tax Revenue,  Do raising tax rates necessarily raise tax revenue? What factors affect how tax revenue changes when tax rates change?

  Problem - income elasticity of demand

Problem - Income Elasticity of Demand,  Interpret the following Income Elasticities of Demand (YED) values for the following and state if the good is normal or inferior; YED= +0.5 and YED= -2.5

  Positive balance of payment

Question Positive Balance of Payment: "Things will look good for the US if we could just get to where we are consistently running a positive Balance of Payments."

  Effect of recession on the investment curve

Comment on the effect of a recession on the investment curve (only) and on the level of savings, investment, and the equilibrium real interest rate in the financial crisis that hits United States first starting in fall 2007.

  Affect of falling domestic investment on trade surplus and

How will a fall in domestic investment affect the trade surplus and net capital outflows in the domestic economy, the trade deficit and capital inflows in the rest of the world.

  Crises in the banking sector and bank run

Banking crises crisis decreases depositors' confidence in the banking system. What would be the effect of a rumor about a banking crisis on checkable deposits in such a country?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd