• 2022-05-29
    决策树中包含以下哪些结点( )
    A: 根结点(root node)
    B: 叶结点(leaf node)
    C: 内部结点(internal node)
    D: 外部结点(external node)
  • A,B,C

    内容

    • 0

      互联网是“网络的网络”,由若干结点(node)和连接这些结点的链路(link)组成。 ( )

    • 1

      计算机网络(简称为网络)由若干结点(node)和连接这些结点的()组成。 A: 端系统 B: 链路 C: host D: 集线器

    • 2

      中国大学MOOC: 向建立好的单向链表中的结点pr后插入一个新结点p,且所有结点都已具有如下形式的结构定义:struct node{ int data; struct node *next;}*p, *pr, *head;则操作正确的是

    • 3

      有以下结构体说明和变量的定义,且指针 p 指向变量 a, 指针 q 指向变量 b ,则不能把结点 b 连接到结点 a 之后的语句是: struct node { char data; struct node *next; } a,b,*p=&a,*q=&b;

    • 4

      已知不带头结点的单链表L,下面用函数实现的在第一个元素前面插入值为x的元素结点的算法错误的是( ) A: void insert(List *L,elemtype x){ node d=new node(x); d.next=*L; *L=&d;} B: List * insert(List *L,elemtype x){ node d=new node(x); d.next=*L; *L=&d; return L;} C: void insert(List *L,elemtype x){ ptr p=*L; node d=new node(x); ptr q=&d; p->next=q; L=&q;} D: List insert(List *L,elemtype x){ node d=new node(x); d.next=*L; return &d;}