假设以带双亲指针的二叉链表作为-二叉树的存储结构,其结点结构的类型说明如下所示:
typedef char DataType;
typedef struct node{
DataType data;
struct node*lchild,*rchild; //左右孩子指针
struct node*parent; //指向双亲的指针
}BinTNode;
typedef BinTNode*BinTree;
若px为指向非空二叉树中某个结点的指针,可借助该结构求得px所指结点在二叉树的中序序列中的后继。
1. 就后继的不同情况,简要叙述实现求后继操作的方法;
Write an essay of about 400 words on the following topic :
Self-study
In the first part of your writing you should present your thesis statement, and in the second part you should support the thesis statement with appropriate details. In the last part you should bring what you have written to a natural conclusion or a summary.
Marks will be awarded for content, organization, grammar and appropriateness. Failure to follow the above instructions may result in a loss of marks.
Write your composition on ANSWER SHEET FOUR.
打开/etc/sysconfig/network文件,内容如下:
NETWORKING=(2)
HOSTNAME=localhost.localdomain
打开并编辑网络接口文件/etc/sysconfig/network-scripts/ifcfg-eth0,内容如下;
DEVICE=eth0
NBOOT=yes
BOOTPROTO=(3)
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
从备选答案中为(2)和(3)空缺处选择恰当内容,填入答题纸对应的解答栏内。
(2)、(3)A.yes B.no C.dhcp D.auto
可以使用程序(6)来查看网络接口的运行情况,输出如下;
eth0 Link encap:Ethernet Hwaddr:00:12:3P:94:E7:B9
inet addr:192.168.0.63 Bcast:(7)Mask:(8)
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1501 errors:0 dropped:0 overruns:0 frame.:0
TX packets:74 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:164444(160.5 Kb)TX bytes:9167(8.9 Kb)
Interrupt:1l Memory:dfcf0000—dfd00000
上述输出表明,该网卡运行(9)(填正常或不正常):上文中MTU的含义是(10)。