Given the statement
S: "If you are a computer science student, then you know either discrete math or Java",
which one is the negation of the statement S ?
1. you are not a computer science student, but you know either discrete math or Java
2. If you are a computer science student, then you know neither discrete math nor Java
3. You are a computer science student, but you know neither discrete math nor Java
4. If you are not a computer science student, then you know neither discrete math nor Java
1 Answers
Best Answer
Step 1
Given statement: "" If you are a computer science student, then you know either discrete math or java""
Step 2
The correct option is B. If you are a computer science student, then you know neither discrete math nor java.
A: you are a computer science student.
B: you know either discrete math or java
Because negation of the statement ""If A, then B then the statement is A and not B.
Hence, the correct statement is, 'If you are a computer science student, then you know neither discrete math nor java.