to determine that a item is not in an unordered array of 100 items, how many values must linear search examine on average? a) 7 b) 10 c) 100

Answers

Answer 1

To determine that an item is not in an unordered array of 100 items, total numbers of values which have to linear search examine on average is 100. The correct answer is C.

What is Linear Search?

Linear Search is described as a sequential search algorithm which starts at one end and goes through each element of a list until the needed element is found, otherwise the search continues till the end of the data set. This is the simplest searching algorithm.

Starting at the beginning of the data set, each item of data is examined until a match is made. Once the item is found, the search ends.

Hence, in this case, since there are 100 items, then there will be 100 numbers of values.

Learn more about linear search at: https://brainly.com/question/15178888

#SPJ4


Related Questions

I need help with this!

I need help with this!

Answers

The length AC in the kite is 8.7 cm.

How to find the side AC in the kite?

A kite is a quadrilateral that has two pairs of consecutive equal sides and

perpendicular diagonals. Therefore, let's find the length AC in the kite.

Hence, using Pythagoras's theorem, let's find CE.

Therefore,

7² - 4² = CE²

CE = √49 - 16

CE = √33

CE = √33

Let's find AE as follows:

5²- 4² = AE²

AE = √25 - 16

AE = √9

AE = 3 units

Therefore,

AC = √33 + 3

AC = 5.74456264654 + 3

AC = 8.74456264654

AC = 8.7 units

learn more on kite here: https://brainly.com/question/27975644

#SPJ9

In which
situation can the Expression
on 8×2 be used to find the total number of head wraps on the shelf

Answers

The expression 8×2 can be used to find the total number of head wraps on the shelf when there are 8 head wraps per shelf and 2 shelves in total, resulting in a total of 16 head wraps.

What is expression?

Expression in mathematics is a combination of symbols and numbers, often using an operation, such as addition, subtraction, multiplication, or division. It can represent a number, a variable, a function, or a mathematical statement. It can also represent a combination of these things. Expressions are used to describe relationships between numbers, variables, and mathematical concepts.

The expression 8×2 can be used to find the total number of head wraps on the shelf when there are 8 head wraps per shelf and there are 2 shelves in total. This expression can be used to calculate the total number of head wraps on the shelves by multiplying 8 (the number of head wraps per shelf) by 2 (the number of shelves). As such, the expression 8×2 can be used to find the total number of head wraps on the shelf when there are 8 head wraps per shelf and 2 shelves in total, resulting in a total of 16 head wraps.

In conclusion, the expression 8x2 can be used to calculate the total number of head wraps on the shelf when there are 8 head wraps per shelf and 2 shelves in total. By multiplying 8 (the number of head wraps per shelf) by 2 (the number of shelves), the total number of head wraps on the shelf can be found, resulting in a total of 16 head wraps.

To know more about expression click-
http://brainly.com/question/1859113
#SPJ1


Complete questions as follows-
In which situation can the Expression
on 8×2 be used to find the total number of head wraps on the shelf?

Slope= -2/5 y-intercept = -3
Please answer ASP!!!!!

Answers

Answer:

the equation would be y=-2/5x-3

Answer:

The answer is y=-2/5x-3

Step-by-step explanation:

Hope this helped, Have a Wonderful Day!!!

Two minor league baseball players got a total of 364 hits. Washington had 18 more hits than Sanchez. Find the number of hits for each player.
Question content area bottom
Part 1
Washington had enter your response here
hits. Sanchez had enter your response here
hits.

Answers

364=s+(s+18)

364-18=346

346/2=173

173+18=191

173=sanchez

191=washington

364=173+(173+18)

P(A or B)=P(A) + P(B)-P(A and B)
P(A and B)=P(A)xP(B|A)
P(B|A)=P(A and B)
P(A)
In a Pew poll of American voters, almost 80% of Democrats say the government
shutdown is a "very serious problem for the country, while just 35% of Republicans feel
the same. 54% of the people polled were Democrats and 46% were Republicans.
(a) Overall, what percentage of American voters say the government shutdown is a
"very serious" problem for the country?
%
Answer=
(b) Set up a 2x2 probability table. Round all percentages to 2 decimal places.
Democrat
Republican
Total
Serious
P(A and B)=P(A)x P(B) (if independent)
Not Serious
Total
%
%
%
%
%
%
%
%
%

