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

Find a nondeterministic finite-state automaton that recognizes each of the languages in Exercise 55, and has fewer states, if possible, than the deterministic automaton you found in that exercise.

Short Answer

Expert verified

The result is

(a)

State01
\({{\bf{s}}_{\bf{0}}}\)
\({{\bf{s}}_{\bf{1}}}\)

\({{\bf{s}}_{\bf{1}}}\)


b)

State01
\({{\bf{s}}_{\bf{0}}}\)
\({{\bf{s}}_{\bf{1}}}\)
\({{\bf{s}}_{\bf{3}}}\)
\({{\bf{s}}_{\bf{1}}}\)
\({{\bf{s}}_{\bf{2}}}\)

\({{\bf{s}}_{\bf{2}}}\)


\({{\bf{s}}_{\bf{3}}}\)


c)

State01
\({{\bf{s}}_{\bf{0}}}\)

\({{\bf{s}}_{\bf{1}}}\)
\({{\bf{s}}_{\bf{1}}}\)

\({{\bf{s}}_{\bf{2}}}\)
\({{\bf{s}}_{\bf{2}}}\)

\({{\bf{s}}_{\bf{2}}}\)

Step by step solution

01

Construction of deterministic finite-state automaton.

(a)

Here \(L\left( M \right) = \left\{ 0 \right\}\)

Let us consider twostate\({s_0},{s_1}\).

In the deterministic finite state of the exercise(55),I made sure that all strings not should not be recognized ended up in the non-final state\({s_2}\).

The non-final state \({s_2}\)is then not useful for all strings that are actually recognised by the machine and thus I can remove \({s_2}\)from the deterministic finite automation to determine a non-deterministic finite-state automation.

Other way of representing in tabular form.

State01
\({s_0}\)
\({s_1}\)

\({s_1}\)


02

Construct deterministic finite-state automaton.

(b)

Here \(L\left( M \right) = \left\{ {1,00} \right\}\)

Let us consider five state\({s_0},{s_{1,}}{s_2},{s_3}\).

In the deterministic finite state of the exercise (55),I made sure that all strings not should not be recognized ended up in the non-final state\({s_3}\).

The non-final state \({s_3}\)is then not useful for all strings that are actually recognised by the machine and thus I can remove \({s_3}\)from the deterministic finite automation to determine a non-deterministic finite-state automation.

Other way of representing in tabular form.

State01
\({s_0}\)
\({s_1}\)
\({s_3}\)
\({s_1}\)
\({s_2}\)

\({s_2}\)


\({s_3}\)


03

Construction of deterministic finite-state automaton

(c)

Here \(L\left( M \right) = \left\{ {{1^n}|n = 2,3,4,...} \right\}\)

Let us consider four state\({s_0},{s_{1,}}{s_2}\).

In the deterministic finite state of the exercise (55),I made sure that all strings not should not be recognized ended up in the non-final state\({s_2}\).

The non-final state\({s_2}\)is then not useful for all strings that are actually recognised by the machine and thus I can remove \({s_2}\)from the deterministic finite automation to determine a non-deterministic finite-state automation.

Other way of representing in tabular form.

State01
\({s_0}\)

\({s_1}\)
\({s_1}\)

\({s_2}\)
\({s_2}\)

\({s_2}\)

Therefore, this is the require construction of all parts.

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