Answer:
Explanation:
You would take 16-10 to find the missing side length.
The permimiter is the sum of all sides, 16+5+10+6+9+14= 60
Consider the following method, which implements a recursive binary search.
/** Returns an index in arr where target appears, if target appears
* in arr between arr[low] and arr[high], inclusive;
* otherwise, returns -1.
* Precondition: arr is sorted in ascending order.
* low >= 0, high < arr.length, arr.length > 0
*/
public static int binarySearch(int[] arr, int low, int high, int target)
{
if (low > high)
{
return -1;
}
int middle = (low + high) / 2;
if (target == arr[middle])
{
return middle;
}
else if (target < arr[middle])
{
return binarySearch(arr, low, middle - 1, target);
}
else
{
return binarySearch(arr, middle + 1, high, target);
}
}
The following code segment appears in a method in the same class as binarySearch.
int[] arr = {2, 3, 12, 34, 54};
int result = binarySearch(arr, 0, arr.length - 1, 5);
If the first call to binarySearch is the call in the code segment above, with low = 0 and high = 4, which, if any, of the following shows the values of low and high when binarySearch is called for the third time?
A. low = 0, high = 1
B. low = 0, high = 2
C. low = 1, high = 1
D. low = 2, high = 1
E. The method returns to the calling code segment before the third call to binarySearch.
Answer:
D. low = 2, high = 1
Explanation:
Middle is 2
First call: low = 0 high = 1
Middle is 0
Second call: low = 1 high = 1
Middle is 2
Third call: low = 2 high = 1
A technique of identifying a problem (or a set of strategies) in elements of (a simplified version of) itself is known as recursion. therefore, the final answer is "low = 1, high = 1".
Recursion:In the given code, an integer array that is "arr" holds an integer value.In the next step, an integer variable "result" is declared that calls the binarySearch method.In the first time calls Recursion 1, when low = 0 and high = 4 its mid = 2, therefore arr[2] = 12 > 5 = high = mid-1In the second time calls Recursion 2, when low = 0 and high = 1 its mid =0, therefore arr[0] = 2 < 5 = low = mid+1In the third time calls Recursion 3, when low = 1 and high = 1 its mid =1, therefore arr[1] = 3 < 5 = element not foundTherefore, the final answer is "Option C", that is "low = 1, high = 1".
Find out more information about the Recursion here:
brainly.com/question/17298888
What is the file extension for PowerPoint and Word?
Summarize the psychological and sociocultural factors that trigger aggressive behavior. Include the frustration-aggression principle, the social learning approach, the impact of culture, and social scripts in your response.
Plz don't put any links as the answer, bcs that isn't helpful. If anyone could help I will give brainliest
Answer:
hi im adding answer so the other can get brainliest
Explanation:
...
Why is reduced precipitation, rather than drought, the leading cause of limited water availability?
A) Reduced precipitation is the cause of drought.
B) Drought only impacts the supplies of groundwater.
C) Water availability depends upon drought conditions.
D) Drought only affects areas with vegetation.
E) Precipitation limits the amount of water in many environments.
Answer:
A
Explanation:
I need major help please
Answer:
C) III only
Explanation:
The correct option is - C) III only
Reason -
A complementary good is one used in conjunction with another good or service. · Such a good may have little value without its complement.
If the price of complementary goods increases, demand decreases.
But in the graph , there is an increase of demand. So, option (I) is incorrect.
In option (II),
Production cost increase, supply wants to sell its product at high price so, demand decrease.
So, option (II) is incorrect.
In option (III)
Substitute goods are identical, similar, or comparable to another product, in the eyes of the consumer. Substitute goods can either fully or partly satisfy the same needs of the customers.
So, option (III) is correct.
ASAP PLEASE ANSWER 100 POINTS
A person desires to run for the US House of Representatives.
(A) Describe the process the person must undertake to secure a party nomination.
(B) In the context of the scenario, explain how political action committees influence the process described in part A.
(C) Explain how the process described in part B will affect the behavior of a member of Congress.
Answer:
Explanation:
(A) To secure a party nomination, there is usually a vote by members of that party. If there are more than one candidate, then the person with the highest number of votes will get the party nomination.
(B) Political action committees are special interest groups with money. They use it to buy TV ads and other promotions for candidates. It makes candidates they support more likely to be nominated.
(C) When a candidate receives support from a PAC, it is more likely the candidate will listen to its opinions. When the candidate is elected to Congress, the PAC will gain influence for its special interest.
Why must care be taken when reading a histogram?
Which option correctly defines gene?
A the part of DNA that affects chromosomes
B a section of DNA that affects traits
C the passing of traits from parent to offspring
D an inherited characteristic
Answer:
c
Explanation:
Subsistence agriculture is always characterized by
A. double-cropping of specific grains
B. Extensive use of land
C. Production only for family consumption
D. Production only for trade
E. Irrigation and inorganic fertilization
Answer: production only for family consumption
Explanation:
Subsistence agriculture is always characterized by production only for family consumption. The correct option is C.
What is Subsistence agriculture?A subsistence farmer is one who does not produce agricultural goods in big quantities and instead uses what is produced for his or her own consumption rather than small, medium, or large-scale commercialization.
Because just a small number of items are needed to satisfy the producer's demand, this condition negates the need for specialized technology for large-scale production.
Cost efficiency is one advantage of subsistence farming. It does not require the significant capital that a commercial farmer would have otherwise needed, which is the reason. The equipment used is frequently accessible and reasonably priced.
Therefore, the correct option is C. Production is only for family consumption.
To learn more about Subsistence agriculture, refer to the link:
https://brainly.com/question/29765102
#SPJ5
In which step of writing a program does a programmer first use a compiler?
A. documenting
B. testing
C. planning
D. coding
ANSWER IS B TESTING
Answer:
compilation aka D. coding
Explanation:
A compiler takes the recipe (code) for a new program (written in a high level language) and transforms this Code into a new language (Machine Language) that can be understood by the computer itself.
Answer:
d coding
Explanation:
Which of these is a function of the digestive system?
A.
transports nutrients to other organs
B.
eliminates nondigestible waste
C. regulates blood flow
D.
builds big molecules from smaller molecules
eliminates nondigestible waste
So B is the answer
What is the difference between a joke and a mistake if my parents use both in one sentence while talking to me?
Answer:
joke is doing something which you knew it will cause a problem and mistake is doing things without knowing the result
Which of the following was NOT an effect of the second agricultural revolution?
A) improved life expectancy
B) improved diets
C) more people available for factory work
D) improved medicine
E) an increase in the output of farms
Suppose you have a 100 mg sample of Au-191, which has a half-life of 3.4 hours. How much will remain after 10.2 hours?
A 100 mg
B 50 mg
C 25 mg
D 12.5 mg
Extracting the raw materials through drilling is the first step in the production of oil and gasoline.
True
False
Answer: pretty sure it's true
Explanation:
Which best explains the governance of the shaded areas shown on the map. With a map of American Indian reservations.
Answer:
These areas show where indigenous people have limited amount of self governance at a national scale
Explanation:
The areas depict how native groups have minimal self-government on a national scale, thus best explaining the administration of the colored areas depicted on the map.
The federal Indian reservation is indeed an area of land designated as a permanent tribal homeland by a treaty or even another arrangement with the United States. Its executive order, specific law, or administrative action, where the national government retains the claim to the property in trust for the tribe. The primary goals for Indian reservations were to put American Indians under the supervision of the U.S. government. It reduces violence between Indians and whites and encourages American Indians to embrace the white man's lifestyle.Learn more about American Indian reservations:
brainly.com/question/23607115
A_____ is the place where an organism lives.
Answer:
Habitat.
Explanation:
A habitat, or a natural home that an organism presides in, is the place where an organism lives.
~
Answer:
H-A-B-I-T-A-T
Habitat
Cheryl made a one-time deposit at Eagle Savings & Loan of $6,400. The bank offers a 4.5% interest rate compounded annually. What is the amount of interest Cheryl will earn at the end of 5 years? A $7,975.56 B $34,622.30 C $1,440.00 D$1,575.56
Answer: my teacher reviewed this problem so here you go sorry its late
Explanation:
1,575.56
WILL GIVE BRAINLIEST
Which of the following best reflects how conditions described in this passage affected developing countries such as India?
A. The Indian government taking ownership of private industries to protect the country’s economy
B. People moving from India to more developed countries such as Great Britain in search of work
C. Industrial production centers closing in India, as those kinds of jobs moved back to Europe
D. India’s economy modernizing to catch up with the developed world
Answer:
B
Explanation:
Give Brainlyist plsss
Which of the following statements best explains how the world cities listed in the table function within the world's urban hierarchy?
A. The top 10 world cities have significant impact on the international economy and are important drivers of globalization
B. The cities with larger populations are the biggest drivers of global innovation
C. The cities with smaller populations can be expected to experience the fastest rates of population growth within the next several decades
D. The top 10 world cities offer a wide array of services but, the services are restricted to local populations
E. The top 10 cities are diminishing in financial and cultural significance due to the process of globalization
Answer:
Your answer is D
sorry if I'm wrong
yes I did this because I want people to see this instead of a comment
The top ten cities in the world have a huge effect on the global economy and are key drivers of globalization.
Impact of urbanization and globalization:Urbanization results in a steady loss of agricultural land, both directly through land take and implicitly through the use of agricultural land for non-productive countryside activities such as leisure, horse-keeping, and hobby farming.
Urbanization enables external scale and scope economies, lowers transaction costs, and allows enterprises to specialize, resulting in reduced production costs. According to a 2004 study, doubling the size of cities can result in a 3–8% boost in production.
So option "A" is the correct answer to the following question/
Find out more about 'Urbanization'.
https://brainly.com/question/26609978?referrer=searchResults
Please explain and only respond if you know the answer. Links will be reported
Starting around 8,000 BCE, which one of the
following groups began in central Asia and
migrated east, west, and south?
A. The Olmecs
B. The Bantu
C, The Indo Europeans
D, The Hebrews
Answer:
it's C, The Indo Europeans
Explanation:
Hope this helps
what are some ways to give back to the community
Answer: Donate. Sometimes giving back to the community is as simple as giving
Explanation:
Refer to the diagram below. If m∠FGJ=21º, find m∠GCD.
Answer:
69
Explanation:
so angles FGJ and BGC are the same. The inside of a triangle is 180 degrees.
[tex]GCD=x\\180=90+21+x\\180=111+x\\180-111=111+x-111\\69=x[/tex]
What question has never been asked?
Answer:
If you could eat fish would you
Explanation:
No one has asked me this because I can eat fish lol
How many Men and Women are currently in the 117th Congress? I can't seem to find a good number absolutely anywhere. When I do end up finding a number, it's only for women and another article directly contradicts it... Any help is welcome, this is for a US Government assignment!
Answer:
280
Explanation:
280
How would an organization minimize the occurrence of groupthink?
A. Using a highly authoritative leader
B.hiring the most intelligent applicants
C.giving free rein to diverse opinions
D.submitting to public review and scrutiny
Giving free rein to diverse opinions would an organization minimize the occurrence of groupthink. Hence, option C is correct.
What is groupthink?When people reach an agreement without exercising critical thought or assessing the benefits and drawbacks, it is known as groupthink. The foundation of groupthink is a shared desire to keep the balance of the group.
Groups subject people to psychological pressure in order to get them to agree with the views of the leaders and other participants. The core of collective thinking is this. Two well-known examples of group-think are the US decision to attack Cuba in 1961 and Coca-decision Cola's to launch "New Coke" in 1985.
Groupthink occurs when a group of people base their conclusions or judgments on the group's consensus rather than on individual analysis and critical thought.
Thus, option C is correct.
For more information about groupthink, click here:
https://brainly.com/question/24961412
#SPJ2
One way that companies misrepresent themselves about scholarship opportunities in an effort to gain the trust of students is to:
A: Offer scholarships that do not exist
B: Offer additional financing
C:Promise 100 percent success rates
D:Claim they represent the government
Answer:
ima go with A
Explanation:
Answer:ITS D JUST FINISHED
Explanation:
What are the environmental impacts of climate change?
Answer:
There are so many.
Explanation:
Temperatures Rising,
More Droughts/Heat Waves,
Sea Levels Rising,
Ice Caps Melting,
More Endangered Animals
Following a comparative dental identification Victor found that the postmortem and antemortem data were a complete mismatch. Which type
of conclusion is this?
A inclusion
B negative identification
C positive identification
D Exclusion
Answer:
b) Negative Identification
Explanation:
Edmentum
In the Nitrogen cycle, how do we as humans (2ways) get nitrogen into our bodies?
Explanation:
1: Nitrogen fixation
some micro organisms are able to change gaseous nitrogen directly to protein. These micro organisms are in the root nodules of legumes...and ...hey ! we take legumes for food♀️