网站大量收购独家精品文档,联系QQ:2885784924

一套英文C++试题答案.doc

  1. 1、本文档共31页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
一套英文C试题答案

Final Exam 一.Selection. Please Choose the ONE correct answer , Then mark the corresponding letter(a, b, c, or d) on the parentheses.(totalvalue:20) 1.Which is incorrect about the OOP?( ) a. The central idea of OOP is to build programs using software objects; b. The OOP focuses mainly on the step-by-step procedure as procedure-oriented programming. c. The OOP offers many advantages: simplicity, modularity, modifiability, extensibility, and so on. d. The key concept of object orientation is the attachment of procedure to data. 2. Which is incorrect about the object?( ) a. An object can be considered as a self-contained computing entity with its own data and programming. b. In OOP, the software objects have nothing to do with the real objects involved in the application area. c. An object is known as instance of a given class. d. Objects help achieve data abstraction and encapsulation. 3. Which is incorrect about the class?( ) a. A class is a blueprint to objects. b. we use the keyword class to create a class construct. c. Once a class is declared, the class name becomes a type name and can be used to declare variables. d. The class is same as the struct ,and there are no different between class and struct. 4. Which is not the standard I/O channel?( ) a. std::cin b. std::cout c. std::cerr d. stream 5. If there are “int a=5,b=3;”, the values of a and b is ( ) after execute “!ab++;” a. 5,3 b. 0,1 c.0,3 d. 5,4 6. If p and q are pointers that point to a same array, which is incorrect operations with them?( ) a. if(p=q); b. p=null; c. p=q+1; d. p=p+q; 7. If there are “int m=10;”,which is correct statement about reference that listed after?( ) a. int x=m; b. int y=10; c. int z; d.float t=m; 8. If there are “int a=3,*p=a;”,then the value of “*p” is ( ) a. the address of variable a; b. nothing; c. the address of variable of p; d. 3; 9. If a function has no return value, then its return type must be defined as ( )? a.void; b. any type;

文档评论(0)

wannian118 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档