1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
gulaghasi [49]
3 years ago
12

11. Technicians A and B are discussing

Engineering
1 answer:
algol [13]3 years ago
5 0

Answer:

C. Neither Technician A nor B

Explanation:

Just took the test

You might be interested in
The parts of a feature control frame are the tolerance value, the datum references, and the
Elan Coil [88]

Answer:

d

Explanation:

4 0
3 years ago
13. Write a function which is passed two strings. The function creates a new string from the two original strings by copying one
attashe74 [19]

Answer:

I am writing the code in C++. Let me know if you want the program in some other programming language.

#include <iostream>  // includes header file for input output functions

using namespace std;     //to identify objects like cin cout

string CopyStrings(string string1, string string2)  

{   string newString = "";    

   for (int loop = 0; loop < string1.length() ||  

                   loop < string2.length(); loop++)      {      

       if (loop < string1.length())  

           newString += string1[loop];          

       if (loop < string2.length())  

           newString += string2[loop];      }  

   return newString;   }  

int main()  

{   string stringA = "ace";  

   string stringB = "bdf";  

   cout << CopyStrings(stringA, stringB);   }

Output:

abcdef

Explanation:

The function CopyStrings() function takes two strings i.e. string1 and string2 as parameters to copy characters from both the string one character from each.

The newString variable stores the new string after copying characters from both strings string1 and string2.

Then the for loop starts which has a variable loop which is an index variable that traverses through both the strings stored in string1 and string2. The loop continues to execute until it moves through entire length of string1 and string2 which means it copies all the characters from both string1 and string2. length() is used here which returns length of the string1 and string2.

If statement in the for loop checks the character that loop (index) variable is pointing to is less than the string1 length which means it checks each character stored in string1. For example if string1 contains "ace" and loop variable is moving through the string and is currently at "a" then this condition is true. If the condition evaluates to true then the body of if statement is executed. The next statement stores that character a into the newString variable.

Next If statement checks character that loop variable is pointing to is less than the string2 length which means it checks each character stored in string2. For example if string2 contains "bdf" and loop variable is moving through the string and is currently at "b" then this condition is true. If the condition evaluates to true then the body of if statement is executed. The next statement stores that character b into the newString variable.

Then the second iteration starts which again first stores the next character i.e. c from string1 into newString and then stores next character i.e d from string2 into newString.

Then the third iteration starts which again first stores the next character i.e. e from string1 into newString and then stores next character i.e f from string2 into newString.

Then the loop breaks as the loop variable reaches end of both the string1 and string2.

return newString will return the copied string into the output screen which is abcdef.

The screenshot of code along with output is attached.

3 0
3 years ago
Give me top 5 British snacks
tia_tia [17]

Answer:

1. Mini Cheddars

2. Sausage Roll

3. Monster Munch

4. Cheese Twists

5. Flapjacks

6 0
2 years ago
A(n)<br> is a safety device commonly<br> used with a slotted nut.
liraira [26]

A safety device called a cotter pin. The cotter pin fits through a hole in the bolt or part. This keeps the nut from turning and possibly coming off.

5 0
3 years ago
A biotechnology company produced 225 doses of somatropin, including 11 which were defective. Quality control test 15 samples at
Radda [10]

Answer:

  • <u>0.59</u>

Explanation:

The <em>batch</em> is <em>rejected</em> if any of the <em>random samples are found defective</em>, or, what is the same, it will be accepted only if all 15 samples are good.

The probability that none be defective is the same probability that all the samples are good. Thus, start to calculate the probability that the batch is accepted.

The probability that the first sample is good is 214 /225, because there are 225 - 11 = 214 good samples in 225 doses.

The probability that the second samples is good too is 213/224, because there is 1 less good sample, in the 224 remaining samples.

By the same process, you conclude that the consecutive probabilities of selecting a good sample are: 212/223, 211/222, 210/221, . . . up to 199/211.

The joint probability of all the samples are good is the product of each probability:

\frac{214}{225}\cdot\frac{213}{224}\cdot\frac{212}{223}\cdot\frac{211}{222}\cdot\frac{210}{221}\cdot\frac{209}{220}\cdot\frac{208}{219}\cdot\frac{207}{218}\cdot\frac{206}{217}\cdot\frac{205}{216}\cdot\frac{204}{215}\cdot\frac{203}{214}\cdot\frac{202}{213}\cdot\frac{201}{212}\cdot\frac{200}{211}\cdot\frac{199}{210}

The result is: 0.41278 ≈ 0.41

The conclusion is that the probability that all the samples are good and the batch is accepted is 0.41.

Therefore, <em>the probability that the batch is rejected</em> is 1 - 0.41 = 0.59.

4 0
3 years ago
Other questions:
  • Briefly describe the purpose of specifying boundary conditions.
    7·1 answer
  • A rod of length L lies along the x axis with its left end at the origin. It has a nonuniform charge density λ = αx, where α is a
    14·2 answers
  • Blank Complete the following paragraph pertaining to the popular audio file formats.
    7·2 answers
  • The average human heart Beats 1.15 times 10 to the power of 5 per day. There are 3.65 times 10 to the power of 2 days in one yea
    14·1 answer
  • A microwave transmitter has an output of 0.1 W at 2 GHz. Assume that this transmitter is used in a microwave communication syste
    8·1 answer
  • In plumbing what is a video snake used for
    10·2 answers
  • The van der Waals equation is a modification of the ideal gas equation. What two factors does this equation account for? A. (1)
    6·1 answer
  • thanh thẳng AD có kích thước và chịu lực như hình.biết P1 = 10kn, p2=5kn,M=15kn*m,a=2m.Hãy xách định phản lực liên kết tại A,b
    14·1 answer
  • Why do the quadrants in coordinate plane go anti-clockwise?.
    6·1 answer
  • Which type of system is being researched to deliver power to several motors to drive multiple systems in vehicles?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!