A stub function is:__________.
A) A short function
B) A function that has been unit tested
C) A function that acts as a placeholder and returns a simple value so another function can be tested
D) A function that is broken down into smaller steps through step-wise refinement

Answers

Answer 1

Answer: c. A function that acts as a placeholder and returns a simple value so another function can be tested.

Step-by-step explanation:

A stub simply means a function which has an expected signature but has an incomplete implementation. It is put in place in order for codes to be tested before the functions are fully written.

A stub is a function that acts as a placeholder and returns a simple value so another function can be tested. Therefore, the correct option is C.


Related Questions

g A manufacturer of nickel-hydrogen batteries randomly selects 100 nickel plates for test cells, cycles them a specified number of times, and determines that 11 of the plates have blistered. Does this provide compelling evidence for concluding that more than 10% of all plates blister under such circumstances

Answers

Complete Question

A manufacturer of nickel-hydrogen batteries randomly selects 100 nickel plates for test cells, cycles them a specified number of times, and determines that 11 of the plates have blistered. Does this provide compelling evidence for concluding that more than 10% of plates blister under such circumstances?

A) State H_0 and H_a, (5 pts)

B) Test the hypothesis using the P-Value approach at a significance level of 4%: (15 pts)

Expert Answer

Answer:

a)[tex]H_0:p=0.10[/tex]

  [tex]H_a:p>0.10[/tex]

b) We fail to reject Null hypothesis

Step-by-step explanation:

From the question we are told that:

Sample size n=100

No. with blistered x=11

a)

Generally the Hypothesis given as

[tex]H_0:p=0.10[/tex]

[tex]H_a:p>0.10[/tex]

b)

Since p=0.10

Therefore

[tex]p'=\frac{11}{100}[/tex]

[tex]p'=0.11[/tex]

Test statistics

[tex]Z=\frac{p'-p}{\sqrt{p(1-p)}}[/tex]

[tex]Z=\frac{0.11-0.10}{\sqrt{0.10*0.90/100}}[/tex]

[tex]Z=1.33[/tex]

From table

[tex]P-Value =0.092[/tex]

Therefore

P-value >0.04 significance level

Hence,We cannot conclude that at [tex]4\%[/tex] significance level the proportion is greater than [tex]10\%[/tex]

We fail to reject Null hypothesis

write your answer in simplest radical form​

Answers

Answer:

a = 4[tex]\sqrt{3}[/tex]

Step-by-step explanation:

Using the cosine ratio in the right triangle and the exact value

cos60° = [tex]\frac{1}{2}[/tex] , then

cos60° = [tex]\frac{adjacent}{hypotenuse}[/tex] = [tex]\frac{2\sqrt{3} }{a}[/tex] = [tex]\frac{1}{2}[/tex] ( cross- multiply )

a = 4[tex]\sqrt{3}[/tex]

Use the distributive property to find the product of the rational number.
5/2 (- 8/5 + 7/5)

Answers

9514 1404 393

Answer:

  -1/2

Step-by-step explanation:

The factor outside parentheses multiplies each term inside.

  5/2(-8/5 +7/5)

  = (5/2)(-8/5) +(5/2)(7/5)

  = -8/2 +7/2 = -1/2

Solve the problem,
289 chocolates are to be packed into boxes, each of which will contain 12
chocolates. How many boxes of chocolates will there be? How many chocolates will
be left over?

Answers

Answer:

24 boxes, 1 chocolate remaining

Step-by-step explanation:

289 chocolates total, each box is 12.

just divide it and whatever is left will be your remainder.

289/12 = 24 boxes, 1 chocolate remaining

sub to gauthmath sub reddit for more help like this !

bionomial probabilities

Answers

Answer:

Binomial probability refers to the probability of exactly x successes on n repeated trials in an experiment which has two possible outcomes (commonly called a binomial experiment).

Hope this will help you :)

(7 points) for the given diagram, it is known that e is the midpoint of ad and bc. use this information to prove that triangle aec= triangle deb. each congruence or ewuality and statement must be accompanied by a reason
PLS HELP

Answers

Given:

E is the midpoint of AD and BC.

To prove:

[tex]\Delta AEC\cong DEB[/tex]

Proof:

Statement                                                    Reason

1. E is the midpoint of AD and BC            1. Given

2. [tex]AE\cong DE[/tex]                                              2. Definition of midpoint

3. [tex]CE\cong BE[/tex]                                              3. Definition of midpoint

4. [tex]\angle AEC\cong \angle DEB[/tex]                                    4. Vertically opposite angle

5. [tex]\triangle AEC\cong \triangle DEB[/tex]                                   5. SAS congruence postulate

