Question: Three students are discussing the programming language used in a project. Only one program- ming language is used. After discussion, students give their statements (each
Three students are discussing the programming language used in a project. Only one program- ming language is used. After discussion, students give their statements (each containing two propositions): Student A: Not C++. Not Java. Student B: Python. Not C++. Student C: C++. Not Python. Further check shows that one student is completely correct, one student is partially correct (one proposition in two propositions given by the student is correct, another is wrong), one student is completely wrong. Show the programming language used in the project and prove it by exhaustion/cases.
Student A: Not C++. Not Java. Student B: Python. Not C++. Student C: C++. Not Python. Further check shows that one student is completely correct, one student is partially correct (one proposition in two propositions given by the student is correct, another is wrong), one student is completely wrong. Show the programming language used in the project and prove it by exhaustion/cases.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
