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

  Question on pricing strategy

Movie theaters generally charge the same ticket price for all movies with evening show times, regardless of popularity. This pricing strategy causes surpluses for unpopular films & shortages for popular films.

  Illustrate when banks would be willing to maintain services

From California to New York, legislative bodies acrosso the United States are considering eliminating or reducing the surcharges that banks imppse on non customers who make $10million in qirhseQloa deo orhwe banks' ATM machines.

  Illustrate what is the objective of the article

Illustrate what is the objective of the article. Please note that the article has to be relevant to microeconomics and the topics covered in this class.

  Determine elasticity of demand-revenue maximizing price

Show the area on the graph that would correspond to consumer's surplus earned by the typical boarder/skier with this payment scheme. Explain your answer briefly.

  Conditions-skill levels of people in particular different

What are non-profitable organizations that work to improve the image, working conditions and skill levels of people in particular different occupations?

  Calculate the international supply and consumer surplus

Compute the producer surplus from parts a and b. Are producers better or worse off as a result of international trade? Discuss why.

  Calculate the equilibrium price and quantity

Calculate the equilibrium price and quantity in this market and illustrate this graphically. Calculate the price elasticity of demand at the equilibrium. Is this elastic or inelastic?

  Describe the various components of fluctuations

Describe the various components of fluctuations in economy activity over time. Because economic activity fluctuates, how is long-term growth possible?

  If a country wants to keep its exchange rate from changing

If a country wants to keep its exchange rate from changing, it must give up some control over its money supply. Is this statement true, false, or uncertain? Explain your answer.

  Calculation of the components of gdp

In a closed economy without a government sector, consumption is determined as 80% of the income available to households.  Investment is autonomous at a level of £450.

  Find the equation of dominant firm total revenue

A market total demand is given through P = 80-(z/2). This market is supplied by a dominant firm & by other, relatively "small firms". The small company total supply is given by P=4y.

  Evaluate why mutual funds are an attractive investment

There are several ways that mutual funds can generate returns for investors. Compare and evaluate these different types of income and evaluate their tax effect.

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