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

  Will equilibrium gdp on the demand side rise or fall

Suppose real GDP is $10,000 billion and the basic expenditure multiplier is two. If two tax changes are made at the same time:

  Discuss the various ways government can handle externalities

Discuss the various ways governments can handle externalities, such as noise from a local airport or a barking dog or building of commercial office space or an industrial building in a residential area How does the assignment of property rights af..

  Explain would you keep or eliminate the deduction

If the income tax base were broadened by eliminating these deductions, tax rates could be lowered, while raising the same amount of tax revenue. For each of these deductions, what would you expect the likely effect on taxpayer behavior to be

  Fetermine equilibrium output, the mpc and mps

Suppose that the level of investment is $16 billion and independent of level of total output, complete the accompanying table and estimate the equilibrium levels of output and employment in private closed economy.

  What alternatives do you have for buying gasoline

How would you respond if the price of gasoline doubled over the next two years What alternatives do you have for buying gasoline Could you change to zero consumption of gasoline in the short run In the long run In the short run, when the price of ..

  Compute the amount depreciated at the end of year

The company tresurer must determine the best depreciation method for office furniture that costs $50,000 and has a zero salvage value at the end of a 10-year depreciable life. Compute the amount depreciated at the end of year 5 using the MACRS me..

  How each barrier can foster either monopoly or oligopoly

Discuss the major barriers to entry into an industry. Explain how each barrier can foster either monopoly or oligopoly. Which barriers, if any, do you feel give rise to monopoly that is socially justifiable

  Determine the marginal rate of substitution mrs

There are two goods 1 and 2. Denote the consumption bundle consisting of x1 units of good 1 and x2 units of good 2.Write down the equation for the indierence curve that passes through the consumption  bundle.

  Elucidate why does the fed like to fight inflation

Elucidate why does the Fed like to fight inflation in our economy and is inflation a concern right now given our current economic situation.

  Calculate the value of the objective function

Calculate the value of the objective function over the 5-year period and which policy is best? Why?

  It is impossible to select as bmw and laser printers

It is impossible to select as BMW's and laser printers are fundamentally different goods with different purposes.

  Analysis of interest rate charged by banks

Select any low income country (or countries) on which you can find data on the following (a web search should yield you the required information)

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