250+ TOP MCQs on PDA-Acceptance by Final State and Answers

Automata Theory Questions and Answers for Entrance exams on “PDA-Acceptance by Final State”.

1. A push down automaton employs ________ data structure.
a) Queue
b) Linked List
c) Hash Table
d) Stack

Answer: d
Clarification: A push down automata uses a stack to carry out its operations. They are more capable than the finite automatons but less than the turing model.

2. State true or false:
Statement: The operations of PDA never work on elements, other than the top.
a) true
b) false

Answer: a
Clarification: The term pushdown refers to the fact that the elements are pushed down in the stack and as per the LIFO principle, the operation is always performed on the top element of the stack.

3. Which of the following allows stacked values to be sub-stacks rather than just finite symbols?
a) Push Down Automaton
b) Turing Machine
c) Nested Stack Automaton
d) None of the mentioned

Answer: c
Clarification: In computational theory, a nested stack automaton is a finite automaton which makes use of stack containing data which can be additional stacks.

4. A non deterministic two way, nested stack automaton has n-tuple definition. State the value of n.
a) 5
b) 8
c) 4
d) 10

Answer: d
Clarification: The 10-tuple can be stated as: NSA= ‹Q,Σ,Γ,δ,q0,Z0,F,[,],]›.

5. Push down automata accepts _________ languages.
a) Type 3
b) Type 2
c) Type 1
d) Type 0

Answer: b
Clarification: Push down automata is for Context free languages and they are termed as Type 2 languages according to Chomsky hierarchy.

6. The class of languages not accepted by non deterministic, nonerasing stack automata is _______
a) NSPACE(n2)
b) NL
c) CSL
d) All of the mentioned

Answer: d
Clarification: NSPACE or non deterministic space is the computational resource describing the memory space for a non deterministic turing machine.

7. A push down automaton with only symbol allowed on the stack along with fixed symbol.
a) Embedded PDA
b) Nested Stack automata
c) DPDA
d) Counter Automaton

Answer: d
Clarification: This class of automata can recognize a set of context free languages like {anbn|n belongs to N}

8. Which of the operations are eligible in PDA?
a) Push
b) Delete
c) Insert
d) Pop

Answer: a, d
Clarification: Push and pop are the operations we perform to operate a stack. A stack follows the LIFO principle, which states its rule as: Last In First Out.

9. A string is accepted by a PDA when
a) Stack is empty
b) Acceptance state
c) Both (a) and (b)
d) None of the mentioned

Answer: c
Clarification: When we reach the acceptance state and find the stack to be empty, we say, the string has been accepted by the push down automata.

10. The following move of a PDA is on the basis of:
a) Present state
b) Input Symbol
c) Both (a) and (b)
d) None of the mentioned

Answer: c
Clarification: The next operation is performed by PDA considering three factors: present state,symbol on the top of the stack and the input symbol.

Leave a Reply

Your email address will not be published. Required fields are marked *