C++面向程序对象语言(双语)选择题+答案.doc
文本预览下载声明
mChapter I: Principles of Object-Oriented Programming
Which of the following languages is not a procedure-oriented programming language?
ALGOL(算法语言)
COBOL(面向商业通用语言)
FORTRAN(公式翻译程序语言)
None of the above
Which of the following programming approach (程序设计方法)used functions as a key concept to perform action-oriented tasks?(指导任务??)
Structured(结构化) programming
Modular (模块化)programming
Procedure-oriented programming(面向对象)
Object-oriented programming
Identify the drawback(缺点) of using procedure-oriented programming, if any:
Data is hidden(隐藏) from external functions(外部函数)
New functions can be added whenever necessary
Does not reflect real world problems
All of the above
Which is not associated(联系) with Object-oriented programming?
Data abstraction(数据提取)
Automatic initialization(自动初始化)
Dynamic binding(动态绑定)
None
The term operator overloading (操作符重载)in C++ refers to:
Inheritance(继承)
Message passing (信息传递)
Polymorphism(多态性)
None
Which one of the following OOP concepts enables reusability (再利用)of components(成员)?
Inheritance
Encapsulation(数据分装)
Polymorphism
All of the above
The concept of hierarchical classification (层次分类)is related to:
Abstraction
Inheritance
Function overloading(重载)
None
Object-based (基于对象)programming languages do not support:
Inheritance
Dynamic binding
Encapsulation
All of the above
Both i and ii
iii only
iv only
i, ii, and iii
C++ does not support
Genericity(泛型C#)
Early binding
Garbage collection(碎片收集)
Multiple Inheritance(多重继承)
i only
ii only
iii only
ii, iii and iv
Which of the following is an Object-oriented programming language?
Smalltalk
Object Pascal
Java
All of the above
Both ii and iii
i only
iii only
iv only
Chapter II: Beginning With C++
Which one of the following options is true on the topic of Simula67?
It is the first Object-oriented programming language
It’s a predecessor to C++
It was designed for doing simulations
All of the above
Both i and ii
i only
iii only
iv only
Which of the following features (特征)that distinguish(区别) object ori
显示全部