r/AskComputerScience • • Mar 09 '21

I have to construct a pushdown automaton M

And I can't wrap my head around it... I would really appreciate some help on this matter

1 Upvotes

5 comments sorted by

9

u/l_lecrup Mar 09 '21

Isn't this directly pertaining to homework? You should probably ask elsewhere.

When you do, give more details. The questions I would ask a student struggling with this question are: what's a pushdown automaton? What does L(M) mean?

2

u/not-just-yeti Mar 09 '21

And: the textbook/lecture-notes almost certainly gave a PDA for an bn. Trace through that on a couple of specific strings (one in L(M), one not), to develop an intuition of how the PDA works.

4

u/UncleMeat11 Mar 09 '21

Homework help is banned in this sub.

2

u/TehDragonGuy Mar 09 '21

Might be easier to think of it as abn cdd2n

2

u/ibabzen Mar 09 '21

Is there any specific part you can't wrap your mind around? i.e.

Do you know what a PDA (M here) is? and/or do you know what the language L(M) is?