Awesome q2a theme
0 votes


A) I and II only

B) II and III only

C) I and III only

D) I,II and III


Please give answer and explaination for above question.

in Theory of Computation by (135 points) | 17 views
Is the answer A?
Actually no, answer should be all of them are CFL.

For 3, we can write the CFG as: S -> aSbb | aSbbb| eps

For 2, we can break it down into two cases: n > m and n < m. This will give us two different CFGs and we can take their union to get the final CFG.

For 1 too, we can break it down into two different cases - n = m or m <= k and then solve it.
1'3 sure they are CFL

but 2 we have doubt
Yes goxul u are right.
Ram answer is option (D)

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Feb 2020
  1. shashin

    363 Points

  2. Shaik Masthan

    79 Points

  3. SuvasishDutta

    39 Points

  4. srestha

    33 Points

  5. Mk Utkarsh

    32 Points

  6. neeraj_bhatt

    31 Points

  7. !KARAN

    30 Points

  8. Debapaul

    23 Points

  9. Pratyush Priyam Kuan

    18 Points

  10. kalra05

    18 Points

Monthly Top User and those within 60% of his/her points will get a share of monthly revenue of GO subject to a minimum payout of Rs. 500. Current monthly budget for Top Users is Rs. 75.
3,331 questions
1,581 answers
89,916 users