GateAI
Discrete Mathematics

GATE CSE 2017 Set 2 · Q11

MCQ1 markMedium

Time

Let p,q,rp, q, r denote the statements “It is raining”, “It is cold”, and “It is pleasant”, respectively. Then the statement “It is not raining and it is pleasant, and it is not pleasant only if it is raining and it is cold” is represented by

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A) ( eg p r) ( eg r → (p q))

Discrete Mathematics

Let the given propositions be:

  • pp: "It is raining"

  • qq: "It is cold"

  • rr: "It is pleasant"

We translate the statement into logical components:

  1. "It is not raining and it is pleasant":

egp∧r eg p \wedge r

  1. "It is not pleasant only if it is raining and it is cold":

In propositional logic, the conditional phrase "AA only if BB" translates directly to A→BA \rightarrow B. Here, A=egrA = eg r ("it is not pleasant") and B=p∧qB = p \wedge q ("it is raining and it is cold"). Therefore, this clause is: egr→(p∧q) eg r \rightarrow (p \wedge q)

  1. Combining both clauses with the conjunction "and":

(egp∧r)∧(egr→(p∧q))( eg p \wedge r) \wedge ( eg r \rightarrow (p \wedge q))

Hence, option (A) is the correct representation.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Discrete Mathematics previous year question is Q11 of the GATE CSE 2017 Set 2 paper. Find more GATE CSE PYQs on Discrete Mathematics in Engineering Mathematics, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Discrete Mathematics PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Discrete Mathematics in GATE CSE

Discrete Mathematics has 50 GATE CSE PYQs across 23 papers from 2011 to 2026. 18 of them are 1-mark MCQs like this one, and GATE CSE 2017 Set 2 has 3.

How GATE tests Discrete Mathematics

More from GATE CSE 2017 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2017 Set 2 · Q11 · MCQ

Let p, q, r denote the statements “It is raining”, “It is cold”, and “It is pleasant”, respectively. Then the statement “It is not raining and it is pleasant, and it is not pleasant only if it is raining and it is cold” is represented by

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.