Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Use Exercise 39 and finite-state automata constructed in Example 6 to find deterministic finite-state automata that recognize each of these sets.

a) The set of bit strings that do not begin with two 0s.

b) The set of bit strings that do not end with two 0s.

c) The set of bit strings that contain at most one 0 (that is, that do not contain at least two 0s).

Short Answer

Expert verified

(a) The set of bit strings that do not begin with two 0s then M with the final state turned into non-final state and the non-final states turned into final state.

b) The set of bit strings that do not end with two 0s then M with the final state turned into non-final state and the non-final states turned into final state.

c) The set of bit strings that contain at most one 0 (that is, that do not contain at least two 0s) then M with the final state turned into non-final state and the non-final states turned into final state.

Step by step solution

01

Determine that the set of bit string do no begin with two 0’s.

In a fig, the deterministic state automaton M was given that recognizes bit strings that begin with two 0’s. The automaton has one final state\({s_2}\) , while the other three states \({s_0},{s_1},{s_3}\)are not final states.

Final state=\({s_2}\)

Non- final state=\({s_0},{s_1},{s_3}\)

The deterministic finite state automation that recognizes bit strings that do NOT being with two0’s is then M/ with the final state into non-final state and the non-final turned into final state.

Final state=\({s_0},{s_1},{s_3}\)

Non final state=\({s_2}\)

Therefore, the set of bit strings that do not begin with two s

02

Find that the set of bit strings that do not end with two 0s.

In a fig.,the deterministic state automaton M was given that recognizes bit strings that begin with two 0’s. The automaton has one final state\({s_2}\), while the other two states \({s_0}\)and \({s_1}\)a are not final states.

Final state=\({s_2}\)

Non- final state=\({s_0},{s_2}\)

The deterministic finte state automation that recognizes bit strings that do NOT being with two 0’s is then M/ with the final state into non-final state and the non-final turned into final state.

Final state=\({s_0},{s_2}\)

Non final state=\({s_2}\)

Therefore, the set of bit strings that do not end with two 0s.

03

Evaluate that the set of bit strings that contain at most one 0.

In a fig. the deterministic state automaton M was given that recognizes bit strings that begin with two 0’s. The automaton has one final state\({s_2}\) while the other two states \({s_0}\)and \({s_1}\)are not final states.

Final state=\({s_2}\)

Non- final state=\({s_0},{s_1}\)

The deterministic finite state automation that recognizes bit strings that do NOT being with two 0’s is then M/ with the final state into non-final state and the non-final turned into final state.

Final state=\({s_0},{s_1}\)

Non final state=\({s_2}\)

Therefore, the set of bit strings that contain at most one 0 (that is, that do not contain at least two 0s).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free