选择题
1:异步复接二次群一帧中的插入标志码有
a.4 bit
b.6~7 bit
c.12 bit
d.最多28 bit
2:条件转移指令jnbe产生转移的条件是
a.cf=0 and zf=0
b.cf=0 and zf=1
c.cf=1 and zf=0
d.cf=1 and zf=1
2cm零次群速率为。
a.8kb/s
b.16kb/s
c.32kb/s
d.64kb/s
3:array dw 6, 9, $+4, 10h, 1,$+4
┇
mov ax, array+4
设变量array的偏移量是0084h,上述指令执行后ax中的内容是
a.0009
b.008ch
c.0090h
d.0010h
4:表示过程定义结束的伪指令是
a.endp
b.ends
c.end
d.endm
5:数字光纤传输系统属于
a.基带传输
b.频带传输
c.数字数据传输
d.无线传输
7:设非压缩bcd码al=09h,bl=04h在执行sub al,bl指令后应选的校正指令是
a.daa
b.aas
8.C++类笔试题
求输出的结果
#include
using namespace std;
class base
{
public:
void func(const char str){cout << "base: " << str << endl;}
virtual void func(int num){cout << "base: " << num << endl;}
};
class derived : public base
{
public:
void func(const char str){cout << "derived: " << str << endl;}
void func(int num){cout << "derived: " << num << endl;}
void func(){cout << "the function is in derived!" << endl;}
};
int main()
{
base pb;
derived objd;
pb = objd;
pb->func(11);
pb->func("hello");
// pb->func();
getchar();
return 0;
}