The following denotion belongs to which type of language: G=(V, T, P, S)

Giang Phạm

New member
The following denotion belongs to which type of language:
G=(V, T, P, S)
A. Regular grammar
B. Context free grammar
C. Context Sensitive grammar
D. All of the mentioned
 
Answer: B
Explanation: Ant formal grammar is represented using a 4-tuple definition where V= finite set of variables, T= set of terminal characters, P=set of productions and S= Starting Variable with certain conditions based on the type of formal grammar.
 

Tìm kiếm

Back
Top