Answers

Answer:For part (a), the overall percentage of American voters who say the government shutdown is a "very serious problem for the country" can be calculated as follows:

P(A) = 54% (probability of being a Democrat)

P(B|A) = 80% (probability of saying the shutdown is a "very serious problem" given that the person is a Democrat)

P(A and B) = P(A) * P(B|A) = 54% * 80% = 43.2%

P(B) = 35% (probability of saying the shutdown is a "very serious problem" for Republicans)

P(A|B) = (P(A and B) / P(B)) = (43.2% / 35%) = 123.14%

P(A or B) = P(A) + P(B) - P(A and B) = 54% + 35% - 43.2% = 45.8%

Therefore, the overall percentage of American voters who say the government shutdown is a "very serious problem for the country" is 45.8%.

For part (b), the 2x2 probability table can be set up as follows:

Serious Not serious Total

Democrat 43.2% 6.8% 50%

Republican 10.5% 35.5% 46%

Total 53.7% 42.3% 100%

Step-by-step explanation:

help me, please!!!!!!!

help me, please!!!!!!!
help me, please!!!!!!!

Answers

9514 1404 393

Answer:

  2

Step-by-step explanation:

Alex has 10 money units. Annie has 5 money units. The ratio of amounts is ...

  Alex : Annie = 10 : 5 = 2 : 1

Alex has 2 times as much money as Annie.

Given that 2log (x^2 y)=3 + logx- log y where x and y are both positive, express y in terms of x. If x-y=3, find the value of x and of y.

Given that 2log (x^2 y)=3 + logx- log y where x and y are both positive, express y in terms of x. If

Answers

The values of x and y for the given logarithmic function, 2 log (x²y) = 3 + logx - logy are respectively, 13/2 and 7/2

What is a logarithmic function ?

The logarithmic function is an expression which we can write as, y = logₐx, where a>0 & x>0, It is the inverse of exponential function.

Formulae for logarithmic function are,

LogAB = LogA + LogB

Logₐaᵇ = b

Given that,

the logarithmic function,

2 log (x²y) = 3 + logx - logy

x - y = 3                .....................(i)

2 log (x²y) = 3 + logx - logy

2[ logx² + logy] = 3 + logx - logy

2[ 2logx + logy] = 3 + logx - logy

4logx + 2logy   = 3 + logx - logy

3logx + 3logy = 3

logx + logy = 1

logx + logy = log10

x  +  y  = 10          .............(ii)

By solving the equation (i) & (ii)

x - y = 3

x + y = 10

2x     =  13

x  = 13/2

13/2 - y = 3

y  = 7/2

Hence, the values of x and y is, 13/2 and 7/2

To know more about Logarithmic function check:

https://brainly.com/question/27389970

#SPJ1

The variance in drug weights is critical in the pharmaceutical industry. For a specific drug, with weights measured in grams, a sample of 18 units provided a sample variance of 0.36. a. Construct a 90% confidence interval estimate of the population variance for the weight of this drug. Show your work. b. Construct a 90% confidence interval estimate of the population standard deviation.

Answers

Answer:

a) 0.2218 to 0.7057

b) 0.4710 to 0.8401

Step-by-step explanation:

Given:

sample = n = 18

sample variance = s² = 0.36

To find:

a) 90% confidence interval estimate of the population variance.

b) 90% confidence interval estimate of the population standard deviation.

a)

Compute degree of freedom

degree of freedom = df = n - 1 = 18 - 1 = 17

Compute value of α for a 90% confidence interval  

The confidence level for 90% is:

c = 0.90

So

α = 1 - c = 1 - 0.90 = 0.1

α = 0.1

Now use the table of critical values of the chi-square distribution in order to find critical values. Search for the 17th row of table using df = 17 and find the column corresponding to 1 - α/2 i.e. 0.95 of table for upper tail critical values and column corresponding to α /2 i.e. 0.05 of table for lower tail critical values.

