

InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
51. |
Which of the following is the correct representation of grammar for the given regular expression? a(aUb)*b(a) (1) S → aMb (2) M → e (3) M → aM (4) M → bM(b) (1) S → aMb (2) M → Mab (3) M → aM (4) M → bM(c) (1) S → aMb (2) M → e (3) M → aMb (4) M → bMa(d) None of the mentionedI had been asked this question in final exam.My question is based upon DPDA and Context Free Languages in chapter Push Down Automata of Automata Theory |
Answer» Correct option is (a) (1) S → aMb (2) M → e (3) M → aM (4) M → bM |
|
52. |
The context free grammar which generates a Regular Language is termed as:(a) Context Regular Grammar(b) Regular Grammar(c) Context Sensitive Grammar(d) None of the mentionedThe question was asked in an online interview.This key question is from PDA-acceptance by Empty Stack in section Push Down Automata of Automata Theory |
Answer» Right answer is (b) Regular Grammar |
|
53. |
CFGs are more powerful than:(a) DFA(b) NDFA(c) Mealy Machine(d) All of the mentionedThe question was asked in a job interview.The doubt is from DPDA and Ambiguous Grammars in section Push Down Automata of Automata Theory |
Answer» The correct CHOICE is (d) All of the mentioned |
|
54. |
The transition a Push down automaton makes is additionally dependent upon the:(a) stack(b) input tape(c) terminals(d) none of the mentionedThe question was posed to me by my college professor while I was bunking the class.This key question is from Deterministic PDA topic in chapter Push Down Automata of Automata Theory |
Answer» The CORRECT choice is (a) stack |
|
55. |
Which of the following correctly resembles the given state diagram?(a) {ww^r|w=(a+b)*}(b) ε is called the initial stack symbol(c) Both (a) and (b)(d) None of the mentionedI have been asked this question at a job interview.Origin of the question is From PDA to Grammars in chapter Push Down Automata of Automata Theory |
Answer» Right option is (a) {ww^r|W=(a+b)*} |
|
56. |
The moves in the PDA is technically termed as:(a) Turnstile(b) Shifter(c) Router(d) None of the mentionedThe question was asked at a job interview.My question is based upon From PDA to Grammars topic in portion Push Down Automata of Automata Theory |
Answer» Right choice is (a) TURNSTILE |
|
57. |
Which of the following is analogous to the following?:NFA and NPDA(a) Regular language and Context Free language(b) Regular language and Context Sensitive language(c) Context free language and Context Sensitive language(d) None of the mentionedI had been asked this question by my college professor while I was bunking the class.The query is from Regular Languages and D-PDA topic in division Push Down Automata of Automata Theory |
Answer» The correct answer is (a) REGULAR LANGUAGE and Context Free language |
|
58. |
Which of the following statement is false?(a) For non deterministic PDA, equivalence is undecidable(b) For deterministic PDA, equivalence is decidable(c) For deterministic PDA, equivalence is undecidable.(d) None of the mentionedThe question was posed to me in an online interview.This intriguing question comes from From PDA to Grammars in section Push Down Automata of Automata Theory |
Answer» Right answer is (c) For deterministic PDA, EQUIVALENCE is undecidable. |
|
59. |
For a counter automaton, with the symbols A and Z0, the string on the stack is always in the form of __________(a) A(b) A^nZ0, n>=0(c) Z0A^n, n>=0(d) None of the mentionedI got this question in examination.This interesting question is from From Grammars to Push Down Automata topic in portion Push Down Automata of Automata Theory |
Answer» The correct option is (B) A^nZ0, N>=0 |
|
60. |
A string is accepted by a PDA when(a) Stack is empty(b) Acceptance state(c) Both (a) and (b)(d) None of the mentionedThis question was addressed to me in an internship interview.I want to ask this question from PDA-Acceptance by Final State in section Push Down Automata of Automata Theory |
Answer» Correct choice is (c) Both (a) and (B) |
|