-->
当前位置:首页 > 题库

题库 第5999页

  • 最新
  • 浏览
  • 评论

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

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

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

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

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

Luz5年前 (2021-05-10)1035
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)1504
在执行 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)545
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)736
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)1470
Use Dijkstra algorithm to find the shortest paths from 1 to every other vertices. In which order that the destinations…

单选题:A graph with 50 vertices and 17 edges must have at most ____ con

Luz5年前 (2021-05-10)597
A graph with 50 vertices and 17 edges must have at most ____ connected component(s). @[C](2)A. 32B. 33C. 44D. 45A.32B.33…

单选题:A graph with 100 vertices and 12 edges must have at most ____ co

Luz5年前 (2021-05-10)1156
A graph with 100 vertices and 12 edges must have at most ____ connected component(s). @[D](2)A. 87B. 88C. 94D. 95A.87B.8…

单选题:具有 50 个顶点和 17 条边的无向图至多有多少个连通分量?

Luz5年前 (2021-05-10)4371
具有 50 个顶点和 17 条边的无向图至多有多少个连通分量? @[C](2)A. 32B. 33C. 44D. 45A.32B.33C.44D.45答案:C…