考试啊,考验大家C++数据结构知识的时候到了

来源:百度知道 编辑:UC知道 时间:2024/05/16 00:38:53
You have 60 minutes to take this assessment.
相信对于高手只是小意思啦,哈哈

1.
What is the maximum depth of any node in a balanced binary tree containing 16 nodes?

(a) 4
(b) 2
(c) 3
(d) 16

2.
Which of the following is not true about C++?

(a) Access modifiers are applied to groups of class members.
(b) Class member functions can be declared and defined within a class definition.
(c) Multiple constructors can be declared in a single class.
(d) Multiple destructors can be declared in a single class.

3.

Which of the following C++ Standard Template Library (STL) components could be used as the basis for the queue adapter implementation?

1. vector
2. list
3. deque

(a) II and III only
(b) I, II, and III
(c) I and II only
(d) I and III only

4.

Which of the following is (are) true about vectors in the C+

我做的答案是这个样子
不知道对不对
呵呵
很久没有看这些理论上的东西了
1a
2d
3c
4a
5c
6c
7c
8c
9d
10d
不知道正确不哦
呵呵
错了不要见怪

让我们玩翻译呀呵:1.
包含16个节点的在平衡的二叉树里的节点的最大的深度是多少?

(a)4
(b)2
(c)3
(d)16

2.
如下内容中的哪些关于C++不真实?

(a)进入调节器被用于许多种类成员。
(b)种类成员功能可以被在一个分类定义内宣布并且确定。
(c)多位建造者可以被在一种单个的种类里宣布。
(d)多destructors可以被在一种单个的种类里宣布。

3.

(STL)零部件能被用作给队伍改编者实施的基础的标准的下列C++ 模板图书馆中的哪个?

1.矢量
2.目录
3.deque

(a)II 以及只的III
(b)我,II,和III
(c)仅我和II
(d)仅我和III

4.

如下内容中的哪个是是(是)对矢量在C++标准模板图书馆(STL)内真实?

1.插入和移动行动被用一个矢量为任意的位置支持。
2.成员功能操作者 []支持检查的界限。

(a)仅限我
(b)没有一个
(c)我和II
(d)II 只

5.

如下内容中的哪个是是(是)关于大真实噢表达式在复杂性算法分析内使用?

1.大噢表达式用来描述确切描述运行时间的算法的功能。
2.一算法与输入大小N 和运行时间O(N2)一起通常被叫为二次的算法。

(a)仅限我
(b)我和II
(