Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions