adplus-dvertising

Welcome to the Context Free Languages MCQs Page

Dive deep into the fascinating world of Context Free Languages with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Context Free Languages, 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 Languages, 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 Languages. 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 Languages. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Context Free Languages MCQs | Page 10 of 12

Q91.
The context free languages are closed under:
Discuss
Answer: (c).Kleene
Q92.
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 new starting variable would have:

a.

2

b.

3

c.

4

d.

1

Discuss
Answer: (a).2
Q93.
Context free languages are not closed under:
Discuss
Answer: (d).All of the mentioned
Q94.
Which of the following is incorrect?
There exists algorithms to decide if:
Discuss
Answer: (d).All of the mentioned
Q95.
If the start symbol is one of those symbols which produce no terminal through any sequence, the CFL is said to be
Discuss
Answer: (b).empty
Q96.
Using the pumping constant n, If there is a string in the language of length between _____ and ____ then the language is infite else not.
Discuss
Answer: (a).n, 2n-1
Q97.
Which of the following is/are CFL not closed under?
Discuss
Answer: (d).All of the mentioned
Q98.
If L1 and L2 are context free languages, L1-L2 are context free:
Discuss
Answer: (c).never
Q99.
A___________ is context free grammar with atmost one non terminal in the right handside of the production.
Discuss
Answer: (a).linear grammar
Q100.
There is a linear grammar that generates a context free grammar
Discuss
Answer: (c).sometimes
Page 10 of 12

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!