🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Logic: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. When is p → q false?
  2. Q2. Which statement is logically equivalent to p → q?
  3. Q3. What is ¬(p ∧ q) by De Morgan's law?
  4. Q4. The negation of "every student passed" is:
  5. Q5. In the demo, p → (p and q) was classified as:
  6. Q6. p is false and q is false. What is the value of p → q?
  7. Q7. When is p ⊕ q (XOR) true?
  8. Q8. What does this print? (code)
  9. Q9. What is the negation of ∃x P(x)?
  10. Q10. On the integers, which statement is true?