国产不卡视频在线播放,中文字幕亚洲综合小综合在线,亚洲一级大片,免费观看的成年网站不下载

易安信筆試題和面試題答案(一)

思而思學網

1 protected成員函數能被腫么調用

2 “has-a” relationship是指的啥,答案有instance, reference, pointer等。。。

3 int, char, short, long的字節數

4 在C++中,變量用時聲明是為啥

5 命名空間的作用

6 int a[10][10];

int b[10];

以下哪個正確

a[3][4] = 91;

b[3][4] = 91;

a[1] =NULL;

b[1] = a[2];

7 12&&10, 12||10, 12&10, 3>>1, 3>1的結果

8 x86_64系統下

struct

{

int i;

char c;

double d;

};

union

{

int i;

char c;

double d;

};

char s[100];

long c;

sizeof的值

10. An employee has one or two managers, and one manager manages one or more employees. In database conceptual design, the relationship between entity sets employee and manager is

A one to one

B one to many

C many to one

D many to many

E none of the above

11 There are two relations R1(A, B, C) and R2(B, D, E). Which of following techniques CANNOT be used to improve the performance of the natural join of the two relations?

A make use of multiple parallel processes on a multi-core machine to implement the join algorithm

B increase the CPU L2 cache hit ratio of the join algorithm implementation

C partition the relations to different machines by using join attributes and execute the join on many machines in parallel

D when the number of tuples in R2 is large and the number of tuples in R1 is small, build and index on R1 and use index join method

E none of the above

12 Which of the following statements about checkpoints(with log-based recovery schemes) in databases are/is NOT correct?

A checkpoints are used to decrease the time used for failure recovery

B checkpoints are done periodically in database to assure ACID properties of transactions

C periodic checkpoints decreased the number of log entries that need to be redone during recovery

D during checkpointing, updated disk blocks are written to disk

E none of the above

熱門推薦

最新文章