3. A team of programmers is trying to determine the efficiency of a piece of code. They run the code with inputs of different sizes and also record the number of iterations through the core block of code. The data is recorded in the table below.

3. A Team Of Programmers Is Trying To Determine The Efficiency Of A Piece Of Code. They Run The Code

Answers

Answer 1

Answer:

The algorithm's runtime has been divided into two main categories are given below.

Explanation:

Polynomial runtime would be defined as almost any run time that doesn't even improve quicker than [tex]n^k[/tex], including fixed time ([tex]n^0[/tex]), logarithmic time (log2{n}), linear ([tex]n^1[/tex]), quadratic ([tex]n^2[/tex]), as well as another polynomial of higher degrees (such as [tex]n^3[/tex]).  The runtime that grows more than [tex]n^k[/tex] and contains exponential time including such ([tex]2^n[/tex]), factorial time (n!), or anything else is super polynomial runtime.It seems it is perceived that polynomial runtime seems to be rational as well as super polynomial growth in order are rendered irrational. It is not necessarily ideal to have a polynomial run time, but it's least theoretically possible.

Then maybe we can easily see by the information collected that perhaps the algorithm is increasing at either the frequency of 20×n. At which, across every iteration, n seems to be the input dimension. This suggests that perhaps the runtime specified seems to be of a polynomial category, therefore means that even this technique executes within a rational period.

Answer 2

Reasonable and unreasonable algorithm is differentiated based on the growth rate of the iterations as input is increased. Since the algorithm does not grow exponentially, then we can conclude that the algorithm runs in a reasonable time.

Evaluating the mathematical function which models the growth rate of the algorithm as the number of input is increased ;

200 = 10k ; k = constant of proportionality

k = 200/10

k = 20

Thus, the function which models the number of iterations is :

n = 20i ; number of iterations ; i = input size

Since, the iteration does not grow exponentially, then it runs in a reasonable time.

Learn more : https://brainly.com/question/20504501


Related Questions

who is h...y and who for

Answers

Answer:

no

Explanation:

no

Find the perimeter of the rectangle in simplest form. One side equal y+1 and the other side equals y-3

Answers

Answer:

Perimeter of the rectangle = 4y - 4

Explanation:

Perimeter of rectangle = 2(l + b)

l = y + 1

b = y - 3

Perimeter

= 2(l + b)

= 2l + 2b

= 2(y + 1) + 2(y - 3)

= 2y + 2 + 2y - 6

= (2y + 2y) + (2 - 6)

= 4y - 4

Help!

Define political autonomy.

Answers

The property or task of having one’s decisions very well respected or honored.
Practically political freedom while having respect and honors.

Example: A young man from a strict and rule filled manner, is now living on his own.

On a separate piece of paper, draw a a T-chart and list several major debatable issues discussed today (or research them) on one side. Transfer your findings into your journal. Do not discard your T-chart. You will reference it later.

Has anyone had to do this for edge?

Answers

Answer:

Topics with a limited, or specific, scope are easier to explain carefully and in detail than topics that are vague, amorphous, or very broad. For example, general subjects such as mountains, automobiles, or music sound systems are so broad that it's hard to know where to begin. However, a specific aspect of sound systems, such as compact discs (CDs) is easier. Within the subject of CDs, of course, there are several topics as well (design, manufacturing process, cost, marketing, sound quality, comparison to tape and vinyl recordings, etc.).

Answer:

As you list possible topics, keep in mind that your eventual goal is not simply to vent your feelings on an issue but to support your views with valid information. For this reason, you might want to steer clear of topics that are highly charged with emotion or just too complicated to be dealt with in a short essay--topics such as capital punishment, for instance,

what makes martha want to leave the yellow house ? Martha Martha

Answers

Does this go with something? What’s this from
Do you have anything else to go with this??

A wood block has the volume of 4cm3 with a mass of 1 gram, what does the density equal? ( need answer asap )

Answers

Answer:

1/4 gm/cm^3

Explanation:

Micah thinks that after he dies, he will go to heaven. This is an example of a

Answers

Answer:

??

Explanation:

What are the choices?

What did Ta-Nehisi find wrong with the lessons on Civil Rights that the school showed him and his classmates during Black History Month every February?

Answers

Is there any more context? Like a story or something? If not, it would probably be something about the fact that they show the same people over and over again

TO THE PERSON I TOLD TO CHECK MY WALL

Answers

We will build a wall and lock they door at night

What makes master craftspeople essential for historic preservation?


Master craftspeople are generally not in high demand for new construction projects.

Master craftspeople promote historic preservation efforts through their guilds.

