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
Why does Joe's demand curve have a negative slope? Joe only has so much money; when other things get more expensive he must buy
AleksAgata [21]

Answer:

The answer is: He needs the price of coffee to go down to convince him to buy more.

Explanation:

A demand curve (almost) always has a negative slope. As a product gets more expensive, the amount of people willing to buy that product decreases. So if the product gets cheaper, the more people are willing to purchase it.

The opposite happens with the supply curve, as the price of a product increases, the more companies are willing to sell that product.  

7 0
3 years ago
Adams Industries holds 42,000 shares of FedEx common stock, which is not a large enough ownership interest to allow Adams to exe
olga2289 [7]

Answer:

investment in FedEx = 4410000

Unrealized holding gain = 420000

Explanation:

given data

FedEx common stock = 42,000 shares

market value = $95

market value = $105

to find out

what amount will it be reported in the 2019 balance sheet

solution

we know that It is coming under available for sale security since the shares hold is less than majority of outstanding shares

and here

investment in FedEx =42,000  × 105

investment in FedEx = 4410000

and

Unrealized holding gain is = ( 105 - 95 ) × 42000

Unrealized holding gain = 420000

5 0
4 years ago
Jake nickells crowdsourcing approach to his business initially kept the business finances under control in all of the following
svetlana [45]

Answer:

It eliminated the need for fixed costs.

Explanation:

3 0
3 years ago
Which of the following questions would be permissible to ask during an interview with a candidate who is in a wheelchair?
faust18 [17]

Answer:

A

Explanation:

This seems the most reasonable depending on the interview....if it was for a job then you might need something that is not done with your legs

3 0
3 years ago
Sylvia mused to herself, "It has taken over 30 years, but I've finally been named CEO of a major firm. Now, I can concentrate on
Natasha2012 [34]

Answer:

Strategic.

Explanation:

In Business management, a strategy can be defined as a set of guiding principles, actions and decisions that an organization combines so as to achieve its business goals, attract customers and possess a competitive advantage over its rivals in the industry.

Business strategy sets the overall direction for the business because it focuses on defining how a business would achieve its goals, objectives, and mission; as well as the funds and material resources required to implement or execute the business plan.

A manager can be defined as an individual who is saddled with the responsibility of providing guidance, support, supervision, administrative control, as well as acting as a role model or an example to the employees working in an organization by being morally upright.

A strategic manager is also referred to as a top-level manager and he or she is mainly focused on setting goals, objectives, and procedures in order to enhance the survival, growth, and overall effectiveness of a business firm.

Hence, Sylvia can concentrate on what she really want to do as a strategic manager, by focusing on the survival, growth, and overall effectiveness of our firm.

5 0
3 years ago
Other questions:
  • The famous designer, Isaac Mizrahi, made a scheduled appearance at Borders bookstore in Mall of America to sign copies of his bo
    10·1 answer
  • Dr. Riley, a professor in the economics department, finds that if he keeps his door open, people tend to stop in to say hello. T
    12·1 answer
  • The CPI is 120 in year 1 and 150 in year 2. All inflation is anticipated. If Gringotts Bank charges an interest rate of 20.00 pe
    7·1 answer
  • Why does supplier competition make it harder for an entrepreneur to be successful
    8·1 answer
  • Two accountants for the firm of Elwes and Wright are arguing about the merits of presenting an income statement in a multiple-st
    11·1 answer
  • Suppose the price of the product that labor is producing increases and simultaneously the price of capital, which is substitutab
    5·1 answer
  • Fong Sai-Yuk Company sells one product. Presented below is information for January for Fong Sai-Yuk Company.
    13·1 answer
  • How to calculate rate of return.
    6·1 answer
  • Marcus (20) attends State University and is a qualifying student for the purpose of the American Opportunity Tax Credit (AOTC).
    11·1 answer
  • A requirements contract is too vague to be a legally-enforceable agreement. Group of answer choices True False
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!