Question

In: Computer Science

A coding competition was conducted inside TCS campus with e employees. Data of employees who participated...

A coding competition was conducted inside TCS campus with e employees. Data of employees who participated and who did not participate in the competition isavailable. There were three problems in the coding competition. Data as mentioned below is available
The number of employees who have solved only the first, only the second and only the third problem are equal.
There are p1 employees who solved the first and the second problem.
- There are p2 employees who solved the second and the third problem
There are p3 employees who solved the third and the first problem.
There are q employees who solved all the 3 problems.
There are r employees who did not participate in the competition
Answer the following questions on the basis of data provided above.
How many employees have solved the first problem?
How many employees have solved exactly one of the 3 problems?​

Solutions

Expert Solution

<<<<<<<<<<<< disscussion and solution >>>>>>>>>>>>>

venn diagram accoding to question

GIven:

The total employees = e.

The number of employees who have solved

first == second == third

let it be equal to x.

solved all 3 problems == q

employees who solved the first and and the second problem == p1

so number of employees who solved first and second problem

but not the third == p1-q

as q employees solved all the 3 problems.

employees who solved the second and the third problem== p2

Hence number of employees who solved second and third problem

but not the first == p2-q.

employees who solved the second and the third problem== p3

Hence number of employees who solved third and first problem

but not the second == p3-q.

employees did not participate == r

total number of employee are e.

x+x+x+p1-q+p2-q+p3-q+q+r = e
3x+p1+p2+p3-2q+r = e
3x = e-(p1+p2+p3-2q+r)

==> x= {e-(p1+p2+p3-2q+r)}/3 ....................(1)

Using the above derivation and the Venn diagram we can answer the given questions

<<<<<<<<<<<<<<<< part 1 >>>>>>>>>>>>>>>>>>>>>>>

1) How many employees have solved the first problem?

The employees who have solved the first problem are

x+p1-q+p3-q+q

==> x+p1+p3-q

substituting 1 in above equation we get

==> {e-(p1+p2+p3-2q+r)}/3+p1+p3-q

Employees who solved Problem 1=

<<<<<<<<<<<<<<<< part 2 >>>>>>>>>>>>>>>>>>>>>>>

2) Employees who have solved exactly one of the three problems

so we have to find value of 3x

from equation 1

x= {e-(p1+p2+p3-2q+r)}/3 ....................(1)

so employees who have solved exactly 1 of three problems = e-(p1+p2+p3-2q+r)

<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>


Related Solutions

Data are provided to you on test completion times (in minutes) for students who participated in...
Data are provided to you on test completion times (in minutes) for students who participated in a one-hour review class before test number 1 and for these same students who were also administered test number 2 a month later. However, they did not participate in the review class before test number 2. The goal here is to determine whether there is a significant difference in the test completion time between the students when they had the review class compared to...
The following data are from a random sample of 10 students who participated in a study...
The following data are from a random sample of 10 students who participated in a study undertaken to investigate the effect of sleep time (measured in average number of hours of sleep per night) on GPA (grade point average, measured on a 4-point scale). Student Sleep time GPA 1 7 3.28 2 9 3.16 3 8 3.75 4 6 2.50 5 4 2.45 6 8 2.91 7 7 3.53 8 6 3.02 9 3 2.30 10 8 3.48 a. Find...
A study was conducted by collecting demographic data of employees of a large company. At the...
A study was conducted by collecting demographic data of employees of a large company. At the time of the study there were an estimated 10,000 employees, and 3095 employees participated in the study. Demographic data collected includes: gender, age, education level, marital status, position and income. a. Determine the population and sample of the study b. Determine whether the demographic variables above include categorical or numerical variables, qualitative or quantitative, whether discrete or continuous and whether the scale is nominal,...
Assume that Data Set C depicts scores for 30 individuals who participated in a two-way independent...
Assume that Data Set C depicts scores for 30 individuals who participated in a two-way independent groups design. Analyze the data using a two-way ANOVA and complete an ANOVA table reporting the relevant DD, df, MS, and Fs. Make sure to also report each of your critical values and indicate whether you would reject each of your three null hypotheses (i.e., main effect of A, main effect of B, interaction of A x B. alpha of .05, and a two-tailed...
Assume that Data Set C depicts scores for 30 individuals who participated in a two-way independent...
Assume that Data Set C depicts scores for 30 individuals who participated in a two-way independent groups design. Analyze the data using a two-way ANOVA and complete an ANOVA table reporting the relevant DD, df, MS, and Fs. Make sure to also report each of your critical values and indicate whether you would reject each of your three null hypotheses (i.e., main effect of A, main effect of B, interaction of A x B. alpha of .05, and a two-tailed...
Gallup recently conducted a survey about the proportion of Americans who use e-cigarettes (vape). The survey...
Gallup recently conducted a survey about the proportion of Americans who use e-cigarettes (vape). The survey data was collected via random-digit-dial telephone interviews conducted July 1-12, 2019 with a random sample of 1525 adults living in all 50 U.S. states with a minimum quota of 70% cellphone respondents and 30% landline respondents, with additional minimum quotas by time zone within region. The following table summarizes their results for men and women: Men Women Total Vape 92 31 123 Dont Vape...
Gallup recently conducted a survey about the proportion of Americans who use e-cigarettes (vape). The following...
Gallup recently conducted a survey about the proportion of Americans who use e-cigarettes (vape). The following example is based on hypothetical data that is meant to be similar to the data collected by Gallup. The following table considers survey data about annual household income and whether or not a person vapes. <$35,000 $35,000-$99,999 $100,000+ Total Vape 47 57 19 123 Do Not Vape 381 659 362 1402 Total 428 716 381 1525 Problem 1. Based on recent data, about 28%...
Gallup recently conducted a survey about the proportion of Americans who use e-cigarettes (vape). The following...
Gallup recently conducted a survey about the proportion of Americans who use e-cigarettes (vape). The following example is based on hypothetical data that is meant to be similar to the data collected by Gallup. The following table considers survey data about annual household income and whether or not a person vapes. <$35,000 $35,000-$99,999 $100,000+ Total Vape 47 57 19 123 Do Not Vape 381 659 362 1402 Total 428 716 381 1525 Problem 1. Based on recent data, about 28%...
Gallup recently conducted a survey about the proportion of Americans who use e-cigarettes (vape). The survey...
Gallup recently conducted a survey about the proportion of Americans who use e-cigarettes (vape). The survey data was collected via random-digit-dial telephone interviews conducted July 1-12, 2019 with a random sample of 1525 adults living in all 50 U.S. states with a minimum quota of 70% cellphone respondents and 30% landline respondents, with additional minimum quotas by time zone within region. The following table summarizes their results for men and women: Men Women Total Vape 92 31 123 Do Not...
2019 Labor Data for Sparta Number of adults 20,000 Number of adults who are paid employees...
2019 Labor Data for Sparta Number of adults 20,000 Number of adults who are paid employees 9,900 Number of adults who work in their own businesses 1,000 Number of adults who are on vacation from their jobs 100 Number of adults who were temporarily absent from their jobs because of an earthquake 300 Number of adults who were waiting to be recalled to a job from which they had been laid off 200 Number of adults who do not have...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT