首页 > 金融试题 > 银行试题 > 科技部试题 > 投资银行C++笔试题

投资银行C++笔试题


下载地址: 投资银行C++笔试题  下载所需:¥15


Part 1: Basic Questions
 
Question 1:
Which of the following is not automatically generated by the compiler?
 
a) default constructor
b) copy constructor
c) equality operator (op==)
d) assignment operator (op=)
e) destructor
 
 
Question 2:
Which of the following is not an STL collection?
 
a) vector
b) list
c) map
d) tree
e) set
 
 
Question 3:
Which statement is false?
 
a) Destructors are called when a pointer is deleted.
b) Destructors are called when an object goes out of scope.
c) Destructors are called when a reference goes out of scope.
d) A virtual destructor should be used if the class has virtual methods.
e) Base class destructors are called after derived class destructors.
 
Question 4:
What should you avoid calling from a constructor?
 
a) a static method
b) an inlined method
c) a virtual method
d) a const method
e) an extern method
、、、、、、
更多内容请下载附件
 
下载地址: 投资银行C++笔试题  下载所需:¥15
下载排行