Suppose that a list of nine items, (r(l),r(2),...,r(9)), is sorted by key in decending order so that r(3).key = 12 and r(4).key = 10. List the executions of the BinarySearch algorithms that would be needed to complete BinarySearch(1,9) when:________.
(a) The search key is C = 12
(b) The search key is C = 11

Answers

Answer 1

Find the given attachments

Suppose That A List Of Nine Items, (r(l),r(2),...,r(9)), Is Sorted By Key In Decending Order So That
Suppose That A List Of Nine Items, (r(l),r(2),...,r(9)), Is Sorted By Key In Decending Order So That

Related Questions

What is the length of the diagonal in a rectangular prism that measures 8mm by 14mm by 6m? Round your answer to the nearest tenth

Answers

Answer:

17.2

Step-by-step explanation:

It's kinda like the pythagorean theorem where you square the sides, add them, and then square root the answer. I hope this is correct

1. Michael rented a car for one day at a daily rate of $42. He also had to pay
$0.55 per mile driven, but there were no other fees. If Michael returned the.
car at the end of the day and paid $114.60, how many miles did he drive? *

Answers

Answer:

132 Miles

Step-by-step explanation:

First you must subtract $42 from $114.60.

[tex]114.60 - 42 = 72.6[/tex]

Then, you need to divide $0.55 by $72.6.

[tex]72.6 \div 114.60 = 132[/tex]

Hope this helped! :)

1
2
Arionna claims that since there are 3 feet in a yard, there are 9 cubic feet in a cubic yard. Which statement about her claim is
true?
Arionna is correct because there are 3 feet across the length of a cubic yard and 3 feet across the depth of a cubic yard.
3x3-9
Arionna is correct because there are 3 feet in a yard and there are 3 dimensions in a cubic yard length, depth, and height
3x3-9
Arionna is incorrect. There are only 3 cubic feet in a cubic yard because there are 3 feet in a yard, and the proportion wil
remain constant
Arionna is incorrect. There are 27 cubic feet in a cubic yard because a cubic yard is a prism with dimensions 3ft, 3x3ft
A prism with those dimensions will take 27 cubes to fill it if each cube is a unit cube of 1 ft
Helppppp

Answers

Answer:

Arionna is incorrect. There are only 3 cubic feet in a cubic yard because there are 3 feet in a yard, and the proportion will remain constant.

Step-by-step expArionna is incorrect. There are only 3 cubic feet in a cubic yard because there are 3 feet in a yard, and the proportion will remain constant.

lanation:

Answer:

The short answer you are looking for is C!

Step-by-step explanation:

I hope you all live a long prosperous life, I wish that you and your family live long and happy, I hope that you will all get through this pandemic and get good flying grades! god bless you if you read this to the end, I love you. ʕっ•ᴥ•ʔっ <3

Get 14 points, Plz help me with this question, and give the right answer cause it's important

Answers

All angles are of triangle and thus give sum of 180⁰

x + 5 + 7x - 5 + x = 180⁰

9x = 180⁰

x = 20⁰

Answer:

it's 20

Step-by-step explanation:

(X+5)° + (7x-5)° + x°= 180° { sum of the three angles of the triangle is 180°}

X+5+7x-5+X = 180

X+7x+X+5-5= 180

9x+0 = 180

9x = 180

therefore X= 180/9

= 20

Simplify the square root of 18

Answers

Answer: [tex]3\sqrt{2}[/tex]

Step-by-step explanation:

[tex]\sqrt{18}[/tex] = [tex]\sqrt{3*6}[/tex] = [tex]\sqrt{3*3*2}[/tex] = [tex]\sqrt{3^{2}*2 }[/tex] = [tex]3\sqrt{2}[/tex]

What are the domain and range of g(x)=−14(x−21)2+47?

Answers

Answer:

Step-by-step explanation:

Let's solve for g.

gx=(−14(x−21))(2)+47

Step 1: Divide both sides by x.

gx

x

=

−28x+635

x

g=

−28x+635

x

Answer:

g=

−28x+635

x

The product of 2 and 8 divided by 8 is equal to?

Answers

Answer:

2

Step-by-step explanation:

product of 2 and 8= multiply

2x8=16

Divide by 8

16/8=2

Robin is 11 years old. Her mother, Gwen, is 2 years more than 3 times Robin’s age. How old is Gwen?

