- 1、本文档共23页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
西交《编译原理》在线作业(West to compile principles online homework)
西交《编译原理》在线作业(West to compile principles online homework)
West to compile principles online homework
Total score: 100 test time: -
Radio examination
A multiple-choice question
Radio examination questions (40 questions, 80 points)
1. in the following description of the syntax tree, the error is ().
The root knot of the A. syntax tree is marked by the start symbol
B. a syntax tree represents all the different derivations of a sentence pattern
C. a syntax tree is a common abstraction of different derivations, and represents them
D. a sentence pattern is not the only grammar tree
Full marks: 2
2. assignment statements: X: = (a+b) / (C-D) - (a+b*c) r (Poland) said is inverse.
A. Xab+cd-/-bc*a+-: =
B. Xab+/cd--bc*a+--: =
C. Xab+-cd-/abc*+-: =
D. Xab+cd-/abc*+--: =
Full marks: 2
3. regular grammar () two semantic.
A. yes
B. certainly not
C. must be
D. yes, it isnt
Full marks: 2
4. the principle of optimization is ().
A. normal form
B. context free grammar
Semantic rules of C. language
The equivalent transformation rule of D. program
Full marks: 2
5. in the following compilation methods, the top-down analysis method has. The simple analysis of the priority operator priority analysis of the recursive descent analysis prediction technology. LR (K) of the SLR (K) analysis and LL (K) analysis and LALR (K) analysis
A. 3 4 7
B. 3 4 8
The C. II.
D. 3 4 5 6 7
Full marks: 2
6., at all stages of compilation, the most closely related to the target machine is ().
A. lexical analysis
B. syntax analysis
C. semantic analysis
D. object code generation
Full marks: 2
7. because of the limitations of specific machine memory capacity, compilers are often grouped together in several different stages.
A. process
B. program
C. batch
D. times
Full marks: 2
8. syntax of the grammar G. The left and right arrangement of leaf nodes is one of G.
A. sentences
B. sentence patterns
C. handle
D. prime phrase
Full marks: 2
9. in LR analysis, the state in the stack is the DFA state that identifies the canonic
您可能关注的文档
- 萧敬腾周渝民(2008-10-13 101149)(Jam Hsiao Zhou Yumin (2008-10-13 101149)).doc
- 落实新伙食费标准应在四个方面下功夫(The implementation of the new standards for meals should be done in four areas).doc
- 落花生_百度百科(Peanut _ Baidu Encyclopedia).doc
- 落英缤纷(Fallen petals lie in profusion).doc
- 萝卜菜谱11道(Turnip menu 11).doc
- 著名企业广告语(Famous enterprise advertising language).doc
- 著名儿童文学作品及作家(Famous children's literature and writers).doc
- 落球法测量液体的粘滞系数(Measurement of viscosity coefficient of liquid by falling ball method).doc
- 著名思想实验(Famous experiment).doc
- 萨特自由观的错误(The mistake of Sutter's view of freedom).doc
- 北师大版小学数学三年级上册《寄书》教学设计.docx
- 统编版(部编版)语文二年级上册《雪孩子》教学设计.docx
- 统编版(部编版)语文二年级上册《八角楼上》教学设计.docx
- 北师大版小学数学三年级上册《长方形周长》教学设计.docx
- 北师大版小学数学三年级上册《丰收了》教学设计.docx
- 统编版(部编版)语文二年级上册《夜宿山寺》教学设计.docx
- 统编版(部编版)语文二年级上册《风娃娃》教学设计.docx
- 统编版(部编版)语文二年级上册《朱德的扁担》教学设计.docx
- 统编版(部编版)语文二年级上册《难忘的泼水节》教学设计.docx
- 统编版(部编版)语文二年级上册《纸船和风筝》教学设计.docx
文档评论(0)