CSE273 02 Mid Spring 2022 PDF
CSE273 02 Mid Spring 2022 PDF
Submission guidelines:
After you complete the assignment rename it with your ID and Name and
upload ID_Name.pdf on Engrade in the turn-in section.
This study source was downloaded by 100000885393720 from CourseHero.com on 05-04-2024 12:29:18 GMT -05:00
1
https://www.coursehero.com/file/141523408/CSE27302MidSpring2022pdf/
2. a) Define regular language. Explain the principle of designing a finite automation that 5
recognizes some given language.
b) Convert the regular expression (a U ab)* baa (a U b)* to an equivalent NFA. 5
A→SbA|SS|ba
i. Leftmost derivation;
ii. Rightmost derivation; and
iii. Parse tree.
b) What do you understand by ambiguous grammar? Explain it using a suitable example. 4
This study source was downloaded by 100000885393720 from CourseHero.com on 05-04-2024 12:29:18 GMT -05:00
2
https://www.coursehero.com/file/141523408/CSE27302MidSpring2022pdf/
Powered by TCPDF (www.tcpdf.org)