Question

(3) Consider the following three languages over the alphabet Σ default i,j, k, are non-negative integers (can be 0): (a,b,c,d

0 0
Add a comment Improve this question Transcribed image text
Answer #1
  • L1 is context free

Grammar

S -> AB
A -> aAb | bA | b
B -> cBd | dB | d

Explanation

  • A is for a's and b's -- i < j
  • C is for c's and d's -- k < l
  • L2 is not context free
  • L3 is context free

Grammar

S -> aSd | Sd | Ad
A -> bAc | Ac | c

Explanation

  • i < l: for a's and d's
  • j < k: for b's and c's

Please post another question for Pumping Lemma proof on L2

Add a comment
Know the answer?
Add Answer to:
(3) Consider the following three languages over the alphabet Σ default i,j, k, are non-negative i...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT