All questions of Discrete Mathematics for Computer Science Engineering (CSE) Exam

“Parul is out for a trip or it is not snowing” and “It is snowing or Raju is playing chess” imply that __________
  • a)
    Parul is out for trip
  • b)
    Raju is playing chess
  • c)
    Parul is out for a trip and Raju is playing chess
  • d)
    Parul is out for a trip or Raju is playing chess
Correct answer is option 'D'. Can you explain this answer?

Sudhir Patel answered
Let p be “It is snowing,” q be “Parul is out for a trip,” and r the proposition “Raju is playing chess.” The hypotheses as ¬p ∨ q and p ∨ r, respectively.
Using resolution, the proposition q ∨ r is, “Parul is out for a trip or Raju is playing chess.”

p ∧ q is logically equivalent to ________
  • a)
    ¬ (p → ¬q)
  • b)
    (p → ¬q)
  • c)
    (¬p → ¬q)
  • d)
    (¬p → q)
Correct answer is option 'A'. Can you explain this answer?

Srishti Yadav answered
Understanding Logical Equivalence
In propositional logic, two statements are logically equivalent if they have the same truth value in every possible scenario. Here, we will explore why "p ∧ q" is logically equivalent to "¬(p → ¬q".
Analyzing the Options
- Option A: ¬(p → ¬q)
- This expression can be rewritten using logical implications. The expression "p → ¬q" is equivalent to "¬p ∨ ¬q". Therefore, "¬(p → ¬q)" can be rephrased as "¬(¬p ∨ ¬q)".
- Applying De Morgan's laws, we can simplify this to "p ∧ q". Thus, "¬(p → ¬q)" is logically equivalent to "p ∧ q", confirming that Option A is correct.
- Option B: (p → ¬q)
- This suggests that if p is true, then q must be false, which does not reflect the conjunction of p and q.
- Option C: (¬p → ¬q)
- This means if p is false, then q must also be false, which is not equivalent to p and q being true simultaneously.
- Option D: (¬p → q)
- This indicates that if p is false, then q is true, which again does not capture the essence of "p ∧ q".
Conclusion
Based on the analysis above, the correct answer is indeed option A: "¬(p → ¬q)", as it is logically equivalent to "p ∧ q" using fundamental logical transformations and laws. This understanding is crucial for tackling problems in Computer Science Engineering and logic-based reasoning.

Which of the following statement is a proposition?
  • a)
    Get me a glass of milkshake
  • b)
    God bless you!
  • c)
    What is the time now?
  • d)
    The only odd prime number is 2
Correct answer is option 'D'. Can you explain this answer?

Parth Sen answered
Explanation:

A proposition is a statement that is either true or false. It is a declarative sentence that can be evaluated as either being true or false. Let's analyze each option to determine if it is a proposition or not.

a) Get me a glass of milkshake:
This is not a proposition because it is a command or a request. It does not make a claim that can be evaluated as true or false.

b) God bless you!
This is not a proposition either. It is an expression of well-wishing or a blessing. It does not make a factual claim that can be evaluated as true or false.

c) What is the time now?
This is not a proposition because it is a question. It is seeking information rather than making a claim.

d) The only odd prime number is 2
This is a proposition because it makes a factual claim that can be evaluated as true or false. In this case, the statement is false because the number 2 is not an odd prime number; it is the only even prime number.

In conclusion, the correct answer is option D: The only odd prime number is 2 because it is the only statement that qualifies as a proposition.

When to proof P→Q true, we proof P false, that type of proof is known as ___________
  • a)
    Direct proof
  • b)
    Contrapositive proofs
  • c)
    Vacuous proof
  • d)
    Mathematical Induction
Correct answer is option 'C'. Can you explain this answer?

Swara Sen answered
However, if you are referring to proofreading, it is recommended to proofread your work after finishing the first draft and before submitting it. This allows you to catch any errors or mistakes and make necessary corrections. It is also a good idea to take a break from your work before proofreading to gain a fresh perspective.