Master craftspeople maintain higher standards of quality than mass production.

Master craftspeople continue the traditions necessary for historic preservation.

Answers

Answer: Master craftspeople maintain higher standards of quality than mass production.

Explanation:

Master Craftspeople are those who have attained the highest level of expertise in their craft. They are highly skilled and their products are known to be of very high quality.

They are important for historical preservation because the quality of the work they produce ensures that it lasts for a long time as opposed to the lower quality of work done through mass production methods.

Answer:

c

Explanation:

I'm sorry if I'm wrong

What is the first step once an essay question has been chosen?
a. Create an outline for the answer
c. Summarize the three main poin
b. Identify vocabulary to be used
d. Write the essay
Please select the best answer from the choices provided
B
c
c

Answers

Answer:

its hrbvuirnr5b

Explanation:

Answer:

create an outline..

Explanation:

A.

What is the relationship between keeping artist-blacksmithing in the public eye and blacksmithing being a living art? (Select all that apply.)


Public visibility ensures a link between current artist-blacksmithing and the past.

Public visibility drives demand for artist-blacksmithing.

Public visibility makes educational standards for artist-blacksmiths stricter.

Public visibility creates an interest in the techniques of artist-blacksmithing.

Answers

Answer:

Public visibility ensures a link between current artist-blacksmithing and the past.

Public visibility drives demand for artist-blacksmithing.

Explanation:

The one-child policy relies on a mix of sticks and carrots. Depending on where they live, couples can be fined thousands of dollars for having a supernumerary child without a permit, and reports of forced abortions or sterilization are common. (Blind rural activist Chen Guangcheng made international headlines in 2005 for exposing just such a campaign by family-planning officials in Eastern China; he was later imprisoned on charges his supporters say were retaliatory.) The law also offers longer maternity leave and other benefits to couples that delay childbearing. Those who volunteer to have only one child are awarded a "Certificate of Honor for Single-Child Parents." Since 1979, the law has prevented some 250 million births, saving China from a population explosion the nation would have difficulty accommodating.



What measures did China historically take to execute its one-child policy?

Answers

Answer:

The policy was enacted to address the growth rate of the country's population, which the government viewed as being too rapid. The policy was enforced by methods ranging from offering financial perks for families in compliance and providing contraceptives to implementing forced sterilizations and forced abortions.

Explanation:

I hope this helps Todo ^^

Answer:

free points party!!

Explanation:

what does a chief executive officer do for a living?

Answers

Answer:

A chief executive officer (CEO) is the highest-ranking executive in a company, whose primary responsibilities include making major corporate decisions, managing the overall operations and resources of a company, acting as the main point of communication between the board of directors (the board) and corporate

What are some of the factors that might have facilitated Chinggis Khan's conquest of the East?

Answers

The correct answer to this open question is the following.

Although there are no options attached. we can say the following.

Some of the factors that might have facilitated Chinggis Khan's conquest of the East could have been these.

We can say that an important factor was the overconfidence of Sultan Ala ad-Din Muhammad II who believed he was more powerful than Genghis Khan.

The context was that Khan had sent diplomats and traders to different regions of the East to increase trade for the Mongols. These people were arrested by the troops of the Sultan and this represented a big insult to Genghis Khan. That is why he decided to send his army and conquer the perpetrators.

Khan wanted revenge and imposed his power and control in many Middle East territories.

The reserve requirement refers to which tool of monetary policy?
A. The ability to adjust interest rates for investors who purchase
stocks
B. The ability to force banks to set aside a certain amount of money
C. The ability to buy and sell treasury securities on an open market
D. The ability to offer loans to banks at discounted rates

Answers

Answer:

B is correct

Explanation:

What are some possible ethical considerations of using hypnosis?

Answers

Answer:

Important ethical considerations relevant to children and hypnosis have emerged, including competence, supervision, informed consent, confidentiality, and boundaries. Considerations are reviewed from a normal and abnormal child development perspective.

6. What impact does drilling for oil in the United States have on short-
term U.S. energy supplies? Long-term supplies?

Answers

Answer:The November Short-Term Energy Outlook (STEO) remains subject to ... has caused changes in energy demand and supply patterns in 2020 and will ... EIA reported that 10.6 million b/d of crude oil was produced in the United States in ... EIA expects drilling activity to rise later in 2021, contributing to U.S. ...

Explanation:

GUYS I NEED HELP!! how do you write a submission essay??? the question is asking why i think i'll succeed at their school

Answers

Answer:

just tell them how you feel abt their school and tell them y you wanted to go and make sure you be honest ok i hope this helped :)

Explanation:

