- 1、本文档共31页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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;
您可能关注的文档
最近下载
- 国开电大学习网《药剂学》形考任务答案1-3答案.pdf
- 小学数学人教版(2024)五年级上植树问题课件(共17张PPT).pptx VIP
- 以学习教育为契机,深入贯彻中央八项规定精神PPT(附领导讲稿).pptx VIP
- Q_370100RFSJY002-2019人防工程设计指南(医疗救护工程专集).pdf VIP
- 空气压缩机的设计毕业设计.pdf
- 人教版三年级数学下册第四单元笔算乘法连除问题.ppt VIP
- 《教育新理念》.doc
- 新改版教科版六年级下册科学知识点.doc VIP
- 【中村留精密】wt-150ⅱ.pdf
- 《关于在全党开展深入贯彻中央八项规定精神学习教育的通知》PPT学习课件.pptx VIP
文档评论(0)