Using the table:

\(X^{2}_{0.95}\) = 8.672

\(X^{2}_{0.05}\) = 27.587

90% Confidence interval estimate of the population variance

The boundaries of CI are computed using formula:

(n−1) s² / \(X^{2}_{\alpha/2}\)  ≤ σ² ≤ (n−1) s² / \(X^{2}_{1-\alpha/2}\)

(n−1) s² / \(X^{2}_{\alpha/2}\)  = (18-1) 0.36 / 27.587

                       = (17) 0.36 / 27.587

                       =  6.12 / 27.587

(n−1) s² / \(X^{2}_{\alpha/2}\)  = 0.2218

(n−1) s² / \(X^{2}_{1-\alpha/2}\) = (18-1) 0.36 / 8.672

                          = (17) 0.36 / 8.672

                          =  6.12 / 8.672

                          = 0.7057

This results in inequalities 0.2218 ≤ σ² ≤ 0.7057 for the variance

b)

90% Confidence interval estimate of the population standard deviation

The boundaries of CI are computed using formula:

√(n−1) s² / \(X^{2}_{\alpha/2}\)  ≤ σ ≤ √(n−1) s² / \(X^{2}_{1-\alpha/2}\)

√(n−1) s² / \(X^{2}_{\alpha/2}\)  = √((18-1) 0.36 / 27.587)

                          = √((17) 0.36 / 27.587)

                          =  √(6.12 / 27.587)

                          = √0.2218

                          = 0.4709

                          = 0.4710

√(n−1) s² / \(X^{2}_{1-\alpha/2}\) = √((18-1) 0.36 / 8.672)

                            = √((17) 0.36 / 8.672)

                            = √ (6.12 / 8.672)

                            = √0.7057

                            = 0.8401

0.4710 ≤ σ ≤ 0.8401 for the standard deviation.

The radius of a circle is 8.9 m. Find the circumference to the nearest tenth.

Answers

The circumference of the circle is 55.9 m

How to calculate the circumference of the circle?

The radius is given as 8.9 m

The formula for calculating circumference of a circle is

= 2πr

= 2 × 3.142 × 8.9

= 55.9

Hence the circumference of the circle is 55.9m

Read more on circumference here

https://brainly.com/question/29047266

#SPJ1

You can fill a ​15-gallon tank of gas for ​$53.08 or buy gas for ​$3.60​/gallon.

Answers

Answer: the better option would be to fill your tank up 15 gallons for $53.08

If you were to multiply 3.60 by 15, you would get 54.

53.08 < 54, therefore 53.08 is the better option.

Hope this helps!

A time traveler can take 5 books with him, and he has 67 books to choose from. How
many different ways can the books be selected?

Answers

He can take 13 books with him each

You roll a die 2 times. What is the probability or rolling a 6 and then a 2?

Answers

Answer:

1 out of 6

Step-by-step explanation:

Each roll of the die is an independent event. This means that the second roll does not rely on the first roll. The probability of rolling a six is one out of six. The probability of rolling a two is also one out of six. Since the two events are independent of each other, you would take the average of the two probabilities, which since they are both one out of six, the probability of rolling a six and then a two is one out of six.

What is the solution of this equation?
x + 3 = 14
Enter the correct answer

Answers

Answer: 11

Step-by-step explanation:

Answer:

11+3=14  x=11

Step-by-step explanation:

What was asked:

What is the solution of this equation?

Step 0 x + 3 = 14

Step 1 14-3=11

Step 2 x=11

Therefore 11+3=14

Three pizza are shared equally among 12 people.what fraction of a pizza will each person get?
A
4/1
B
3/1

Three pizza are shared equally among 12 people.what fraction of a pizza will each person get?A4/1B3/1

Answers

Answer:

d) 1/12

Step-by-step explanation:

Linear function please help it’s due in 30 mins

Linear function please help its due in 30 mins

Answers

Y=2x+1 Hope that helps

Let p=5-2i and q=-3+7i. Write the expression in the form a+bi:
p-q

Answers

Answer:

Step-by-step explanation:

