全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Test BankChapter Six (Programming Languages)Multiple Choice Questions1. Which of the following is an example of a language that is based on the functional paradigm?A. LISPB. PROLOGC. CD. C+ANSWER: A2. Which of the following is an example of a language that is based on the object-oriented paradigm?A. LISPB. PROLOGC. CD. C+ANSWER: D3. Most machine languages are based on the A. Imperative paradigmB. Declarative paradigmC. Functional paradigmD. Object-oriented paradigmANSWER: A4. Which of the following is not a type of statement found in a typical high-level imperative programming language?A. Imperative statementB. Exclamatory statementC. Declarative statementD. Comment statementANSWER: B5. Which of the following does not require a Boolean structure?A. If-then-else statementB. While loop statementC. Assignment statementD. For loop statementANSWER: C6. Which of the following is not a control statement?A. If-then-else statementB. While loop statementC. Assignment statementD. For loop statementANSWER: C7. Which of the following is not a control statement?A. If-then-else statementB. While loop statementC. Assignment statementD. For loop statementANSWER: C8. Which of the following is not a step in the process of translating a program?A. Executing the programB. Parsing the programC. Lexical analysisD. Code generationANSWER: A9. Which of the following is not associated with object-oriented programming?A. InheritanceB. ResolutionC. EncapsulationD. PolymorphismANSWER: B10. Which of the following is not associated with the concept of data type?A. CoercionB. BooleanC. Operator precedenceD. Strongly typed languageANSWER: C11. Positions within arrays are identified by means of numbers calledA. IndicesB. ParametersC. Instance variablesD. ConstantsANSWER: A12. Which of the following is ignored by a compiler?A. Control statementsB. Declarations of constantsC. Procedure headersD. Comment statementsANSWER: D13. Which of the following is not a possible value of the expression 4 + 6 2 - 1A. 4B. 5C. 6D. 10ANSWER: B14. Which of the following is not a way of referring to a value in a program?A. VariableB. LiteralC. ConstantD. TypeANSWER: D15. Which of the following is the scope of a variable?A. The number of characters in the variables nameB. The portion of the program in which the variable can be accessedC. The type associated with the variableD. The structure associated with the variableANSWER: B16. Which of the following is a means of nullifying conflicts among data types?A. InheritanceB. ParsingC. CoercionD. Code optimizationANSWER: C17. Which of the following is not constructed by a typical compiler?A. Source codeB. Symbol tableC. Parse treeD. Object programANSWER: A18. Which of the following is a means of defining similar yet different classes in an object-oriented program?A. InheritanceB. ParsingC. CoercionD. Code optimizationANSWER: A19. Which of the following is not a parse tree of an expression based on the following grammar? A. B. C. ANSWER: C20. Which of the following statements is not a resolvent of the following clauses?P OR Q OR RP OR TQ OR TR OR TA. Q OR R OR TB. T OR PC. P OR R OR TD. Q OR TANSWER: B21. Which of the following can Prolog conclude from the following program?parent(jill, sue).parent(jill, sally).paren
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 重庆交通大学《轧制原理》2024-2025学年第一学期期末试卷
- 2026届山西省榆社中学化学高二上期末经典模拟试题含解析
- 2025年新疆阿克苏地区库车县二中高二数学第一学期期末综合测试试题含解析
- 肌少症康复治疗方案
- 急性肝炎的诊断及处理程序
- 老年心理健康科普知识
- 风湿病护理措施指南
- 脂肪肝康复方案设计
- 美丽乡村规划方案设计
- 白血病儿童的康复训练计划
- 2025中国华能集团有限公司校园招聘1000人笔试历年备考题库附带答案详解2套试卷
- 课程思政示范课程汇报
- 儿科急性呼吸道感染预防措施
- 陶瓷原料制备工标准化技术规程
- 基于含构网型SVG的直驱风机并网系统的建模与小信号稳定性研究
- 2025年乡村会计理论考试题及答案
- 哈三中2025-2026学年高一上学期期中物理试卷和答案
- 2025江苏南通市通州区石港镇招聘便民服务中心人员2人笔试考试参考题库及答案解析
- 大学生职业生涯规划课件 第九章 全国大学生职业规划大赛(成长赛道)参赛指导
- (高清版)DG∕TJ 08-7-2021 建筑工程交通设计及停车库(场)设置标准
- 国际压力性损伤-溃疡预防和治疗临床指南(2025年版)解读课件
评论
0/150
提交评论