a→b Restriction: Length of b must be atleast as much length of a. Which of the following is correct for the given assertion?

Đinh Yến

New member
a→b
Restriction: Length of b must be atleast as much length of a.
Which of the following is correct for the given assertion?
A. Greibach Normal form
B. Context Sensitive Language
C. Chomsky Normal form
D. Recursively Ennumerable language
 
Answer: B
Explanation: A context-sensitive grammar (CSG) is a formal grammar in which the left-hand sides and right-hand sides of any production rules may be surrounded by a context of terminal and non terminal symbols. Context-sensitive grammars are more general than context-free grammars, in the sense that there are some languages that cannot be described by context-free grammars, but can be described by CSG.
 

Tìm kiếm

Back
Top