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 11 of 12

Q101.
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.
Discuss
Answer: (c).Kuroda Normal Form
Q102.
Every Kuroda Normal form grammar generates ___________
Discuss
Answer: (b).Context sensitive grammar
Q103.
Which of the following can generate Unrestricted grammars?
Discuss
Answer: (a).Pentonnen Normal form
Q104.
Given a grammar in GNF and a derivable string in the grammar with the length n, any ___________will halt at depth n.
Discuss
Answer: (a).top-down parser
Q105.
Which of the following grammars is similar to Floyd Normal form?
Discuss
Answer: (a).Backus Naur Form
Q106.
Which among the following can parse a context free grammar?
Discuss
Answer: (d).all of the mentioned
Q107.
The standard version of CYK algorithm operates only on context free grammars in the following form:
Discuss
Answer: (b).Chomsky Normal form
Q108.
The __________ running time of CYK is O(n^3 .|G|)
where n is the length of the parse string and |G| is the size of the context free grammar G.
Discuss
Answer: (a).worst
Discuss
Answer: (d).all of the mentioned
Q110.
Which among the following is a correct option in format for representing symbol and expression in Backus normal form?
Discuss
Answer: (b).<symbol>::=_expression_
Page 11 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!