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

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
Page 3 of 10

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!