雅虎笔试题
question 32. (单选)
php是一门:
1. 编译语言
2. 解释语言
3. 脚本语言
question 33. (单选)
某应用通过 tcp 协议从客户端连接服务器端,但是总连接不上,那么netstat 输出的对应此应用的行的状态最有可能的是:
1. listen
2. established
3. time_wait
4. syn_send
5. close_wait
question 34. (单选)
一块硬盘最多可以有()个主分区?
1. 1
2. 2
3. 3
4. 4
5. 5
question 35. (单选)
用ext2格式化文件系统,文件系统块大小为4k bytes,那么
硬盘读写的最小单位是:
1. 1 byte
2. 1024 bytes
3. 512 bytes
4. 4096 bytes
5. 1024 bits
question 36. (单选)
以下运算符不能被重载的是:
1. !=
2. ->
3. []
4. ()
5. ::
question 37. (多选)
以下哪一个不是stl所提供的容器?
1. vector
2. deque
3. complex
4. list
5. properties
question 38. (单选)
选项中填入以下代码段中(1)处编译无法通过的是:
template
class screen { };
template
class screen { };
template
class screen { };
template
class screen { };
int main()
{
______(1)________
}
1. screen s1;
2. screen s2;
www.77xue.com哦
3. screen s3;
4. screen s4;
5. screen s5;
question 39. (单选)
以下哪个容器默认分配的是不间断连续空间?
1. vector
2. list
3. deque
4. stack
5. queue
question 40. (单选)
set的底层数据结构是:
1. red black tree
2. red white tree
3. green black tree
4. green white tree
5. black white tree
question 41. (多选)
子类不能从父类继承的有:
1. 构造函数
2. 拷贝构造函数
3. 析构函数
4. 友元函数
5. 静态成员函数
question 42. (多选)
面向对象语言的一般特性有:
1. 封装
2. 组合
3. 继承
4. 多态
5. rtti
question 43. (单选)
下段代码的输出结果是:
#include
using namespace std;
int main()
{
char a[] = "abcdef";
char *b = "123456";
cout << sizeof(a) << " "
<< sizeof(a[1]) << " "< br><< sizeof(a+1) << " "
<< sizeof(*(a+1)) << " "
<< sizeof(b) << " "
<< sizeof(b[1]) << " "
<< sizeof(b+1) << " "
<< sizeof(*(b+1)) << endl;
}
1. 4 1 4 1 4 1 4 1
2. 7 1 4 1 4 1 4 1
3. 7 1 4 1 7 1 4 1
4. 4 1 5 1 4 1 5 1
5. 7 1 5 1 4 1 5 1
- 上一篇:广东北电(Nortel)笔试题