📚 Question Bank Q99 — Theory of Computation
Tags
Theory of Computation
Q99. Marks: +2.0 UGC NET Paper 2: Computer Science 11 March 2023

Which of the following is (are) correct about the regular expression?

aa*bb*cc*dd*

A. The language for the given expression is:

L = {anbncmdm | n ≥ 1, m ≥ 1} U {anbmcmdn | n ≥ 1, m ≥ 1}

B. The Context Free Language for the given expression is:

S → AB | C

A → aAb | ab

B → cBd | cd

C → aCd | aDd

D → bDc | bc

C. The language generated by this expression is equal number of 'a's, followed by equal number of 'b's, followed by equal number of 'c's and followed by equal number of 'd's.

Choose the correct answer from the options given below:

1.Only A is correct
2.Only B is correct
3.Both A and B are correct ✓ Correct
4.All the three A, B and C are correct
📄 All “Theory of Computation” questions across papers
🏷 Change Tag for this Question