-->
当前位置:首页 > 题库 > 正文内容

Multiple choice:Which statement about the description of syntax tree is wrong.

Luz3年前 (2021-05-10)题库247
Which statement about the description of syntax tree is wrong@[ B](2)
A. You can draw a grammar tree by using the derivation process
B. The syntax tree generated by the leftmost derivation is different from that generated by the rightmost derivation
C. For non ambiguous grammar, all phrases and simple phrases can be found from a grammar tree
D. A non leaf node of a syntax tree must correspond to a non terminator




A. You can draw a grammar tree by using the derivation process
B. The syntax tree generated by the leftmost derivation is different from that generated by the rightmost derivation
C. For non ambiguous grammar, all phrases and simple phrases can be found from a grammar tree
D. A non leaf node of a syntax tree must correspond to a non terminator


answer:B

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。