1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
alexandr1967 [171]
3 years ago
11

A list of n items is arranged in random order; to find a requested item, they are searched sequentially until the desired item is

found. what is the expected number of items that must be searched through, assuming that each item is equally likely to be the one requested? (questions of this nature arise in the design of computer algorithms.)
Business
1 answer:
kompoz [17]3 years ago
6 0
<span>n/2 = average number of items to search. Or more precisely (n+1)/2 I could just assert that the answer is n/2, but instead I'll prove it. Since each item has the same probability of being searched for, I'll simulate performing n searches on a list of n items and then calculate the average length of the searches. So I'll have 1 search with a length of 1, another search looks at 2, next search is 3, and so forth and so on until I have the nth search looking at n items. The total number of items looked at for those n searches will be: 1 + 2 + 3 + 4 + ... + n Now if you want to find the sum of numbers from 1 to n, the formula turns out to be n(n+1)/2 And of course, the average will be that sum divided by n. So we have (n(n+1)/2)/n = (n+1)/2 = n/2 + 1/2 Most people will ignore that constant figure of 1/2 and simply say that if you're doing a linear search of an unsorted list, on average, you'll have to look at half of the list.</span>
You might be interested in
Write a claim that responds to the question: Why can transferring energy into or out of a substance change molecules' freedom of
nydimaria [60]

Answer:

hope this help u

Explanation:

Transferring energy into or out of a substance changes its temperature, which changes the molecules' freedom of movement. Claim 2: Transferring energy into or out of a substance changes the molecules' kinetic energy, which changes their freedom of movement.

8 0
3 years ago
Carson Company began operations on February 1, 2016, and experienced the following events during the year: 1. Earned $150,000 of
Nikolay [14]

Answer:

What is Carson Company's net realizable value of the accounts receivable at the end of 2016?  

Dr Accounts receivable $ 22,000

Explanation:

1. Earned $150,000 of revenue on account

Dr Accounts receivable $ 150,000

Cr Sales $ 150,000

2. Collected $125,000 cash from accounts receivable  

Dr CASH $ 125,000

Cr Accounts receivable $ 125,000

Adjusted the accounting records to reflect management's belief that $3,000 of the accounts receivable balance would be uncollectible.  

Dr Bad Debt Expense $ 3,000

Cr Allowance for Uncollectible Accounts $ 3,000

What is Carson Company's net realizable value of the accounts receivable at the end of 2016?  

Dr Accounts receivable $ 22.000

The net realizable value of the accounts have to consider the estimated value that would be uncollectible, this case :

$150,000  Credit Sales

-$125,000  Cash from Accounts Receivable

 -$ 3,000  Accounts Receivable balance that would be uncollectible.  

===========

 $ 22,000 ==> Net realizable value of the accounts receivable

6 0
3 years ago
Lott Company uses a job order cost system and applies overhead to production on the basis of direct labor costs. On January 1, 2
Amiraneli [1.4K]

Answer:

Predetermined manufacturing overhead rate= $42 per direct labor hour

Explanation:

Giving the following information:

Estimated manufacturing overhead= $924,000

Estimated direct labor hours= 22,000

To calculate the predetermined manufacturing overhead rate we need to use the following formula:

Predetermined manufacturing overhead rate= total estimated overhead costs for the period/ total amount of allocation base

Predetermined manufacturing overhead rate= 924,000/22,000

Predetermined manufacturing overhead rate= $42 per direct labor hour

4 0
3 years ago
Robyn and Austin are co-owners of a tract of land that they plan to sell one day. A court would likely find that their co-owners
uranmaximum [27]

Answer:

d) joint property ownership

Explanation:

A partnership is created by two or more individuals who combine resources, skills, and energies to start a business. The motive for starting the business is profits.  The partnership deed guides the formation of a partnership business. Partners may also draft an agreement on how they will share profits, losses, or assets should be business be dissolved.

Partners contribute capital required to start and operate the business. The capital contributed may be in the form of cash, assets, or properties.  The contributed capital becomes part of the business assets. The assets are registered under the partnerships' name. For Robyn and Austin, the land will be in the name of their business if they have a partnership business.  But if they jointly own the land, a court may rule that they are not in a partnership business.

8 0
4 years ago
A merchandiser returned inventory worth $1,400 that was purchased on account. Under the periodic inventory system, the joumal
cestrela7 [59]

Answer:

a debit to Accounts Payable for $1,400 and a $1,400 credit to Purchase Returns allowances

Explanation:

Periodic inventory system is one that updates information on inventory on a periodic basis. This is opposite of perpetual inventory system that requires update of inventory system at all times.

In the scenario the merchandiser bought the goods on account. That means he did not pay cash but rather bought on credit.

On purchasing the items accounts payable will be credited thereby increasing the account balance.

Since the items are being returned a debit will be applied to accounts payable resulting in a decrease in the account balance.

A credit will now be posted to purchase returns allowances to show that products have been returned by a buyer

4 0
3 years ago
Other questions:
  • The financial records of LeRoi Jones Inc. were destroyed by fire at the end of 2014. Fortunately, the controller had kept certai
    14·1 answer
  • if the demand for a product is inelastic, which of these statements must be true? a)people will not buy any of the product when
    15·2 answers
  • An alternative name for Bad Debt Expense is A. Collection Expense.B. Credit Loss Expense.C. Uncollectible Accounts Expense.D. De
    15·1 answer
  • Pinterest has gained a reputation for being among the most negative of social media platforms.
    9·2 answers
  • The worldwide product structure is usually considered best to implement a/an _____ strategy.
    12·1 answer
  • Classify the following item as belonging in the revenue, expenditure, human resources/payroll, production, or financing cycle:
    12·1 answer
  • Net present value LO P3 Beyer Company is considering the purchase of an asset for $250,000. It is expected to produce the follow
    14·2 answers
  • Consider the​ following: Year Population ​(Millions) Real GDP ​($ Billions) GDP Deflator 2018 121 2019 125 Calculate the percent
    9·1 answer
  • Assume that output was 1,000 units in January and 3,500 units in February, utility cost is a mixed cost, and the fixed cost of u
    9·1 answer
  • What might cause a demand curve to shift to the right?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!