Question: 4. Surveying first-year computer science students A computer science department creates a survey to learn how many incoming first-year students have already programmed in specific

4. Surveying first-year computer science students A computer science department creates a survey to learn how many incoming first-year students have already programmed in specific languages. The first question asks students if they have ever written a program in Java. To this question, 18 students reply yes. The second question asks students if they have ever written a program in Python. To this question, 12 students reply yes. The third question ask students if they have written a program in C/C++. To this question, 10 students reply yes. From the collected data, the department claims that 40 students have programmed in Java, C++, or Python. Is this claim true or false? What counting principles can you use to justify your position? 4. Surveying first-year computer science students A computer science department creates a survey to learn how many incoming first-year students have already programmed in specific languages. The first question asks students if they have ever written a program in Java. To this question, 18 students reply yes. The second question asks students if they have ever written a program in Python. To this question, 12 students reply yes. The third question ask students if they have written a program in C/C++. To this question, 10 students reply yes. From the collected data, the department claims that 40 students have programmed in Java, C++, or Python. Is this claim true or false? What counting principles can you use to justify your position
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
