Assignment 04
Assignment 04
Total Marks: 10
Due Date: 24-01-2025
Instructions:
1. 𝐿1 = {𝑎𝑛 𝑏𝑚 𝑐 𝑚 𝑑𝑛 |𝑛, 𝑚 ≥ 0}
2. 𝐿2 = {𝑎𝑛 𝑏𝑛 𝑐 𝑚 𝑑𝑚 |𝑛, 𝑚 ≥ 0}
3. 𝐿3 = {𝑎𝑛 𝑏𝑚 𝑎2𝑛 |𝑛, 𝑚 ≥ 0 }
4. 𝐿4 = {𝑎𝑖 𝑏 𝑗 |𝑖 ≤ 𝑗 }
5. 𝐿5 = {𝑎𝑖 𝑏 𝑗 |𝑖 = 2𝑗 }
6. All nonempty strings that start and end with the same symbol.
7. All strings with more a's than b's.
8. {w | w contains at least 3 a’s }
9. 𝐿6 = {𝑎𝑛 𝑏𝑚 𝑐 𝑚 𝑑2𝑛 |𝑛, 𝑚 ≥ 0}