adplus-dvertising
frame-decoration

Question

If the PDA does not stop on an accepting state and the stack is not empty, the string is:

a.

rejected

b.

goes into loop forever

c.

both a and b

d.

none of the mentioned

Answer: (a).rejected

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If the PDA does not stop on an accepting state and the stack is not empty, the string is:

Similar Questions

Discover Related MCQs

Q. A language accepted by Deterministic Push down automata is closed under which of the following?

Q. Which of the following is a simulator for non deterministic automata?

Q. Finite-state acceptors for the nested words can be:

Q. Which of the following is analogous to the following?
:NFA and NPDA

Q. Let T={p, q, r, s, t}. The number of strings in S* of length 4 such that no symbols can be repeated.

Q. Which of the following relates to Chomsky hierarchy?

Q. A language is accepted by a push down automata if it is:

Q. Which of the following is an incorrect regular expression identity?

Q. Which of the following strings do not belong the given regular expression?
(a)*(a+cba)

Q. Which of the following regular expression allows strings on {a,b}* with length n where n is a multiple of 4.

Q. Which of the following strings is not generated by the given grammar:
S->SaSbS|e

Q. abb*c denotes which of the following?

Q. The following denotion belongs to which type of language:
G=(V, T, P, S)

Q. Context free grammar is called Type 2 grammar because of ______________ hierarchy.

Q. a→b
Restriction: Length of b must be atleast as much length of a.

Which of the following is correct for the given assertion?

Q. From the definition of context free grammars,
G=(V, T, P, S)

What is the solution of VÇT?

Q. If P is the production, for the given statement, state true or false.
P: V->(V∑T)* represents that the left hand side production rule has no right or left context.

Q. There exists a Context free grammar such that:
X->aX

Which among the following is correct with respect to the given assertion?

Q. If the partial derivation tree contains the root as the starting variable, the form is known as:

Q. Find a regular expression for a grammar which generates a language which states :
L contains a set of strings starting wth an a and ending with a b, with something in the middle.