Question: Write a necessary function for a given automata
0

enter image description here

Mumbai University > Information Technology > Sem 4 > Automata Theory

Marks: 10M

automata theory • 254 views
ADD COMMENTlink
modified 9 weeks ago by gravatar for RB RB100 written 5 months ago by gravatar for pratikj2208 pratikj22080
0

Problem:

function S {

    if input == a

        call A.next ()

}

function A {

    if input == a

        call A.next ()

    else

        if input == b

        {
            call B.next ()
            print "Accpet".
        }
}

function B {

    if input == a

        call A.next ()

    else

        if input == b

        {
            call B.next ()

            print "Accept"

        }

}
ADD COMMENTlink
modified 8 weeks ago by gravatar for Ankit Pandey Ankit Pandey70 written 9 weeks ago by gravatar for RB RB100
Please log in to add an answer.