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

Q91.
Which of the following is false for a grammar G in Chomsky Normal Form:
Discuss
Answer: (d).None of the mentioned
Q92.
Given Checklist:
a) G has no useless symbols
b) G has no unit productions
c) G has no epsilon productions
d) Normal form for production is violated
Is it possible for the grammar G to be in CNF with the following checklisy ?
Discuss
Answer: (b).No
Q93.
State true or false:
Statement: A CNF parse tree’s string yield (w) can no longer be 2h-1.
Discuss
Answer: (a).True
Q94.
If |w|>=2^h, then its parse tree’s height is at least _____
Discuss
Answer: (b).h+1
Q95.
If w belongs to L(G), for some CFG, then w has a parse tree, which tell us the ________ structure of w.
Discuss
Answer: (b).syntactic
Discuss
Answer: (c).both abstract parse trees and sentence diagrams
Q97.
Choose the correct option:
Statement: Unambiguity is the ideal structure of a language.
Discuss
Answer: (a).true
Q98.
Is the given statement correct?
Statement: The mere existence of several derivations is not an issue, its is the existence of several parse trees that ruins a grammar.
Discuss
Answer: (a).Yes
Page 10 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!