GateAI
Turing Machines and Undecidability

GATE CSE 2015 Set 2 · Q2

MCQ1 markMedium

Time

Consider two decision problems Q1,Q2Q_1, Q_2 such that Q1Q_1 reduces in polynomial time to 3-SAT and 3-SAT reduces in polynomial time to Q2Q_2. Then which one of the following is consistent with the above statement?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A) Q1 is in NP, Q2 is NP hard.

Turing Machines and Undecidability

We are given two polynomial-time reductions:

  1. Q1≤p3-SATQ_1 \le_p \text{3-SAT}

  2. 3-SAT≤pQ2\text{3-SAT} \le_p Q_2

Recall that:

  • 3-SAT\text{3-SAT} is an NP\text{NP}-complete problem (hence it is both in NP\text{NP} and NP\text{NP}-hard).

  • If a problem AA reduces in polynomial time to a problem B∈NPB \in \text{NP} (A≤pBA \le_p B), then A∈NPA \in \text{NP}. Since 3-SAT∈NP\text{3-SAT} \in \text{NP}, it follows that Q1∈NPQ_1 \in \text{NP}.

  • If a known NP\text{NP}-hard (or NP\text{NP}-complete) problem reduces in polynomial time to a problem CC (3-SAT≤pC\text{3-SAT} \le_p C), then CC is NP\text{NP}-hard. Hence, Q2Q_2 is NP\text{NP}-hard.

Thus, Q1Q_1 is in NP\text{NP}, and Q2Q_2 is NP\text{NP}-hard.

Therefore, A is the correct option.

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 Turing Machines and Undecidability previous year question is Q2 of the GATE CSE 2015 Set 2 paper. Find more GATE CSE PYQs on Turing Machines and Undecidability in Theory of Computation, 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 Turing Machines and Undecidability 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.

Turing Machines and Undecidability in GATE CSE

Turing Machines and Undecidability has 30 GATE CSE PYQs across 20 papers from 2012 to 2026. 13 of them are 1-mark MCQs like this one, and GATE CSE 2015 Set 2 has 2.

How GATE tests Turing Machines and Undecidability

More from GATE CSE 2015 Set 2

Share this solution

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

GateAI solution cardGATE CSE 2015 Set 2 · Q2 · MCQ

Consider two decision problems Q1, Q2 such that Q1 reduces in polynomial time to 3-SAT and 3-SAT reduces in polynomial time to Q2. Then which one of the following is consistent with the above statement?

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.