Question: 1 . Consider the language, L = L 1 L 2 L 1 = { a 2 i b 2 j | i > 0

1.Consider the language, L=L1L2
L1={a2ib2j|i>0,j0}
L2={c3k+1d2|k>2}
a. Construct an automaton that accepts the language L.(5 marks)
b. Write a grammar that generates all strings in L.(5 marks)
Design a deterministic finite automaton to recognise the following language
2.L={02m+13n+2km>0,n>0,k>2}, where ={0,1,2,+}.
3.Write regular expression for each of the following languages over the alphabet ??={a,b}.
i. The set of strings containing ab as a substring. (2.5 marks)
ii. The set of strings having at most one pair of consecutive a's and at most one pair of consecutive b's.(2.5 marks )
iii. The set of strings whose length is divisible by 6.
iv. The set of strings whose 5th symbol from last is b.
 1.Consider the language, L=L1L2 L1={a2ib2j|i>0,j0} L2={c3k+1d2|k>2} a. Construct an automaton that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!