536 views
0 0 votes

Consider the following languages :
L1 : Set of all strings of form {apbqp + q = 500} over alphabet Σ = {a, b}.
L2 : Set of all strings of form {apbqp – q = 500} over alphabet Σ = {a, b}.
Which of the above languages is regular ?

A) L1

B) L2

C) Both

D) None of these

1 Answer

0 0 votes
L1 is regular since it contain finite set of strings
Position:
Show:

No related questions found