Based on the following, what will firefighter applicants need in order to complete the online portion?

Answers

Answer: Firefighter Selection Tool (FST) in an entry-level firefighter exam recently developed by IOS. The FST is one of the Selection Works Public Safety Exams . The four exam measures are combined to produce one result, hence providing a holistic picture of the potential applicants.

Explanation:

Which of the following is not an example of resources scarcity?
there is a finite amount of petroleum in the world.

farming communities are experiencing droughts.

there are not enough physicians to satisfy all desires for health care in the United States.

cassette tapes are no longer being produced.

teachers would like to have more instructional technology in their classrooms.

Answers

Answer:

D. is the answer as both statement 1 & 2 represents resource scarcity.

In statement 1 (Rapidly growing economies experience increasing levels

of water pollution), here the scarcity is of fresh water.

In statement 2 (There is a finite amount of petroleum in the physical

environment), here the scarcity of petroleum can be seen

Statement 3 is not scarcity because cassette tapes are not in demand any more so their production is been stopped.

Explanation:

Cassette tapes no longer being produced is not an example of resources scarcity.

Resource scarcity refers to when there is a shortage of a certain resource which is necessary for the production of a good or service. In the options given, the instances where there is scarcity are:

First option because the scarce resource is petroleum The second option which shows a scarcity of water as a result of droughtsThe third option where physicians are in short supply which means that they are the scarce resource The fifth option where the scarce resource is a lack on instructional technology.

Cassette tapes no longer being produced is not a result of scarcity but rather because technology has moved on from it and new technologies have led to the development of blue ray disks and flash drives.

More information on scarcity can be found at https://brainly.com/question/17429934.

_________________ set a precedent for the government to use force when necessary in order to maintain social control.
a.
the Thirteenth Amendment
c.
Jay’s Treaty
b.
Battle of Fallen Timbers
d.
The Whiskey Rebellion

Answers

Answer:

C= Jay's Treaty

Explanation:

Jay's Treaty set a precedent for the government to use force when necessary in order to maintain social control.

Answer:

Well the correct answer is...

Whiskey's Rebellion

Explanation:

George Washington sent out the military immediately to quickly shut down any rebellions.

Please help



(1) For centuries, art scholars have studied the renowned works of Leonardo da Vinci, the Renaissance artist, pondering how he created three-dimensional figures with such depth on flat canvases. (2) If da Vinci did have exotropia, in which an eye turns outward, he would not have been the only artist in history with that condition.

(3) Christopher Tyler, a visual neuroscientist at City University of London, noticed a pattern in da Vinci’s portraits and in works depicting the great artist. (4) While few self-portraits of da Vinci exist, Tyler argues that many of da Vinci’s portraits reflect his appearance. (5) As the great artist himself said, the soul “guides the painter’s arm and makes him reproduce himself, since it appears to the soul that this is the best way to represent a human being.”

(6) To test his theory that da Vinci had exotropia, Tyler studied the eye alignments of the subjects of six pieces of art that purportedly depict the Renaissance artist himself, including da Vinci’s Vitruvian Man and Salvator Mundi and Andrea del Verrocchio’s sculpture David. (7) The results confirmed Tyler’s suspicions: da Vinci likely had exotropia, with one eye turning out at -10.3 degrees.

(8) Tyler’s findings, which he published in JAMA Ophthalmology, created a stir in both the art and science communities. (9) Only about 1 percent of the population has exotropia, yet previous studies have suggested that other famous artists—like Rembrandt, Picasso, and Degas—had it as well, which indicates that the eye condition was more common in centuries past than it is now. (10) Tyler believes that da Vinci’s condition was intermittent—that is, his eye drifted out of alignment when he was relaxed, but when he focused, it would realign. (11) If Tyler is right and da Vinci could control his exotropia, then the artist could switch from 2-D to 3-D vision, enhancing his ability to accurately capture three-dimensional figures on a two-dimensional canvas.

The writer is working on a revision of the passage and has written the following thesis statement for it.
Based on the evidence from Tyler’s studies, it is clear that this condition was the primary reason for da Vinci’s success.

Which of the following is most likely the main claim that the writer is planning to make in the new version of the passage?

The only way for an artist to be successful is to have exotropia.
A

Da Vinci was more successful as an artist than others who also had exotropia.
B

Studying just a few works of art can provide compelling information about an artist’s physical conditions.
C

The only way to fully understand an artist’s work is to study the artist’s physical conditions.
D

Da Vinci was a great artist because he had exotropia.
E


Is it E?

Answers

Answer: E

Explanation:

because acoording towhat u wrote