Answers

Answer:

35 years old.

Step-by-step explanation:

To find the age of Gwen, multiply Robin's age, which is 11, by 3, which gives you 33. Then add two to 33 to get Gwen's age, which is 35 years.

Answer:

Gwen is 35 years old

Step-by-step explanation:

In order to understand the word problem better, I turned it into and equation.

Since Gwen is 2 years older than 3 times Robins age, the equation would be:

Gwens age = (3 • Robins age) + 2

G = (3 • 11) + 2

G = (33) + 2

G = 35

So Gwen is 35 years old.

Pip and Sara win some money and share it in the ratio 7:5. Pip gets £30 more than Sara. How much did Sara get?

Answers

Answer:

75 sweets.

Step-by-step explanation:

Pip gets 7/(7+5) = 7/12 .

Let Sara get x sweets so Pip gets 7/5 x sweets.

7/5 x = x + 30

2/5 x = 30

x = 5/2 * 30 =  75.

Sara gets 75 sweets.

Answer:

Sara has £75

Step-by-step explanation:

Pip : Sara

7   :    5

If Pip gets £30 more than Sara, then

5x+30=7x

Where x is £?

Subtract 5x from both sides

30=2x

Divide both sides by 2

x=£15

£15

Pip : Sara

105:  75


Mary walks the 3 day breast cancer walk. They break the 62 miles evenly for each day. How
4
many miles does she walk in one day?

Answers

Answer:

she would walk at least those 62 miles

Step-by-step explanation:

We are told that in the 3 days of the walk to fight cancer, Mary breaks the 62 mile barrier every day, that is to say that every day she travels 62 miles or more.

You ask us how much she walks in a single day, considering what the statement that goes at least 62 miles each day says, she would walk at least those 62 miles on a normal day.

​Claim: Most adults would erase all of their personal information online if they could. A software firm survey of 564 randomly selected adults showed that 56​% of them would erase all of their personal information online if they could. Find the value of the test statistic.

Answers

Answer:

The value of z test statistic is 2.871.

Step-by-step explanation:

We are given that a software firm survey of 564 randomly selected adults showed that 56​% of them would erase all of their personal information online if they could. Find the value of the test statistic.

Let p = population proportion of adults who would erase all of their personal information online if they could.

So, Null Hypothesis, [tex]H_0[/tex] : p [tex]\leq[/tex] 50%      {means that adults who would erase all of their personal information online if they could is less than or equal to 50%}

Alternate Hypothesis, [tex]H_A[/tex] : p > 50%     {means that majority of adults would erase all of their personal information online if they could}

The test statistics that would be used here One-sample z test for proportions;

                            T.S. =  [tex]\frac{\hat p-p}{\sqrt\frac{\hat p(1-\hat p)}{n} {} }[/tex]  ~ N(0,1)

where, [tex]\hat p[/tex] = sample proportion of adults who would erase all of their personal information online if they could = 56%

           n = sample of adults taken = 564

So, the test statistics  =  [tex]\frac{0.56-0.50}{\sqrt\frac{0.56(1-0.56)}{564} {} }[/tex]

                                       =  2.871

The value of z test statistic is 2.871.

A rectangular room is 12 1/2 feet long and 10 1/3 feet wide. What is the area of the room?

Answers

Answer:120 1/6 feet sq.

Step-by-step explanation: Area of a rect. = length×breadth(width)

Area=12 1/2× 10 1/3

Area= 120 1/6

Please rate 5 stars and vote as brainliest:)

(^o^)(^o^)(^o^)(^o^)(^o^)(^o^)(^o^)(^o^)(^o^)(^o^)(^o^)

In circle G, r = 3 units. Maria draws a circle with double the area of circle G.
What is the area of Maria’s circle?

Answers

Answer:

The answer 28.27 *2 = 56.54

Step-by-step explanation:

A= πr^2

The area of Maria's circle, which is double the area of circle G is: 56.52 sq. cm.

What is the Area of a Circle?Area of a circle = πr²r = radius of the circle

Given:

Radius (r) of circle G = 3 units

Area of circle G = π(3²) = 28.26 sq. units.

Area of Maria's circle = 2(area of circle G)

Therefore:

Area of Maria's circle = 2(28.26)

Area of Maria's circle = 56.52 sq. cm.

Learn more about area of circle on:

https://brainly.com/question/12269818

