-->
当前位置:首页 > Luz 第6156页
Luz

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

单选题:Following is the C-like pseudo code of a function that takes a Q

Luz5年前 (2021-05-10)1220
Following is the C-like pseudo code of a function that takes a Queue as an argument.```void foo(Queue Q){ Queue Q1 =…

单选题:下列程序的输出结果是

Luz5年前 (2021-05-10)886
下列程序的输出结果是 @[C](3)```int fun(int x) { static int a = 3; a += x; return (a);}int main(){ int k = 2, m = 1, n; n = fu…

单选题:判断字符串 a 和 b 是否相等,应当使用()。

Luz5年前 (2021-05-10)2313
判断字符串 a 和 b 是否相等,应当使用()。 @[D](1)A. if (a==b)B. if (a=b)C. if (strcpy(a,b))D. if (strcmp(a,b)==0)A.if (a==b)B.if (a=b)C…

单选题:以下对于堆和哈夫曼树的描述,正确的是:

Luz5年前 (2021-05-10)1940
以下对于堆和哈夫曼树的描述,正确的是: @[C](2)A. 堆一定是一棵完全二叉树,因此适合采用链式存储实现。B. 堆的任意非叶节点的左右子树(如果非空)互换,仍然是堆。C. 哈夫曼树中没有度为1的结点。D. 哈夫曼树的叶结点一定都在同…

单选题:以下对于堆和哈夫曼树的描述,错误的是:

Luz5年前 (2021-05-10)2899
以下对于堆和哈夫曼树的描述,错误的是: @[B](2)A. 堆一定是完全二叉树。B. 堆的任意非叶节点的左右子树(如果非空)互换,仍然是堆。C. 哈夫曼树的任意非叶节点的左右子(如果非空)树交换后仍是哈夫曼树。D. 对同一组权值{w1…

单选题:C 语言规定,简单变量做实参时,它和对应的形参之间的数据传递方式是()。

Luz5年前 (2021-05-10)1034
C 语言规定,简单变量做实参时,它和对应的形参之间的数据传递方式是()。 @[B](1)A. 地址传递B. 值传递C. 由实参传给形参,再由形参传给实参D. 由用户指定传递方式A.地址传递B.值传递C.由实参传给形参,再由形参传给实参D…

单选题:在执行 int a[][3]={1,2,3,4,5,6};语句后, a[1][0]的值是()。

Luz5年前 (2021-05-10)1502
在执行 int a[][3]={1,2,3,4,5,6};语句后, a[1][0]的值是()。 @[A](1)A. 4B. 1C. 2D. 5A.4B.1C.2D.5答案:A…

单选题:Which one of the following statements is TRUE about heap and Huf

Luz5年前 (2021-05-10)544
Which one of the following statements is TRUE about heap and Huffman tree? @[C](2)A. A heap must be a complete binary…

单选题:Which one of the following statements is FALSE about heap and Hu

Luz5年前 (2021-05-10)735
Which one of the following statements is FALSE about heap and Huffman tree? @[B](2)A. A heap must be a complete binar…

单选题:Use Dijkstra algorithm to find the shortest paths from 1 to ever

Luz5年前 (2021-05-10)1463
Use Dijkstra algorithm to find the shortest paths from 1 to every other vertices. In which order that the destinations…