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
Marina86 [1]
3 years ago
10

g Programs submitted by programs in a computer science course are examined for syntax errors and logic errors. Suppose 36% of al

l programs have syntax errors, 47% have logic errors, and 56% have at least one of those two error types. (a) What is the probability a program contains both error types? (b) What is the probability a program contains neither error type? (c) What is the probability a program has logic errors, but not syntax errors? (d) What is the probability a program either has no syntax errors or has no logic errors?

Mathematics
2 answers:
Llana [10]3 years ago
6 0

Answer:

The answer is below

Step-by-step explanation:

Let S denote syntax errors and L denote logic errors.

Given that P(S) = 36% = 0.36, P(L) = 47% = 0.47, P(S ∪ L) = 56% = 0.56

a) The probability a program contains both error types = P(S ∩ L)

The probability that the programs contains only syntax error = P(S ∩ L') = P(S ∪ L)  - P(L) = 56% - 47% = 9%

The probability that the programs contains only logic error = P(S' ∩ L) = P(S ∪ L)  - P(S) = 56% - 36% = 20%

P(S ∩ L) = P(S ∪ L) - [P(S ∩ L') + P(S' ∩ L)] =56% - (9% + 20%) = 56% - 29% = 27%

b) Probability a program contains neither error type= P(S ∪ L)' = 1 - P(S ∪ L) = 1 - 0.56 = 0.44

c)  The probability a program has logic errors, but not syntax errors =   P(S' ∩ L) = P(S ∪ L)  - P(S) = 56% - 36% = 20%

d) The probability a program either has no syntax errors or has no logic errors = P(S ∪ L)' = 1 - P(S ∪ L) = 1 - 0.56 = 0.44

zepelin [54]3 years ago
5 0

Answer:

Kindly check explanation

Step-by-step explanation:

Given the following :

Programs with syntax errors ; n(S) = 36%

Programs with logic errors; n(L) = 47%

Programs with atleast one of the two errors = 56%

P(S) = 0.36 ; p(L) = 0.47

P(SnL) = x

P(S) only + p(L) only + p(SnL) = 0.56

P(S) only = 0.36 - x

P(L) only = 0.47 - x

P(SnL) = 0.36 - x + 0.47 - x + x = 0.56

0.83 - x = 0.56

x = 0.27

B) probability that program contains neither error :

1 - p(program contains atleast one of the two errors)

1 - 0.56 = 0.44

C) probability of logic error but no syntax error :

P(L) - p(SnL)

= 0.47 - 0.27

= 0.20

You might be interested in
Can somebody help me make a word problem of a inequality equation pls
CaHeK987 [17]

Answer:

sure (can i have brainliest?)

Step-by-step explanation:

6 0
3 years ago
Adriana works as a purchasing manager at a trading firm and earns a salary of 60,000 she has deductions of 3000 and tax credit o
steposvetlana [31]
It’s 46,000



I only use this space so I can answer the question hdhdhehahehhehehebdbbddb
8 0
4 years ago
Read 2 more answers
!!!!!!!!!!!!!!!!!!!!!!!!
stira [4]

Answer:

C

Step-by-step explanation:

it's an acute angle so it has to less than 90 and 71 just seems like it's too much

6 0
3 years ago
On a hot day, Ava poured 1/4 of a bucket of water into a plastic wading pool.a few minutes later she added another 1/3 of a buck
faltersainse [42]

Answer:

7/12

Step-by-step explanation:

4 x 3 = 12 (LCD)

3/12 + 4/12 = 7/12

No simplifying done,

7/12 is the answer.

Hope this helped :)

5 0
2 years ago
Fill in the blanks to make true number sentences.<br><br> 1 3/5 = __ : __
arsen [322]

Answer:

1 6/10

Step-by-step explanation:

you should first turn this fraction into a improper fraction

1 3/5= 8/5

now you multiply the denominator and the numerator by the same number, in this case i am using 2

8/5 times 2/2= 16/10 or 1 6/10  

6 0
3 years ago
Other questions:
  • Brainliest reward math question
    14·2 answers
  • Tennis racket marked up 50% to 36.75 what is the original price
    6·1 answer
  • What is the answer ?
    15·2 answers
  • In large population 51% people vaccinated if 4 people are randomly selected what’s the probability at least 1 has been vaccinate
    10·1 answer
  • The coordinates of the midpoint of segment GH are M (4,3) and the coordinates of one endpoint are G (5,-6)
    14·1 answer
  • Avi got hired as a video game tester at a salary of 1,000 per week.He wants to be a millionaire. How many weeks will it take for
    15·1 answer
  • Help what is the answer
    6·1 answer
  • Can someone plz help me with this one problem <br><br> I’M MARKING BRAINLIEST!!!!
    15·2 answers
  • Simplify completely*****​
    6·1 answer
  • Find the slope-intercept form of the equation of the line that has the given slope m and passes through the given point.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!