Three friends equally share 1/2 of a pizza how much of the pizza does each friend get

Answers

The answer to this problem is 1/6.

The share of the pizza each friend will have is 1 / 6.

What is an expression?

Expression in maths is defined as the collection of numbers variables and functions by using signs like addition, subtraction, multiplication, and division.

Numbers (constants), variables, operations, functions, brackets, punctuation, and grouping can all be represented by mathematical symbols, which can also be used to indicate the logical syntax's order of operations and other features.

Given that three friends equally share 1/2 of a pizza. The fraction of the pizza shared by each friend will be:-

Fraction of pizza = ( 1 / 2 ) x ( 1 / 3 )

Fraction of pizza = ( 1 / 6 )

Therefore, the share of the pizza each friend will have is 1 / 6.

To know more about expression follow

https://brainly.com/question/17220365

#SPJ2

In a restaurant there are 8 starter 15 main dishes 9 dessert Jane is going to choose one of the following how many different ways are there for her to choose

Answers

Answer:

1335

Step-by-step explanation:

Starter + Main = 8 x 15 = 120

Main + Dessert = 15 x 9 = 135

Starter + Main + Dessert = 8 x 15 x 9 = 1080

120 + 135 + 1080 = 1335 possibilities

Answer:

Step-by-step explanation:

STARTER + MAIN:

8 x 15 = 120

MAIN + DESSERT:

15 x 9 = 135

STARTER + MAIN + DESSERT:

8 x 15 x 9 = 1080

120 + 135 + 1080 = 1335 possibilites

a is 100% more than b.
Which of these shows the ratio a:b?
2:1
100:1 1:100
1:2
A
B
C
D

Answers

Answer:

2-1=1 so A. is 100% more than B because A is 2 times bigger than B.

A. is the answer 2:1

Hope this helps

Step-by-step explanation:

The option that shows the ration A: B is Option C - 1:2. See the rationale below.

How to compute the above

If A is 100% more than B, it means that A is equal to B plus 100% of B. In other words, A is twice the value of B.

Therefore, the ratio of A to B is 1:2, indicating that A is twice as much as B.

Recall that a ratio is a quantitative relationship between two or more quantities, indicating how many times one quantity is contained or repeated in relation to another quantity.

It is expressed as a fraction or with a colon (:), representing the relative comparison of the quantities.

Learn more about ratio  at:

https://brainly.com/question/12024093

#SPJ2

Using the image of ⊙O to find the value of x, y and z.

Answers

Answer:

x = 30°

y = 60°

z = 96°

Step-by-step explanation:

Well the angle from the center that intercepts 120° is equal to 120° since it is a central angle.

y = 60° because oof supplementary angles.

The measure of z is 48 * 2 because the 48° is an inscribed angle.

z = 96°

And, the arc that angle y intercepts is also the arc the x intercepts.

That arc is 60° because 180° - 120° = 60°

x is an inscribed angle, so x = 1/2 * 60°

x = 30°

Hope this helps.

if f(x) =6x-4 what is f(x) when x=8

Answers

Answer:

it's 44

Step-by-step explanation:

6(8) - 4

48 - 4

44

Find the balance earned on an account that has $60,000 deposited for 6 years at 1.125% interest compounded continuously? Please help

Answers

Answer:

The balance of the account is $64,190.

Step-by-step explanation:

The amount of money after t years of continous compounding is given by the following equation:

[tex]P(t) = P(0)e^{rt}[/tex]

In which P(0) is the initial deposit and r is the interest rate, as a decimal.

$60,000 deposited for 6 years at 1.125% interest compounded continuously.

This means that [tex]P = 60000, r = 0.01125, t = 6[/tex]

So

[tex]P(6) = 60000e^{0.01125*6} = 64190[/tex]

The balance of the account is $64,190.

A line passes through the point (4,-6) and has the slope of -3/4. Which is the equation of the line? y=-3/4x-3 y=-3/4x-6 y=-3x-3/4 y=-6x-3/4

Answers

Answer:

hope this helps you

is (1,3) a solution to this system of equations?
4x + 5y = 19
x + 5y = 16

Answers

Answer:

Yes

Step-by-step explanation:

I graphed both of the equations on the graph below to show you that they intersect at the point (1,3), making it the solution to the system.

If this answer is correct, please make me Brainliest!

Answer: Yes

