题库 第5993页
单选题:Which of the following statements about HASH is true?
Which of the following statements about HASH is true? @[D](3)A. the expected number of probes for insertions is greate…
单选题:Let $$T$$ be a tree of $$N$$ nodes created by union-by-size with
Let $$T$$ be a tree of $$N$$ nodes created by union-by-size without path compression, then the minimum depth of $$T$$ ma…
单选题:The inorder and the postorder traversal sequences of a binary tr
The inorder and the postorder traversal sequences of a binary tree are `a b c d e f g` and `a c b f g e d`, respectively…
单选题:Given a tree of degree 6. Suppose that the numbers of nodes of d
Given a tree of degree 6. Suppose that the numbers of nodes of degrees 1, 2, 3, 4, 5, 6 are 3, 5, 1, 2, 4, 3, respective…
单选题:The inorder and the postorder traversal sequences of a binary tr
The inorder and the postorder traversal sequences of a binary tree are `a b c d e f g` and `a c b g f e d`, respectively…
单选题:Given a tree of degree 6. Suppose that the numbers of nodes of d
Given a tree of degree 6. Suppose that the numbers of nodes of degrees 1, 2, 3, 4, 5, 6 are 3, 5, 3, 4, 2, 1, respective…
单选题:The precedence of operator __ is the **lowest** one.
The precedence of operator __ is the **lowest** one. @[C](1)A. ?:B. ==C. +=D. &&A.?:B.==C.+=D.&&答案:C…
单选题:定义 `char a;` 则以下赋值语句最恰当(即:符合C语言规范、不会出现编译警告、不会导致运行结果出错)的是:
定义 `char a;` 则以下赋值语句最恰当(即:符合C语言规范、不会出现编译警告、不会导致运行结果出错)的是: @[C](2)A. `a = "X";`B. `a = 365;`C. `a = 'a' - 2;`D. `a = a+…
单选题:以下说法错误的是:
以下说法错误的是: @[C](2)A. 一个C语言源文件(.c文件)可以不包含main函数B. 一个C语言工程(Project)可包含多个源文件(.c文件),即使这些源文件都编译成功,这个C工程也有可能链接失败C. C语言头文件(.h文…
单选题:要定义一个做加法运算的宏,以下最恰当的是:
要定义一个做加法运算的宏,以下最恰当的是: @[C](2)A. `#define ADD(X,Y) X+Y`B. `#define ADD(X,Y) (X+Y)`C. `#define ADD(X,Y) ((X)+(Y))`D. `#…