If the partial derivation tree contains the root as the starting variable, the form is known as:

Ngọc Trâm

New member
If the partial derivation tree contains the root as the starting variable, the form is known as:
A. Chomsky hierarchy
B. Sentential form
C. Root form
D. None of the mentioned
 
Answer: B
Explanation: Example: For any grammar, productions be:
S->AB
A->aaA| ^
B->Bb| ^
The partial derivation tree can be drawn as:
Since it has the root as S, this can be said to be in sentential form.
 

Tìm kiếm

Back
Top