Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
1.1k views
in General by (72.7k points)
closed by

Consider grammar G with productions A → a | Aa | bAA | AAb | AbA

Choose a false statement :


1. aaabb is in L(G)
2. abb is in L(G)
3. A is start symbol of G
4. aaaabb is in L(G)

1 Answer

0 votes
by (121k points)
selected by
 
Best answer
Correct Answer - Option 2 : abb is in L(G)

Concept:

A grammar G is formally defined as a tuple (N, ∑, P, S ). Such formal grammar is often called a rewriting system.

N  → Nonterminal symbol 

∑  → terminal symbol 

P → Production rules

S  →start symbol

Explanation:

Productions of G: A → a | Aa | bAA | AAb | AbA

N → {A}

P → { A → a | Aa | bAA | AAb | AbA}

∑ → {a, b}

S → {A}

Option 1: TRUE

A → AAb → AAAbb → aaabb

aaabb is in L(G)

Option 2: FALSE

A → AAb → Aab →aab

Therefore abb is not in L(G)

but abb is in L(G)

Option3: TRUE

A is start symbol of G

Option3: TRUE

A → AAb → AAAbb → AAAabb → AAaabb 

→ Aaaabb → aaaabb

Therefore aaaabb is in L(G)

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...