Unit3 - Subjective Questions

CSE322 • Practice Questions with Detailed Answers

1

Define a Formal Grammar. Explain the four tuples used to represent it mathematically.

2

Explain the concept of 'Derivation' and the 'Language Generated by a Grammar'.

3

Describe the Chomsky Classification of Languages in detail.

4

What is the relationship between the languages in the Chomsky Hierarchy? Explain with a diagrammatic concept.

5

Distinguish between Recursive Sets and Recursively Enumerable (RE) Sets.

6

Map the different classes of Formal Languages to their corresponding Automata.

7

Define Left Linear and Right Linear Regular Grammars. Provide examples of each.

8

Outline the algorithm to convert a given Regular Expression to a Regular Grammar.

9

Explain the method of converting a Regular Grammar into a Regular Expression using Arden's Theorem.

10

Convert the Right Linear Grammar , , into a Regular Expression.

11

What are Regular Sets? Discuss their relation to Regular Grammars.

12

Differentiate between Leftmost Derivation and Rightmost Derivation. Provide an example.

13

Are Left Linear Grammars and Right Linear Grammars equivalent in power? Justify your answer.

14

What is an Unrestricted Grammar? Discuss its rule constraints and expressive power.

15

Describe Context-Sensitive Languages (Type 1). Why are they called 'context-sensitive'?

16

Discuss the closure properties of Recursive and Recursively Enumerable Sets.

17

Convert the Regular Expression into a Regular Grammar.

18

Explain the equivalence between Finite Automata (FA) and Regular Grammars.

19

What are the rules for defining a Context-Free Grammar (CFG)? Provide an example of a language generated by a CFG that is not Regular.

20

Construct a Regular Grammar to generate the language consisting of strings over ending with 'abb'.