edited by
2,020 views
1 votes
1 votes

Regular Expression:-

Q1)   What languages do the expression (∅*)* and a∅ denote?

Q2)   Find a regular expression and finite automata for all bit strings, with leading bit 1 interpreted as a binary integer, with values not between 10 and 30.

Regular Grammar:-

Q1)   Suggest a construction by which a left-linear grammar can be obtained from an nfa directly.

Q2)   Find a regular grammar and draw the nfa or dfa that generates the language 

                 L = { w ∈ {a, b}* /  (number of a in w + 3*number of b)  in w is even }

edited by

3 Answers

0 votes
0 votes
Regular Expression :

1) L={},  means "Empty Language" is denoted by the both of Expression.
0 votes
0 votes

Please Correct me If I am wrong.

Regular Grammar:-

Q2.

DFA for the required language.

.

Grammar :

S->aA /bA / λ

A->aS / bS

Related questions

1 votes
1 votes
0 answers
2
0 votes
0 votes
0 answers
4