

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
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.
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.