Translate ∀x∃y(x < y) in English, considering domain as a real number for both the variable.
  • a)
    For all real number x there exists a real number y such that x is less than y
  • b)
    For every real number y there exists a real number x such that x is less than y
  • c)
    For some real number x there exists a real number y such that x is less than y
  • d)
    For each and every real number x and y such that x is less than y
Correct answer is option 'A'. Can you explain this answer?

Shalini Chopra answered
Explanation:

Understanding the statement:
The statement ∀x∃y(x < y)="" translates="" to="" "for="" all="" real="" numbers="" x,="" there="" exists="" a="" real="" number="" y="" such="" that="" x="" is="" less="" than="" />

Breaking down the statement:
- ∀x: This symbol (∀) represents "for all" or "for every." In this case, it indicates that the following statement applies to all real numbers x.
- ∃y: This symbol (∃) represents "there exists" or "there is." It indicates that there exists a real number y that satisfies the given condition.
- (x < y):="" this="" part="" of="" the="" statement="" states="" that="" x="" is="" less="" than="" />

Explanation of option 'A':
Option 'A' correctly translates the given statement by stating that for every real number x, there exists a real number y such that x is less than y. This interpretation accurately captures the meaning of the original statement in English.
Therefore, the correct answer is option 'A': "For all real number x there exists a real number y such that x is less than y."

A proof covering all the possible cases, such type of proofs are known as
  • a)
    Direct proof
  • b)
    Proof by Contradiction
  • c)
    Vacuous proof
  • d)
    Exhaustive proof
Correct answer is option 'D'. Can you explain this answer?

Shounak Yadav answered
Exhaustive Proof
An exhaustive proof is a type of proof that covers all possible cases. It is a method of proving a statement by considering and addressing each and every possible scenario or case.

Explanation
When dealing with a situation where there are multiple possibilities or cases, an exhaustive proof ensures that each and every case is considered and proven. This type of proof is particularly useful when the number of cases is finite and manageable.

In an exhaustive proof, the following steps are typically followed:
1. Identify all possible cases: The first step is to identify and list down all the possible cases or scenarios that need to be considered in order to prove the statement.
2. Address each case individually: For each case, the proof is carried out separately, providing evidence and reasoning specific to that particular case.
3. Cover all cases: It is important to ensure that all cases are covered and addressed in the proof. This means that no case should be left out or overlooked.
4. Present the proof: The proof is presented in a clear and organized manner, demonstrating the validity of the statement for each case.

Advantages of Exhaustive Proof
- Completeness: An exhaustive proof ensures that all possible cases are considered, providing a comprehensive and complete analysis of the statement.
- Confidence: By addressing each case individually, an exhaustive proof instills confidence in the validity of the statement, as it covers all possible scenarios.
- Accuracy: The thorough examination of all cases in an exhaustive proof minimizes the chances of errors or oversights.

Example
Let's consider a statement: "All prime numbers are odd." To prove this statement using an exhaustive proof, we would consider all possible cases:
1. Case 1: Prime number is 2 (the only even prime number). In this case, the statement is false, as 2 is not odd.
2. Case 2: Prime number is any other odd number. In this case, the statement is true, as all odd prime numbers are indeed odd.

By considering and addressing both cases, we have covered all possibilities and proven the statement. This is an example of an exhaustive proof.

Conclusion
Exhaustive proof is a method of proof that covers all possible cases. It is particularly useful when dealing with a finite number of cases and ensures the completeness and accuracy of the proof. By considering and addressing each case individually, an exhaustive proof provides confidence in the validity of the statement.

What rule of inference is used here? “It is cloudy and drizzling now. Therefore, it is cloudy now.”
  • a)
    Addition
  • b)
    Simplification
  • c)
    Resolution
  • d)
    Conjunction
Correct answer is option 'B'. Can you explain this answer?