ased on the evidence from Tyler’s studies, it is clear that this condition was the primary reason for da Vinci’s success.

Because acording to what u wrote asked on the evidence from Tyler’s studies, it is clear that this condition was the primary reason for da Vinci’s success.

What is Tylors studies?

A management theory called scientific management examines work flows to boost economic efficiency, particularly labor productivity. Although the phrases "scientific management" and "Taylorism" are sometimes used interchangeably, Taylorism is actually the first form of scientific management.

Taylorism is occasionally referred to as the "classical perspective," which denotes that it is still acknowledged for its influence but is no longer exclusively used.

From 1910 to 1920, scientific management was most well-known, but in the 1920s, other management ideas and techniques emerged, making scientific management essentially irrelevant by the 1930s.

Therefore, Because acording to what u wrote asked on the evidence from Tyler’s studies, it is clear that this condition was the primary reason for da Vinci’s success.

To learn more about Tyler's studies, refer to the link:

https://brainly.com/question/13466554

#SPJ2

15 pts

(1) For centuries, art scholars have studied the renowned works of Leonardo da Vinci, the Renaissance artist, pondering how he created three-dimensional figures with such depth on flat canvases. (2) If da Vinci did have exotropia, in which an eye turns outward, he would not have been the only artist in history with that condition.

(3) Christopher Tyler, a visual neuroscientist at City University of London, noticed a pattern in da Vinci’s portraits and in works depicting the great artist. (4) While few self-portraits of da Vinci exist, Tyler argues that many of da Vinci’s portraits reflect his appearance. (5) As the great artist himself said, the soul “guides the painter’s arm and makes him reproduce himself, since it appears to the soul that this is the best way to represent a human being.”

(6) To test his theory that da Vinci had exotropia, Tyler studied the eye alignments of the subjects of six pieces of art that purportedly depict the Renaissance artist himself, including da Vinci’s Vitruvian Man and Salvator Mundi and Andrea del Verrocchio’s sculpture David. (7) The results confirmed Tyler’s suspicions: da Vinci likely had exotropia, with one eye turning out at -10.3 degrees.

(8) Tyler’s findings, which he published in JAMA Ophthalmology, created a stir in both the art and science communities. (9) Only about 1 percent of the population has exotropia, yet previous studies have suggested that other famous artists—like Rembrandt, Picasso, and Degas—had it as well, which indicates that the eye condition was more common in centuries past than it is now. (10) Tyler believes that da Vinci’s condition was intermittent—that is, his eye drifted out of alignment when he was relaxed, but when he focused, it would realign. (11) If Tyler is right and da Vinci could control his exotropia, then the artist could switch from 2-D to 3-D vision, enhancing his ability to accurately capture three-dimensional figures on a two-dimensional canvas.

The writer is working on a revision of the passage and has written the following thesis statement for it.
Based on the evidence from Tyler’s studies, it is clear that this condition was the primary reason for da Vinci’s success.

Which of the following is most likely the main claim that the writer is planning to make in the new version of the passage?

The only way for an artist to be successful is to have exotropia.
A

Da Vinci was more successful as an artist than others who also had exotropia.
B

Studying just a few works of art can provide compelling information about an artist’s physical conditions.
C

The only way to fully understand an artist’s work is to study the artist’s physical conditions.
D

Da Vinci was a great artist because he had exotropia.
E


Is it E?

Answers

Answer: E (yes)

Explanation:

It should be since it says his “condition was the primary reason for da Vinci’s success”. Hope it is correct

The writer's main claim or thesis in the new version of the passage is D . Da Vinci was a great artist because he had exotropia.

The writer, in the revision of the passage, is claiming that Da Vinci's physical condition (exotropia), using Tyler's studies, was responsible for his success.

In the main, a thesis is a claim that is made by a writer or speaker, which always requires evidence and examples to support it.

The writer is convinced with the evidence provided by Tyler's studies on Da Vinci's exotropia.

Thus, the writer can revise his early thesis statement to conclude that Da Vinci became greatly successful with exotropia.

Read more about thesis statement at https://brainly.com/question/20092269

During stage 2 sleep, most of the brain waves will be measured as __________ waves.

A.
beta
B.
alpha
C.
theta
D.
delta