Step-by-step explanation:

About 10% of the population is left-handed. Use that statistic to answer the questions below.

Answers

Answer:

What is the question?

Step-by-step explanation:

Complete parts ​(a) through ​(c) below. ​(a) Determine the critical​ value(s) for a​ right-tailed test of a population mean at the alphaequals0.05 level of significance with 15 degrees of freedom. ​(b) Determine the critical​ value(s) for a​ left-tailed test of a population mean at the alphaequals0.10 level of significance based on a sample size of nequals10. ​(c) Determine the critical​ value(s) for a​ two-tailed test of a population mean at the alphaequals0.05 level of significance based on a sample size of nequals13.

Answers

Answer:

a) [tex] t_{\alpha}= 1.753[/tex]

b) [tex] t_{\alpha}= -1.383[/tex]

c) [tex] t_{\alpha/2}= \pm 2.179[/tex]

Step-by-step explanation:

Part a

For this case we know that the degrees of freedom are:

[tex] df = 15[/tex]

And we want a right tailed test so then we need to find in the t distribution with degrees of freedom =15 a critical value who accumulate 0.05 of the area in the right and we got:

[tex] t_{\alpha}= 1.753[/tex]

Part b

For this case the significance is [tex]\alpha=0.1[/tex] the degrees of freedom are:

[tex] df = n-1= 10-1=9[/tex]

And since is a left tailed test the critical value for this case would be:

[tex] t_{\alpha}= -1.383[/tex]

Part c

For this case the significance is [tex]\alpha=0.05[/tex] and [tex]\alpha/2=0.025[/tex] the degrees of freedom are:

[tex] df = n-1= 13-1=12[/tex]

And since is a two tailed test the critical values for this case would be:

[tex] t_{\alpha/2}= \pm 2.179[/tex]

Please do it on a piece of paper if possible <3

Answers

To find the area, we need the height of the triangle first. We already have the base.

Let's find the height (BA)
tan = opposite / adjacent

tan 35 = BA / 12
BA = 12 * tan35
BA = 12 * 0.7002079283708176
BA = 8.402


Area of the triangle = 12*BA/2 = 6*BA = 50.412 square units

If 15+3x=3(2−2x), then x= [blank]

Answers

Answer:

x = -1

Step-by-step explanation:

15+3x=3(2−2x)

Distribute

15+3x = 6 -6x

Add 6x to each side

15+3x+6x = 6-6x+6x

15+9x = 6

Subtract 15 from each side

15-15+9x = 6-15

9x = -9

Divide by 9

9x/9 = -9/9

x = -1

How many cubes with side lengths of 1/2 does it take to fill the prism? The prism has dimensions of 1, 2, and 2 1/2 cm

Answers

Answer:

The volume of the cube is 1/2 x 1/2 x 1/2 = 1/8

length x width x height = volume

1x2x2.5=5

2 1/2 = 2.5 because 1/2=0.5

to divide fractions multiply the reciprocal. The reciprocal is the fraction flipped over

5 / 1/8 = 5 x 8/1

5x8/1=40

40 cubes

Step-by-step explanation:

Which is true of the number 55,555?

A.Each digit has a value less than the value of the digit to its right and greater than the value of the digit to its left.
B.Each digit has a value 10 times the value of the digit to its right and 10 times the value of the digit to its left.
C.Each digit has a value 110 of the value of the digit to its right and 10 times the value of the digit to its left.
D.Each digit has a value 10 times the value of the digit to its right and 110 of the value of the digit to its left.

Answers

Answer:

  D.  Each digit has a value 10 times the value of the digit to its right and 1/10 of the value of the digit to its left

Step-by-step explanation:

Digits increase in value by a factor of 10 for each place you move to the left. Hence a digit to the right has 1/10 the value.

_____

Comment on place value

The multiplier for a base-10 (decimal) number system is 10 as you move one place to the left. In some other base, the multiplier is that base. In a binary (base-2) number system, each "bit" increases in value by a factor of 2 as you move to the left.

The number would be a math object used in counting, measurement, and labeling.The numbers are increased by 10 for every spot to the left.Therefore, [tex]\bold{\frac{1}{10}}[/tex] is the value in a right digit.When you move one place to the left, there is a multiplier for a 10-base system (decimal number).The multiplier is this base in some other base. In each "bit" boosts a value by a factor of 2 in a binary (base-2) number system when one moves left.