p-q= 5-2i-(-3+7i) = 5-2i+3-7i = 8-9i

The expression in the form a+bi of p-q according to the question is; 8 -9i

Since, p=5-2i and q=-3+7i.

Therefore, p-q can be evaluated as follows;

5 - 2i -(-3+7i)

= 5+3 -2i -7i

= 8 - 9i

Therefore, a = 8 and b = -9

Read more;

https://brainly.com/question/12375854

Given sinz = -4/5 for pi < z < (3pi)/2, find the value of cosz.

Given sinz = -4/5 for pi &lt; z &lt; (3pi)/2, find the value of cosz.

Answers

The angle z is in the third quadrant, the value of cosz is negative. Hence, cosz = -3/5.So, the value of cosz is -3/5.

Given sinz = -4/5 for pi < z < (3pi)/2, we need to find the value of cosz. We can use the trigonometric identity of Pythagorean theorem to find the value of cosz.

According to Pythagorean theorem, sin2θ + cos2θ = 1, where θ is the angle in the right-angled triangle and sin, cos are the trigonometric ratios.

The negative sign for the given sinz indicates that the angle z is in the third quadrant. So, we can take the help of the unit circle to find the value of cosz as shown below:

Here, we have used the Pythagorean identity of sin2z + cos2z = 1 on the unit circle to find the value of cosz. Since the value of sinz is already given, we can find the value of sin2z as: sin2z = sinz x sinz = (-4/5) x (-4/5) = 16/25

Then, we can substitute the value of sin2z in the Pythagorean identity as: cos2z = 1 - sin2z = 1 - (16/25) = 9/25We need to find the value of cosz.

So, we can take the square root of cos2z as: cosz = ±(√(9/25)) = ±(3/5)The sign of cosz can be determined by considering the quadrant of the angle z.

Since the angle z is in the third quadrant, the value of cosz is negative. Hence, cosz = -3/5.So, the value of cosz is -3/5.

For more questions on angle.

https://brainly.com/question/31615777

#SPJ8

The slope and y-intercept of the equation y – 5x = 7.
Graph points

Answers

Answer:

The slope is 5

the y-intercept is (0,7)

Step-by-step explanation:

An open box is to be constructed by cutting out
square corners of x-inch sides from a piece of
cardboard 8 inches by 8 inches and then folding
up the sides. Express the volume of the box as a
function of x

Answers

The volume of the box is a function of x, given by:\(V(x) = 4x^3 - 32x^2 + 64x\)

What is volume ?

Volume is a physical quantity that measures the amount of three-dimensional space that a substance or object occupies. It is usually measured in cubic units, such as cubic meters, cubic centimeters, cubic feet, or cubic inches.

To construct the box, we start with a square piece of cardboard that is 8 inches by 8 inches. We will cut out squares from each corner with side length x inches. This will leave us with a rectangular piece of cardboard with dimensions 8-2x by 8-2x, and we can fold up the sides to form the open box.

The height of the box will be x inches, and the length and width of the base of the box will be 8-2x inches. Therefore, the volume of the box will be:

Volume = Length x Width x Height

Volume = (8-2x) x (8-2x) x x

\(Volume = x(64-32x+4x^2)\)

Therefore, the volume of the box is a function of x, given by: \(V(x) = 4x^3 - 32x^2 + 64x\)

To learn more about Volume from given link.

https://brainly.com/question/1578538

#SPJ1

A voter in the upcoming election has many different types of issues on the ballot. Of the issues on the ballot, 7 are school related, 10 are ordinance related, and 2 are library related. If a single issue is picked at random, what is the probability that the issue is school or library related?

Answers

The probability of randomly picking a school or library-related issue from the ballot is 9/19 or approximately 0.474 (rounded to three decimal places).

To determine the probability of a randomly picked issue being school or library related, you'll need to consider the total number of issues and the number of school and library issues combined.

There are 7 school-related issues, 10 ordinance-related issues, and 2 library-related issues, making a total of 19 issues on the ballot. To find the probability of picking a school or library issue, combine the number of school and library issues: 7 + 2 = 9.

Now, divide the number of school and library issues (9) by the total number of issues (19): 9/19.