Hence proved.

The graph of the piecewise function f(x) is shown.
What is the range of f(x)?
6
5
O {x1-2 sx<4)
O {x1-2 Oy1-5 O {1-5 sys-1)
3+
2+
1
-7 -6 -5 -4 -3
-
1
3
4
5
8

Answers

The range is virtually the answer to the question,

"In which interval can find all y-values of the function".

So you look at the y-axis and see that your function begins with [tex]y=-5[/tex] (including -5 because of the dot on the graph) and ends at including [tex]y=-1[/tex].

So the interval notation is,

[tex]y\in[-5,-1][/tex]

But you are asked to specify the set notation of the interval, to do so first rewrite the interval using inequality operators, say we find some y in between (and including) -5 and -1,

[tex]-5\leq y\leq-1[/tex]

To specify that this is a set use curly bracelets and a bar,

[tex]\{y\mid-5\leq y\leq-1\}[/tex].

The y before bar is a step function and everything followed after the vertical bar is the range of the step function.

Hope this helps.

Using it's concept, it is found that the range of f(x) is given by:

{y|-5 <= -y <= -1}

What is the range of a function?

The range of a function is the set that contains all possible output values. In a graph, it is given by the values of y, that is, the values of the vertical axis.

In the function described by this graph, the vertical axis assumes values between -1 and -5, inclusive, hence the range is given by:

{y|-5 <= -y <= -1}

More can be learned about the range of a function at https://brainly.com/question/24374080

Quy tắc suy luận nào là cơ sở của suy diễn sau: "Biết rằng: 2 đường thẳng d và d' song song hoặc cắt nhau. Ta đã có d không song song với d'. Vậy d cắt d'
Select one:
a. Luật loại trừ
b. Luật rút gọn
c. Luật phản chứng
d. Luật tách rời

Answers

Answer: a

Step-by-step explanation:

What are the first and third quartiles for the following data set?
12, 15, 18, 16, 14, 9, 12, 21
A 9 and 21
C 12 and 17
B 12 and 16
D 15 and 17

Answers

Answer:

A

Step-by-step explanation:

I guess that is it may be

Use the discriminant to determine all values of k which would result in the graph of the equation
y
=
3
x
2
+
k
x
+
75
y=3x
2
+kx+75 being tangent to the x-axis.

Answers

Answer:

sauce is 177013

Step-by-step explanation:

Drag the tiles to the boxes to form correct pairs.
Match the pairs of equivalent expressions.

Answers

(4t - 8/5) - (3 - 4/3t) —> 16/3t - 23/5
5(2t+1) + (-7t+28) —> 3t + 33
(-9/2t + 3) + (7/4 + 33) —> -11/4t + 36
3(3t - 4) - (2t + 10) —> 7t - 22

I need help answering this ASAP

Answers

Answer:

"D"

if you multiply by Conjugate

the denominator would end up A^2 - b^2

the answer has 25 - 10x

that is D

Step-by-step explanation:

If there was a system where 5 points was equivalent to $1 how many points would $43 be?

Answers

Answer:

Step-by-step explanation:

5 pts = $1

$43 × (5 pts)/$1 = 43×5 pts = 215 pts

Using proportions, it can be found that $43 would be 215 points.

The access code for a vault consists of four digits. The first digit
must be even and the last digit cannot be a zero. How many possible
codes are there?

Answers

Answer:

5 * 10 * 10 * 9 = 4500

Step-by-step explanation:

Answer:

4500

Explanation:

In photo ->

Bạn được một cá nhân thuê làm tư vấn tài chính, anh ta nhận được 2 đề nghị hợp ký đồng làm
việc với thời hạn 5 năm theo 2 sự lựa chọn sau:
- Lựa chọn 1: Lương 3 triệu/năm
- Lựa chọn 2: Lương 1.5 triệu/năm và được thưởng 9 triệu khi kết thúc hợp đồng làm việc.
a. Nếu lãi suất 8% bạn sẽ khuyên anh ta nhận lựa chọn nào?
b. Nếu lãi suất tăng 10% theo bạn có cần phải đổi lựa chọn không?

Answers

I don’t know the language

Question 13 (Essay Worth 8 points)
Write the sum using summation notation, assuming the suggested pattern continues.

3, -12, 48, -192, + …

Is this sequence arithmetic or geometric? Explain your answer.

Answers

9514 1404 393

Answer:

  geometric sequence

Step-by-step explanation:

The terms of the sequence have a common ratio of -12/3 = -4, so the sequence is geometric. The general term is ...

  an = 3(-4)^(n-1)

so the sum can be written as ...

  [tex]\displaystyle\sum_{n=0}^\infty3(-4)^n[/tex]

(Note the summation starts at n=0, corresponding to a first term of 3.)

anyone know the answers for the final exam for part one of algebra 2 on edg?

Answers

Answer:

just show the questions i will help

Step-by-step explanation:

Please help please !!!

Answers

Answer:  12

========================================================

Explanation:

You can use the AAS (angle angle side) theorem to prove that triangle ABD is congruent to triangle CBD.

From there, we can then say that AD and DC are the same length

AD = DC

3y+6 = 5y-18

3y-5y = -18-6

-2y = -24

y = (-24)/(-2)

y = 12

Find the standard deviation for the following group of data items.
9, 11, 11, 16

Answers

The standard deviation for the given data items is 2.6

The standard deviation of the given data items can be calculated by taking the square root of the variance.

Variance is a measure of variability and it is calculated by taking the average of squared deviations from the mean.

Hence, we will first determine the mean of the given data items.

Mean is simply the average of the numbers.

Therefore mean of the given data items is

[tex]Mean = \frac{9+11+11+16}{4}[/tex]

[tex]Mean = \frac{47}{4}[/tex]

Mean = 11.75

Now, for the variance of the data

[tex]Variance = \frac{(9-11.75)^{2}+(11-11.75)^{2}+(11-11.75)^{2}+(16-11.75)^{2} }{4}[/tex]

[tex]Variance = \frac{(-2.75)^{2}+(-0.75)^{2}+(-0.75)^{2}+(4.25)^{2} }{4}[/tex]

[tex]Variance = \frac{7.5625+0.5625+0.5625+18.0625}{4}[/tex]

[tex]Variance = \frac{26.75}{4}\\[/tex]

∴ Variance = 6.6875

But,

Standard deviation [tex]= \sqrt{Varinace}[/tex]

∴Standard deviation  [tex]=\sqrt{6.6875}[/tex]

Standard deviation = 2.586

Standard deviation ≅ 2.6

Hence, the standard deviation for the given data items is 2.6

Learn more on standard deviation here: https://brainly.com/question/18562832

An electronic switching device occasionally malfunctions, but the device is considered satisfactory if it makes, on average, no more than 0.20 error per hour. A particular 5-hour period is chosen for testing the device. If no more than 1 error occurs during the time period, the device will be considered satisfactory.
(a) What is the probability that a satisfactory device will be considered unsatisfactory on the basis of the test? Assume a Poisson process.
(b) What is the probability that a device will be accepted as satisfactory when, in fact, the mean number of errors is 0.25? Again, assume a Poisson process.

Answers

Solution :

It is given that the device works satisfactorily if it makes an average of no more than [tex]0.2[/tex] errors per hour.

The number of errors thus follows the Poisson distribution.

It is given that in [tex]5[/tex] hours test period, the number of the errors follows is

= [tex]0.2 \times 5[/tex]

= 1 error

Let X = the number of the errors in the [tex]5[/tex] hours

[tex]$X \sim \text{Poisson } (\lambda = 0.2 \times 5 =1)$[/tex]

Now that we want to find the [tex]\text{probability}[/tex] that a [tex]\text{satisfactory device}[/tex] will be misdiagnosed as "[tex]\text{unsatisfactory}[/tex]" on the basis of this test. We know that device will be unsatisfactory if it makes more than [tex]1[/tex] error in the test. So we will determine probability that X is greater than [tex]1[/tex] to get required answer.

So the required probability is :

[tex]P(X>1)[/tex]

[tex]$=1-P(X \leq 1)$[/tex]

[tex]$=1-[P(X=0)+P(X=1)]$[/tex]

[tex]$=1- \left( \frac{e^{-1} 1^0}{0!} + \frac{e^{-1} 1^0}{1!} \right) $[/tex]

[tex]$=1-(2 \times e^{-1})$[/tex]

[tex]$=1-( 2 \times 0.367879)$[/tex]

[tex]$=1-0.735759$[/tex]

[tex]=0.264241[/tex]

So the [tex]\text{probability}[/tex] that the [tex]\text{satisfactory device}[/tex] will be misdiagnosed as "[tex]\text{unsatisfactory}[/tex]" on the basis of the test whose result is 0.264241

Country Financial, a financial services company, uses surveys of adults age 18 and older to determine whether personal financial fitness is changing over time. A recent sample of 1000 adults showed 410 indicating that their financial security was more than fair. Just a year prior, a sample of 900 adults showed 315 indicating that their financial security was more than fair. Conduct the hypothesis test and compute the p-value. Round your answer to four decimal places. What is the 95% confidence interval estimate of the difference between the two population proportions? Round your answers to four decimal places.

Answers

Answer:

hey, how you're day going

Step-by-step explanation:

.................

An empty freight train traveled 60 miles from an auto assembly plant to an oil refinery. There, its tank cars were filled with petroleum products, and it returned on the same route to the plant. The total travel time for the train was 4 1 2 hours. If the train traveled 20 mph slower with the tank cars full, how fast did the train travel in each direction

Answers

Answer:

On the way out the train traveled at about 40 mph, while on the return it did so at 20 mph.

Step-by-step explanation:

Since an empty freight train traveled 60 miles from an auto assembly plant to an oil refinery, and there, its tank cars were filled with petroleum products, and it returned on the same route to the plant, and the total travel time for the train was 4.5 hours, if the train traveled 20 mph slower with the tank cars full, to determine how fast did the train travel in each direction the following calculation must be performed:

60/20 = 3

60/40 = 1.5

60/20 = 3

3 + 1.5 = 4.5

Therefore, on the way out the train traveled at about 40 mph, while on the return it did so at 20 mph.

An 8 sided die, which may or may not be a fair die, has 4 colors on it; you have been tossing the die for an hour and have recorded the color rolled for each loss. What is the probability you will roll a purple on your next toss of the die? Enter your answer as a simplified fraction or a decimal rounded to four decimal places.
Red Purple Yellow Orange
44 37 41 21

Answers

Answer:

0.2587 = 25.87% probability you will roll a purple on your next toss of the die.

Step-by-step explanation:

A probability is the number of desired outcomes divided by the number of total outcomes.

In an experimental probability, which is the case in this question, the number of outcomes is taken from previous experiments.

In this question:

44 + 37 + 41 + 21 = 143 tosses.

37 purple.

What is the probability you will roll a purple on your next toss of the die?

[tex]p = \frac{37}{143} = 0.2587[/tex]

0.2587 = 25.87% probability you will roll a purple on your next toss of the die.

write 6x10x10x10x10 with an expont

Answers

Answer:

6x10^4

Step-by-step explanation:

Im new, and i hope someone tells me the right answers!

Answers

A factor is a natural number that can be multiplied by another natural number to get a value. The greatest common factor refers to when one compares the factors of two numbers, the largest natural number that both numbers have in common is the number's greatest common factor.

In the case of ([tex]m^2[/tex]) and ([tex]m^4[/tex]), the greatest common factor is ([tex]m^2[/tex]) because there are no factors of ([tex]m^2[/tex]) that are larger than it. No number can have a factor larger than itself. Since ([tex]m^2[/tex]) is also a factor of ([tex]m^4[/tex]) it is the greatest common factor of the two numbers.

Find the missing ? Explanation need it

Answers

Answer:

37°

Step-by-step explanation:

that is the procedure above

o
37
Is your answer, Hope this helps

SOMEONE HELP ME PLEASE

Answers

Answer:

9/25

Step-by-step explanation:

3 novels , 1 bio , 1 poetry = 5 books

P( novel) = novels / books

               = 3/5

Book is returned

3 novels , 1 bio , 1 poetry = 5 books

P( novel) = novels / books

               = 3/5

P(novel, return, novel) = 3/5 * 3/5 = 9/25

A student determines the density of a chunk of metal to be 5.1 g/cm3. She then repeats the measurement four more times on the same chunk of metal and obtains values of 5.0, 4.9, 5.4, and 5.2 g/cm3 for the density. What is the standard deviation of the five measurements?
A. 0.148
B. 0.19
C. 0.037
D. 0.22
E. 0.17

Answers

Answer:

E. 0.17

Step-by-step explanation:

Mean:

Sum of all values divided by the number of values, so:

[tex]\overline{x} = \frac{5.1 + 5 + 4.9 + 5.4 + 5.2}{5} = 5.12[/tex]

Standard deviation:

Square root of the sum of the difference squared between each value and the mean, divided by the sample size, so:

[tex]s = \sqrt{\frac{(5.1-5.12)^2 + (5-5.12)^2 + (4.9-5.12)^2 + (5.4-5.12)^2 + (5.2-5.12)^2}{5}} = 0.172[/tex]

Thus the correct answer is given by option E.

Please help me to find this answer

Answers

Step-by-step explanation:

question 1

angle DBA=90°, meaning to find m<D you have to add 90+38 then subtract by 180, because ABD is a triangle

90+18+m<D=180

108+m<D=180

m<D=180-108

=72°

question 2

m<D again in this case angle ABD is also 90

m<D=180-(90+48)

=180-138

=42°

I hope this helps


HURRY! HELP PLS
Janelle is conducting an experiment to determine whether a new medication is effective in reducing sneezing she finds 1000 volunteers with sneezing issues and divides them into two groups the control group does not receive any medication the treatment group received the medication the patients in the treatment group show reduced signs of sneezing what can genetic include from this experiment?

Answers

Answer: You can conclude that the medication is effective and decreases sneezing

Janelle can conclude that the medication used in this experiment was effective and it decreases sneezing.

What is a control experiment?

A control experiment can be defined as a type of experiment in which a condition assumed to be a probable cause of an effect is compared with the same situation without involving or using the suspected condition.

What is a treatment group?

A treatment group refers to a group of participants in an experiment that are exposed to some manipulation in the independent variable such as an administration of medication to a particular group.

Thus, Janelle can conclude that the medication used in this experiment was effective and it decreases sneezing because the treatment group show reduced signs of sneezing.

Read more on an experiment here: https://brainly.com/question/17542127

Other Questions
Suppose AABC = AEFD, AEFD = AGIH, ZA = 90, and mZF= 20. What is mZH?a. 20b. 70C. 90d. Cannot be determined The number of pairs of corresponding angles formed by a transversal of twolines is If f(x) = x2 + 7x and g(x) = 3x - 1, what is f(g(x))? A product or service for which people do not have to pay to consume or use is known as a _____ good A.) Free-Rider B.) Externality C.) Private D.) Public After a check-up, Josephine's doctor told her that she had mild anosmia and that she can only distinguish about two thirds of the smells that most adults can. Write an equation to represent the following statement.33 is 15 less than k.Solve for k. Required information Skip to question [The following information applies to the questions displayed below.] Timberly Construction makes a lump-sum purchase of several assets on January 1 at a total cash price of $900,000. The estimated market values of the purchased assets are building, $508,800; land, $297,600; land improvements, $28,800; and four vehicles, $124,800. Required: 1-a. Allocate the lump-sum purchase price to the separate assets purchased. 1-b. Prepare the journal entry to record the purchase. 2. Compute the first-year depreciation expense on the building using the straight-line method, assuming a 15-year life and a $27,000 salvage value. 3. Compute the first-year depreciation expense on the land improvements assuming a five-year life and double-declining-balance depreciation. solve on calculator 6x+8-8x=-8 What metals are best for conducting electricity? Find XRound to the nearest tenth Predict what will happen to the graph of the line 2y=3x-6 if the slope was changed to 2 20Select the correct answer.How does the setting develop the theme of the passage?.It shows that friendship requires cooperation.OB.It shows that competition can push people to grow.OC. It shows that winning can get in the way of friendship.Archery RivalsEllie took pride in her archery skills. Among the 40 members ofGreenville School's Archery Club, she was the only one whocould hit a target 50 meters away.During the second term, a new student, Ripley, joined thearchery club. On her first day, Ripley proved that she was justas good as Ellle. The instructor even believed that she couldperform better than Ellie. Gradually, Ripley took over Elle'sposition as the top archer of the school.Finally, the day of the state archery tournament arrived, andwith the field crowded with spectators, Ripley stepped out tobegin hitting her marks. As expected, she quickly climbed theScoreboards, with Ellie following closely behind. However, noone realized that Ellie had secretly been practicing for the final50-meter round. When the final round was over, everyone wasastonished. Ellie had struck a perfect bull's-eye on all fiveattempts. She was the state champion!Everyone rushed to congratulate Ellie on her victory. Shewalked over to her rival, who was standing alone in a cornerEllie took Ripley's hand and thanked her. If it had not been forher, Ellie would have never trained so hard.Over the next several years, Ellie and Ripley continued theirrivalry. But when they were not on the field, they were the bestODIt shows that working hard guarantees success.ResetNext Phn tch vai tr ca cc yu t trong bin tp Audio v Video Which event occurs in telophase II Quick!!Shandra has a sheet of cardboard whose area is x2 + 2x - 15 square inches. We know that the length of the cardboardsheet is (x + 5) inches. What is its width? (Hint: area = length width) What are factorials? And how do you do them in fractions like 4!5!- How do you do that question? And why do you leave 6! The 5! without anything, like why does it not go like (5)(4)(3)(2)(1)? Why is it like that? We don't need society to survive. Statements. Health Hi, I need help. Im supposed to say why we dont need society to survive health in statements If an atom of chlorine (CI) were to ionize, it wouldelectron(s). It is used to select specific menu options, drag and drop options and to draw something on screen. One rectangle is 12 in by 10 inThe second rectangle is 8 in by (X)Using the similar shape concept, what is the missing value (x)?