

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An assignment on regular expressions and language theory. It includes tasks such as defining regular languages, determining equivalence of regular expressions, constructing transition graphs, and proving properties of regular languages using the pumping lemma and arden's theorem.
What you will learn
Typology: Cheat Sheet
1 / 2
This page cannot be seen from the preview
Don't miss anything!
and ๐
2
. The symbol
โก stands for equivalence.
a.
1
โ
โ
1
โ
b. (๐
1
โ
2
โ
โ
1
2
โ
c. (๐
1
โ
2
โ
โ
1
2
โ
a. ๐ฟ
1
๐
๐
b. ๐ฟ
2
๐
๐
c. ๐ฟ
3
๐
๐
d. ๐ฟ
1
e. ๐ฟ
2
f. ๐ฟ
3
g. ๐ฟ
4
โ
h. ๐ฟ
5
โ
i. ๐ฟ
5
a. All strings having exactly two aโs.
b. All strings having at least two aโs.
c. All strings having at most two aโs.
d. All strings having at least one occurrence of each alphabet.
e. All strings in which all runs of aโs lengths that are multiples of three.
a. All strings ending with 11.
b. All strings not ending with 11.
c. All strings, in which first two and last two symbols are same and the length of string is
more than 3.
d. All strings with even number of 1โs.
e. All strings having two times occurrence of 00. 000 is also counted as two time
occurrence of 00.
following languages:
a. ๐ฟ = {๐ค๐
โ
b. ๐ฟ = {๐ค๐
โ
a. ๐ฟ(๐
โ
โ
โ
b. ๐ฟ(๐๐
โ
โ
c. ๐ฟ((๐๐๐๐)
โ
โ
โ
d. ๐ฟ(
โ
โ
a. ๐ฟ(๐๐
โ
โ
โ
b. ๐ฟ(
โ
โ
โ
c. ๐ฟ(๐๐
โ
โ
โ
d. ๐ฟ(๐๐
โ
โ
โ
Graph:
a.
b.
a. ๐ฟ = {๐ค|๐
๐
๐
b. ๐ฟ = {๐ค|๐
๐
๐
c. ๐ฟ = {๐
๐
d. ๐ฟ = {๐
๐!
Note: If any query please ask in class.