adplus-dvertising

Welcome to the Context Free Grammars MCQs Page

Dive deep into the fascinating world of Context Free Grammars with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Context Free Grammars, a crucial aspect of Formal Languages and Automata Theory. In this section, you will encounter a diverse range of MCQs that cover various aspects of Context Free Grammars, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within Formal Languages and Automata Theory.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Context Free Grammars. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of Formal Languages and Automata Theory.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Context Free Grammars. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Context Free Grammars MCQs | Page 3 of 10

Explore more Topics under Formal Languages and Automata Theory

Q21.
Grammar that produce more than one Parse tree for same sentence is:
Discuss
Answer: (a).Ambiguous
Q22.
Automaton accepting the regular expression of any number of a โ€˜ s is:
Discuss
Answer: (a).a*
Q23.
Grammars that can be translated to DFAs:
Discuss
Answer: (b).Right linear grammar
Q24.
The language accepted by a Push down Automata:
Discuss
Answer: (c).Type2
Q25.
Given the following statements:

(i) Recursive enumerable sets are closed under complementation.
(ii) Recursive sets are closed under complements.

Which is/are the correct statements?
Discuss
Answer: (b).II only
Q26.
Assume statements S1 and S2 defined as:

S1: L2-L1 is recursive enumerable where L1 and L2 are recursive and recursive enumerable respectively. S2: The set of all Turing machines is countable.

Which of the following is true?
Discuss
Answer: (b).Both S1 and S2 are correct
Discuss
Answer: (b).It has 2 or more right derivations for some terminal string ัก ั” L (G)
Discuss
Answer: (d).None of the mentioned
Discuss
Answer: (a).{0โฟ1แต | n=2, m=3}
Discuss
Answer: (a).Equal number of 0โ€™s and 1โ€™s

Suggested Topics

Are you eager to expand your knowledge beyond Formal Languages and Automata Theory? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!