EDGE 2020! ((: thank you!

Answers

Answer:

c....................

Explanation:

Answer:

C

Explanation:

EDGE 2020

The points (80, 20) and (120, 30) form a proportional relationship. What is the slope of the line that passes through these points?

Answers

Answer:

1/4 or .25

Explanation:

What happens to energy that is not consumed by other organisms? (Site 2)

Answers

it dies bc it needs that

Answer:

long-term geologic processes convert decaying biomass into fossil fuels.

Explanation:

The trade networks described by the two sources were most strongly influenced by:

Answers

The correct answer to this open question is the following.

Unfortunately, your question is incomplete. You did not include the description of the trade networks or the sources. Without that information, we do not know what you are talking about.

However, trying to help you with something, we can comment on the following example.

We can refer to the trade networks developed in the Trans-Saharan

trade. These traders were merchants of the African region -North and Western Africa- who traveled in caravans, using the camel to transport people and products across the deathly Sahara Desert.

They traded many products such as salt and gold, which were the most precious resources of the time. Gold was a valuable mineral with high value, and salt was as important to preserve food. But they also traded animal skins, ivory, silver,  sugar, pepper, and slaves, to important trade centers such as Timbuktu and Djenne.

There are different kinds of trade. The trade networks described by the two sources were most strongly influenced by Increased European demand for luxury goods.

What are trade networks

A Trade network is known as the different kinds of roads, routes or paths by which trade can be seen.

The Demand for luxury goods often goes up when the wealth or income  of a person increases and thus did influence the trade routes that were taken by people.

See full question below

The trade networks described by the two sources were most strongly influenced by

(1 point)

A.

Increased Asian demand for food imports.

B.

Increased European demand for luxury goods.

C.

Increased Chinese maritime activity in the Indian Ocean.

D.

Increased demand for precious metals within European colonies in the Americas.

Learn more about Trade from

https://brainly.com/question/17727564

The history of the Philippines is believed to have begun with the arrival of the first humans using rafts or boats. True or False

Answers

True The history of the Philippines is believed to have begun with the arrival of the first humans using rafts or boats at least 709,000 years ago as suggested by the discovery of Pleistocene stone tools and butchered animal remains associated with hominin activity.

What invention do you think is the most useful and why?

Answers

Answer:

the most useful invention is telephone

Explanation:

it made communication easy and fast

Fridge because it keeps food cold.
Other Questions
Vaughan Company started the year off with an Accounts Receivable balance of $50,000. During the year credit sales were $949,000. Accounts Receivable at the end of year totaled $80,000. What is the average number of days it takes Vaughan Company to collect a receivable? (Do not round your answers in any part of this problem) Please help 13 points and will give branliest :) Byron is 2 years younger than Cindy. Eightyears ago, the sum of their ages was 14.How old is Byron now? If you roll a number cube 60 times and use the results to calculate the experimental probability of rolling a 1, the experimental probability of rolling a 1 will _____ be less than the theoretical probability of rolling a 1. DNA is---- A All of the answers are correct B a double helix C nucleotide bases and sugar-phosphate molecules D atoms of carbon, hydrogen, oxygen, nitrogen, and phosphorus 1 + ( -6 ) = -3 + d how do i solve this 35. Which of the following countries did not lay claim to Samoa in the nineteenth century?FranceGermanythe United StatesGreat Britain You wrote a program to find the factorial of a number. In mathematics, the factorial operation is used for positive integers and zero. What does the function return if the user enters a negative three? def factorial(number): product = 1 while number > 0: product = product * number number = number - 1 return product strNum = input("Enter a positive integer: ") num = int(strNum) print(factorial(num)) -6 1 -3 There is no output due to a runtime error. suppose that three pennies land heads up and you toss the forth penny. What is the probability of landing heads up? how you will know if the equation is polynomial What is the solution to the linear equation? 2/5+p=4/5+3/5pp=1p=2p=8p=10 HELP ME PLSSSSWhich *TWO* statements explain ways in which cells get nutrientsA. The nucleus provides the instructions for making proteins from amino acids.B. Mitochondria change energy stored in organic compounds into a usable formC. Transport proteins help molecules cross cell membranes.D. A chloroplast converts energy from sunlight into organic matter write the equation of a line in point slope form that passes through the point (3,6) and has a slope of -2/3 answers please?????????? I need help on this question You are considering opening a new plant. The plant will cost $100 million upfront. After that, it is expected toproduce profits of $30 million at the end of every year. The cashflows are expected to last forever.1. Calculate the NPV of this investment opportunity if your cost ofcapital is 8%. Should you make the investment?2. Calculate the IRR and use it to determine the maximum deviationallowable in the cost of capital estimate to leave the decisionunchanged. plsss look at the picture and answer the questions What is the principal ? PLEASE HURRY A method of voting where votes are taken electronically.a. roll call voteb. simple resolutionc. recorded vote {8x + 9y = 3 ,6x + 7y = 1 What values of x and y satisfy the system of equations