愛立信?嫉墓P試真題

思而思學(xué)網(wǎng)

選擇題


1:異步復(fù)接二次群一幀中的插入標志碼有

a.4 bit

b.6~7 bit

c.12 bit

d.最多28 bit

2:條件轉(zhuǎn)移指令jnbe產(chǎn)生轉(zhuǎn)移的條件是

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

設(shè)變量array的偏移量是0084h,上述指令執(zhí)行后ax中的內(nèi)容是

a.0009

b.008ch

c.0090h

d.0010h

4:表示過程定義結(jié)束的偽指令是

a.endp

b.ends

c.end

d.endm

5:數(shù)字光纖傳輸系統(tǒng)屬于

a.基帶傳輸

b.頻帶傳輸

c.數(shù)字數(shù)據(jù)傳輸

d.無線傳輸

7:設(shè)非壓縮bcd碼al=09h,bl=04h在執(zhí)行sub al,bl指令后應(yīng)選的校正指令是

a.daa

b.aas

8.C++類筆試題

求輸出的結(jié)果

#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;

}

熱門推薦

最新文章