Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a regular expression and construct an equivalent finite automata 1. All strings which does not contain the substring ab. 2. All strings which contan

Write a regular expression and construct an equivalent finite automata

1. All strings which does not contain the substring ab.

2. All strings which contan even number of b's

3.All binary strings that have ever letter a followed by at least one letter b.

4. All binary strings not ending with ab.

5. Write regular expression for all the strings over the alphabet ={0,1,2} with an odd number of 1s

6. Give the context free grammers generating the following languages

a.The set of strings over alphabet ={b,c} with twice as many a's as b's.

b. The complement of the language {an bn | n 0}.

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

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

0201844524, 978-0201844528

More Books

Students also viewed these Databases questions

Question

Guidelines for Informative Speeches?

Answered: 1 week ago