In a pushdown automaton P=(Q,?,?,?,q0,F), a transition of the form,where p,q?Q, a???{?}, X,Y,???{?}, represents
(q,Y) ? ?(p,a,X)
Consider the following pushdown automaton over the input alphabet ?={a,b} and stack alphabet ?={#,A}.The number of strings of length 100 accepted by the above pushdown automaton is ___________ .
Correct Answer: A
report Report Error
Select Issue Type
Selected Issue
forum Community Discussion
speaker_notes_off
No discussions yet. Be the first to start!
syncLoading more...
You must be logged in to participate in the discussion.
The language accepted by a Pushdown Automation in which the stack is limited to 10 items is best described as
Correct Answer: B
Pushdown automata is used for context free languages, i.e., languages in which the length of elements is unrestricted and length of one element is related to other. To resolve this problem, we use a stack with no restrictions on length.
But in the given case, length of stack is restricted. Thus, this pushdown automata can only accept languages which can also be accepted by finite state automata and a finite state automata accepts only regular languages.
Thus, B is the correct choice.
Please comment below if you find anything wrong in the above post.