Automata Theory Questions and Answers – Intersection with Regular Languages

This set of Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “Intersection with Regular Languages”. 1. Which of the following is not a negative property of Context free languages? a) Intersection b) Complement c) Intersection and Complement d) None of the mentioned 2. The intersection of context free language and regular language is … Read more

advertisement

Automata Theory Questions and Answers – CFL- Other Normal Forms

This set of Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “CFL- Other Normal Forms”. 1. The following format of grammatical notation is accepted by which of the following: AB->CD A->BC or A->B or A->a where A, B, C, D are non terminal symbols and a is a terminal symbol. a) Greibach Normal … Read more

advertisement

Automata Theory Questions and Answers – CFL- Closure Properties/Decision Properties

This set of Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “CFL- Closure Properties/Decision Properties”. 1. The context free languages are closed under: a) Intersection b) Complement c) Kleene d) None of the mentioned 2. Given Grammar G1: S->aSb S->e Grammar G2: R->cRd R->e If L(G)=L(G1) U L(G2), the number of productions the … Read more

advertisement

Automata Theory Questions and Answers – Pumping Lemma for Context Free Language

This set of Automata Theory Questions and Answers for Campus interviews focuses on “Pumping Lemma for Context Free Language”. 1. Which of the following is called Bar-Hillel lemma? a) Pumping lemma for regular language b) Pumping lemma for context free languages c) Pumping lemma for context sensitive languages d) None of the mentioned 2. Which … Read more

advertisement

Automata Theory Questions and Answers – Chomsky Normal Form

This set of Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “Chomsky Normal Form”. 1. The format: A->aB refers to which of the following? a) Chomsky Normal Form b) Greibach Normal Form c) Backus Naur Form d) None of the mentioned 2. Which of the following does not have left recursions? a) Chomsky … Read more

advertisement

Automata Theory Questions and Answers – Eliminating Unit Productions

This set of Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “Eliminating Unit Productions”. 1. Which of the following is the format of unit production? a) A->B b) A->b c) B->Aa d) None of the mentioned 2. Given Grammar G: S->aA A->a| A B->B The number of productions to be removed immediately as … Read more

advertisement

Automata Theory Questions and Answers – Eliminating Epsilon Productions

This set of Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “Eliminating Epsilon Productions”. 1. The use of variable dependency graph is in: a) Removal of useless variables b) Removal of null productions c) Removal of unit productions d) None of the mentioned 2. The variable which produces an epsilon is called: a) … Read more

advertisement

Automata Theory Questions and Answers – CFG-Eliminating Useless Symbols

This set of Automata Theory Assessment Questions and Answers focuses on “CFG-Eliminating Useless Symbols”. 1. Suppose A->xBz and B->y, then the simplified grammar would be: a) A->xyz b) A->xBz|xyz c) A->xBz|B|y d) none of the mentioned 2. Given Grammar: S->A, A->aA, A->e, B->bA Which among the following productions are Useless productions? a) S->A b) A->aA … Read more

advertisement

Automata Theory Questions and Answers – DPDA and Ambiguous Grammars

This set of Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “DPDA and Ambiguous Grammars”. 1. CFGs are more powerful than: a) DFA b) NDFA c) Mealy Machine d) All of the mentioned 2. State true or false: S-> 0S1|01 Statement: No regular expression exists for the given grammar. a) true b) false … Read more

advertisement

Automata Theory Questions and Answers – DPDA and Context Free Languages

This set of Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “DPDA and Context Free Languages”. 1. Context free grammar is called Type 2 grammar because of ______________ hierarchy. a) Greibach b) Backus c) Chomsky d) None of the mentioned 2. a→b Restriction: Length of b must be atleast as much length of … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.