選擇題
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;
}