Ayush Basu answered
Unfortunately, you have not provided any information or example to determine what rule of inference is being used. Please provide more context or an example so that I can assist you further.

The premises (p ∧ q) ∨ r and r → s imply which of the conclusion?
  • a)
    p ∨ r
  • b)
    p ∨ s
  • c)
    p ∨ q
  • d)
    q ∨ r
Correct answer is option 'B'. Can you explain this answer?

Sudhir Patel answered
The premises (p ∧ q) ∨ r has two clauses: p ∨ r, and q ∨ r.
We can also replace r → s with the equivalent clause r ∨ s.
Using the two clauses p ∨ r and r ∨ s, we can conclude p ∨ s.

p ∨ q is logically equivalent to ________
  • a)
    ¬q → ¬p
  • b)
    q → p
  • c)
    ¬p → ¬q
  • d)
    ¬p → q
Correct answer is option 'D'. Can you explain this answer?

Gaurav Verma answered
Understanding Logical Equivalences
In propositional logic, understanding how different logical expressions relate to each other is crucial. The expression "p ∨ q" (p or q) represents a disjunction, meaning at least one of p or q must be true.
Evaluating the Options
To determine which option is logically equivalent to p ∨ q, we can analyze each choice:
a) ¬q → ¬p
- This expression states that if q is false, then p must also be false.
- This does not represent the same truth values as p ∨ q.
b) q → p
- This means if q is true, then p is also true.
- Again, this does not capture the essence of p ∨ q.
c) ¬p → ¬q
- This implies if p is false, then q must also be false.
- This is not equivalent to p ∨ q.
d) ¬p → q
- This states that if p is false, then q must be true.
- This expression aligns with the truth table of p ∨ q. If p is false, q must be true for the disjunction to hold, making this the correct equivalent.
Truth Table Verification
Creating a truth table for p ∨ q and ¬p → q confirms:
- When both p and q are true: p ∨ q is true, ¬p → q is true.
- When p is true and q is false: p ∨ q is true, ¬p → q is true.
- When p is false and q is true: both p ∨ q and ¬p → q are true.
- When both p and q are false: p ∨ q is false, ¬p → q is false.
Hence, option d) ¬p → q is logically equivalent to p ∨ q.

Let P: I am in Delhi.; Q: Delhi is clean.; then q ^ p(q and p) is?
  • a)
    Delhi is clean and I am in Delhi
  • b)
    Delhi is not clean or I am in Delhi
  • c)
    I am in Delhi and Delhi is not clean
  • d)
    Delhi is clean but I am in Mumbai
Correct answer is option 'A'. Can you explain this answer?

Dishani Basu answered
Answer:

Given:
P: I am in Delhi.
Q: Delhi is clean.

To find:
q ^ p

Explanation:
The symbol ^ represents the logical operator "and". When two statements are connected by ^, both statements must be true for the combined statement to be true.

In this case, we have two statements: Q (Delhi is clean) and P (I am in Delhi). We want to find the combined statement q ^ p.

Step 1: Substitute the values of Q and P into the combined statement.
q ^ p = (Delhi is clean) ^ (I am in Delhi)

Step 2: Apply the logical operator ^ to the statements.
(Delhi is clean) ^ (I am in Delhi) = Delhi is clean and I am in Delhi.

Therefore, the correct answer is option 'A': Delhi is clean and I am in Delhi.

Chapter doubts & questions for Discrete Mathematics - 6 Months Preparation for GATE CSE 2025 is part of Computer Science Engineering (CSE) exam preparation. The chapters have been prepared according to the Computer Science Engineering (CSE) exam syllabus. The Chapter doubts & questions, notes, tests & MCQs are made for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests here.

Chapter doubts & questions of Discrete Mathematics - 6 Months Preparation for GATE CSE in English & Hindi are available as part of Computer Science Engineering (CSE) exam. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.

Top Courses Computer Science Engineering (CSE)