To learn more about : probability

https://brainly.com/question/13604758

#SPJ11

hello can someone help me on this question

hello can someone help me on this question

Answers

Answer:

what question

Step-by-step explanation:

at a university, 75%, or 1,014, of first-year students take a maths course. How many first-year students are there at the university?

A. s/1,014 = 75/100 ; 76 students
B. s/1,014 = 75/100 ; 761 students
C. 1,014/s = 75/100 ; 1,352
D. 1,014/s = 75/100 ; 714

help me pls!?

at a university, 75%, or 1,014, of first-year students take a maths course. How many first-year students

Answers

Answer:

C

Step-by-step explanation:

1014=0.75s

1014/0.75=s is the same as 1014/s=0.75

Marcus was showing how he solved a division problem with the area model below. His pen exploded ink on some of his work.

What is the divisor that is covered with ink on the left side of the model?

A. 100
B. 80
C. 56
D. 29

Marcus was showing how he solved a division problem with the area model below. His pen exploded ink on

Answers

Answer:

C

Step-by-step explanation:

an exponential function with a base of 3 that has been transformed from the parent by a vertical stretch by a factor of 4 and a reflection across the y-axis.

Answers

Answer:

idek bro

Step-by-step explanation:

i stink at this math

Find the area of the sector of the circle with central angle of 195° and radius of 7 cm. Use 3.14 for pi(π) and round to the nearest hundredth.

Group of answer choices

23.81 cm2

166.68 cm2

27.86 cm2

83.34 cm2

Answers

Answer:

A ≈ 83.34 cm²

Step-by-step explanation:

the area (A) of the sector is calculated as

A = area of circle × fraction of circle

  = πr² × \(\frac{195}{360}\) ( r is the radius of the circle )

  = 3.14 × 7² × \(\frac{13}{24}\) ( cancelling by 15 )

 = \(\frac{3.14(49)(13)}{24}\)

 ≈ 83.34 cm² ( to the nearest hundredth )

You borrow $600 to buy a violin. The simple interest rate is 15%. You
pay off the loan after 5 years. How much do you pay for the loan?
What would the monthly payment be for the loan?

Answers

Answer:

$1050

Step-by-step explanation:

$600*15%*5=$450 interest

interest+borrowed=loan

$450+$600=$1050

I don't know the monthly payment sorry

During the month of April, a patient drives at least 840 miles to and from the hospital for
medical treatments each day.
a. Write an inequality that represents the number of miles the patient drives per day.
(April has 30 days.)
b. Can the patient drive 28 miles each day? Explain.
C. Can the patient drive 40 miles each day? Explain.
d. The patient is considering going to closer hospital that is at most 11 miles from home.
Write an inequality that represents the number of miles the patient would drive per day.
e. If the patient changes hospitals and continues medical treatments for one year, how
much miles will be saved?

Answers

Answer:30x=840 30 represents the number of days and x represents miles per day

b)yes because 30 (28)= 840 miles

c)yes because 30(40)= 1200 miles and the question said at least 840 so it can be more

d)30(11)=330

e) 10,800- 4,015 miles =6785 miles will be saved

Step-by-step explanation:

Which is the correct equation for a line that passes through the points (-2,7) and (2,-5)?
y=3x+5
y=1/3x+3
y= -3x-12
y= -3x+1

Answers

Answer:

y= -3x+1

Step-by-step explanation:

x1= -2 x2=2 y1=7 y2=-5

using the formula

(y-y1)/(x-x1)=(y2-y1)/(x2-x1)

(y-7)/(x-(-2))=(-5-7)/(2-(-2))

(y-7)/(x+2)=(-5-7)/(2+2)

(y-7)/(x+2)=(-12)/4

(y-7)/(x+2)=-3

cross multiply

y-7=-3(x+2)

y-7=-3x-6

y=-3x-6+7

y=-3x+1

Given the diagram below, what is
cos(45*)?
8 √2
450
Triangle not drawn to scale
O A. 1/√2
O B. 2 √2
O C. 4 √2
O D. √2