Therefore, the "Choice D" is the only correct answer.

Learn more:

brainly.com/question/10301376

A vertical pole stands in the sea. A mark, X, on the pole is 1.6m above sea level at low tide, the sea level is 3.9m higher than at
low tide.
(a) Find the distance of x below sea level at high tide.
(b) What is the position of x from sea level at the time when the sea level is exacly half way between high tide and low tide?​

Answers

Answer:

ummm I would say a angle of 7.65

Step-by-step explanation:

Answer:

7.65

Step-by-step explanation:

Andrea got 3 times as much candy than Stacy.If Stacy and Andrea got 28 pieces,how many pieces did Andrea get?

Answers

Answer:

Step-by-step explanation:

28x3=84

Answer:

The answer is  84

Because 28x3=84

Seemas little sister is now 5 years old.if Her age is 2 years more than 1/4 of seemas age, how old is seems

Answers

Answer:

12

Step-by-step explanation:

Seema’s little sister is 2 years more than ¼ of Seema’s age, so you should subtract 2 from 5 to find ¼ of Seema’s age. If 3 is ¼ of Seema’s age, all you do is multiply it by 4 to get the original number. 3x4 is 12, so the final answer is that Seema is 12.

Other Questions
You must fill out a W-4 form when A: you get a new job B: you have a kid C:you get married D: all the above if there are 5280 feet in every mile, then what is the soeed if the car that is traveling 35 miles per hour in feet per second ANSWER ASAP! I GIVE BRAINLIEST! ALREADY FOUND ANSWER BUT DO NOT KNOW IF CORRECT! Choose equation that best matches the table of x- and y- values Someone pls help me.Give explanation for brainliest For the following error, considered individually, indicate whether the error would cause the trial balance totals to be unequal. If the error would cause the trial balance totals to be unequal, indicate whether the debit or credit total is higher and by how much. a. The payment of cash for the purchase of office equipment of $10,100 was debited to Land for $10,100 and credited to Cash for $10,100. QUICK HELP PLSEvaluate the questions below and select the statistical ones.AWhat is the mass of earth?BWhat is the mass of Halley's Comet? CHow massive are asteroids in the asteroid belt? About how many soldiers were in each army Introduction: Sort the characteristics and goals of each country to where they best belong.was ruled by the Communist PartyUnited StatesSoviet Unionencouraged Communist revolutionslimited fredressionfought the spread of communismwanted butter states to protectitequated Security with democracypracticed that of containmenthad a democratic government Which of the following isNOT a statistical question?A.How many chocolates aredefect- free at a factory, eachday this month?B. How many customers start anew cell phone plan each dayafter a sale starts?C.How much media do Americanconsumers watch each day?D.What is the legal age ofvoting in Alabama? Franklin McCain says: As time went on, it ceased to matter because you could come in around lunch time and you could see alternating almost black, white, black, white patrons - nobody paid much attention to it...and you ask yourself...what was all the fuss about in the first place? What does McCain mean by this? algebra 1 : ordered pairs kinda dont get it De qu manera las lneas frontales confederadas eran similares a las lneas frontales de la Unin? what did the civil rights law help do for blacks? A study by Consumer Reports showed that 64% of supermarket shoppers believe supermarket brands to be as good as national name brands. To investigate whether this result applies to its own product, the manufacturer of a national name-brand ketchup asked a sample of shoppers whether they believed that supermarket ketchup was as good as the national brand ketchup.a. Formulate the hypotheses that could be used to determine whether the percentage of supermarket shoppers who believe that the supermarket ketchup was as good as the national brand ketchup differed from 64%.b. If a sample of 100 shoppers showed 52 stating that the supermarket brand was as good as the national brand, what is the p-value?c. At = .05, what is your conclusion?d. Should the national brand ketchup manufacturer be pleased with this conclusion?Explain. What is nationalism and give an example of nationalism today? Which of the following individuals influenced Hitlers worldview?A. scientist Albert EinsteinB. Vienna Mayor Karl LuegerC. Winston ChurchillD. Paul von Hindenburg Whats the a Average weight of a 5 8 inch man The Earth's diameter at the equators is _____ its diameter at the poles. A:greater than B:equal to C:less than What experienced increased popularity due to a movie named after the sport?A. Laser tagB. DodgeballC. Surfing D. Ultimate