Question 17064 – NTA UGC NET DEC-2022 Paper-2
December 3, 2023
Question 8218 – Aptitude
December 3, 2023
Question 17064 – NTA UGC NET DEC-2022 Paper-2
December 3, 2023
Question 8218 – Aptitude
December 3, 2023

Question 17181 – NTA UGC NET DEC-2022 Paper-2

Which of the following ts (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

The language generated by this expression 1s 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:

Correct Answer: C

A
Only A is correct

B
Only B is correct
C
Both A and B are correct
D
All the three A. B and C are correct

Leave a Reply

Your email address will not be published. Required fields are marked *