Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. (50 point) For i=1, 2, 3, 4 and 5, design NFAs Ni , such that L(Ni) = Bi , where: (a) B1 = {w

1. (50 point) For i=1, 2, 3, 4 and 5, design NFAs Ni , such that L(Ni) = Bi , where:

(a) B1 = {w | w has an even number of 00 s, or, contains exactly two 10 s}.

(b) B2 = {w | every odd position of w is 1}. Note: In this question, we use the following convention: the position of a string w starts with position 0. For example, If s is the string 010, then the symbol at position 0 (resp. 1, 2) of s is 0 (resp. 1, 0) respectively. Hence, s will be in B2. In addition, we will consider the empty string e 6 B2.

(c) B3 = {w | all strings except the empty string and the string 11}.

(d) B4 = {0} with two states.

(e) B5 = 0 1 1 + with three states.

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

50 Tips And Tricks For MongoDB Developers Get The Most Out Of Your Database

Authors: Kristina Chodorow

1st Edition

1449304613, 978-1449304614

More Books

Students also viewed these Databases questions

Question

Why might stock repurchases be preferred to dividends?

Answered: 1 week ago

Question

How are adverse and favourable variances calculated.

Answered: 1 week ago

Question

Which are non projected Teaching aids in advance learning system?

Answered: 1 week ago