Given the diagram below, what is cos(45*)?8 2450Triangle not drawn to scaleO A. 1/2O B. 2 2O C. 4 2O

Answers

The value of cos(45°) is √2/2. The correct answer choice is D. √2.

In the given diagram, the angle labeled as 45° is part of a right triangle. To find the value of cos(45°), we need to determine the ratio of the adjacent side to the hypotenuse.

Since the angle is 45°, we can assume that the triangle is an isosceles right triangle, meaning the two legs are congruent. Let's assume the length of one leg is x. Then, by the Pythagorean theorem, the length of the hypotenuse would be x√2.

Now, using the definition of cosine, which is adjacent/hypotenuse, we can substitute the values:

cos(45°) = x/(x√2) = 1/√2

Simplifying further, we rationalize the denominator:

cos(45°) = 1/√2 * √2/√2 = √2/2

Therefore, the value of cos(45°) is √2/2.

The correct answer choice is D. √2.

for such more question on angle

https://brainly.com/question/25716982

#SPJ8

Simplify each expression by distributing and combining like terms.
1). 7(k+5)
2) 9(n-4)
3) 4(x+5)+2

Answers

Hello!

Answer:

1) 7k+35

2) 9n−36

3) 4x+22

Step-by-step explanation:

1) 7(k+5)

1) 7k+7×5

1) 7k+35

2) 9(n-4)

2) 9n+9×−4

2) 9n−36

3) 4(x+5)+2

3) 4x+20+2

3) 4x+(20+2)

3) 4x+22

Hope this helps!

Other Questions
Which of the following statements best explains the connection between the social status of women and a country'soverall health?A. Women who enjoy a higher social status are usually less educated than women of a lower socialstatus.B. Women who enjoy a higher social status are usually more educated than women of a lowersocial status.C. Women who enjoy a higher social status are likely to have far more children than women of alower social status.D. Women who enjoy a higher social status are less likely to have healthcare resources thanwomen of a lower social status. Why did French citizens storm the Bastille in 1789?O It was the home of the clergy's leaders.It was a symbol of the monarchy's power.It was a place where the government stored food.It was where the king operated the government. Japanese Americans experienced which event during World War II?A. Deportation to JapanB. Enlistment in the Japanese military C. Rejection from participating in the American military D. Relocation to internment camps Which choice was better as an enslaved person. Supporting the revolutionary or the British loyalists. the leader who was responsible for the success of the saint-domingue uprising was IV b. Which of the following is necessary before conducting any experiment in scientific research? i. making discoveries iii. forming a hypothesis ii. drawing conclusions iv. collecting results use what you know ablout the different types of issues one encounters in data integration to draft a request for propsal rfp draw the recursion tree for the merge-sort procedure from chapter 2 on an array of 16 elements. explain why memorization fails to speed up a good divide and conquer algorithm such as merge-sort. I'm not able to look anything up atm but I would like the lyrics to Ritual by Ellie Goulding please and thanks sam takes out a loan of R 1 2000 for a year .if the rate is 12% per annum ,how much interest will he pay prior to the industrial revolution, the primary english law of employment was that, in the absence of a contract, a worker was hired for a year at a time. How do polar aprotic solvents favor SN2 reactions? Highly authoritarian and delegative leaders foster bullying more thandemocratic leaders. Based on the passage, it can be determined that the MAIN reason the King of England wishes to establish a new southern colony is because The real interest rater is given by r = it where i nominal interest rate and at the rate of inflation. Suppose the economy-wide demand for money is given by Mo ... who wasnt allowed in the theater of dionysus Simplify the expression, show all of your work 18 : 2x3 / 5-2 The head of a golf club moving at 45. 0 m/s strikes a golf ball (mass 46. 0 g) resting on a tee. The effective mass of the clubhead is 220 g. (a) with what speed does the ball leave the tee? (b) with what speed would it leave the tee if you doubled the mass of the clubhead? if you tripled it? what conclusions can you draw about the use of heavy clubs? assume that the collisions are perfectly elastic and that the golfer can bring the heavier clubs up to the same speed at impact. See question 13 :((((((((((((((( help How does carbon dioxide affect sea urchins