One of the most widely used routing protocols in IP networks is the Routing Information Protocol(RIP).RIP is the canonical example of a routing protocol built on the (71) algorithm.Routing protocols in internetworks differ slightly from the idealized graph model.In aninternetwork,the goal of the routers to forward packets to various (72) . Routers running RIP send their advertisement about cost every (73) seconds.A router also sends an update message whenever an update from another router causes it to change itsrouting table. It is possible to use a range of different metrics or costs for the links in a routing protocol.RIP takes the simplest approach,with all link costs being equal (74) Thus it always tries tofind the minimum hop route.Valid distances are 1 through (75) .This also limits RIP torunning on fairly small networks.
查看答案
以下程序中函数scmp的功能是返回形参指针s1和s2所指字符串中较小字符串的首地址。 #include<string> char*scmp(char*s1,char*s2) if(strcmp(s1,s2)<0) return(s1); else retrun(s2); main() int i;char string[20],str[3][20]; for(i=0;i<3;i++)gets(str[i]); strcpy(string,scmp(str[0],str[1]));//库函数strcpy对字符串进行复制 strcpy(string,scmp(string,str[2])); puts(string) 若运行时依次输出:abcd、abba和abc三个字符串,则输出结果为( )。
A. abcd
B. abba
C. abc
D. abca
遇碱液显色的是
A. 紫草素
B. 丹参醌Ⅰ
C. 大黄素
D. 番泻苷A
E. 大黄素蒽酮
My grandfather used to have a beautiful gold pocket watch.He wore it on a fine gold chain across the front of his waistcoat,and when 1 was small he promised to leave it to me in his will.“When I’m gone,”he said,“this is going to be yours.”Unfommately that will never happen now.About three months ago,my grandfather came up to London to visit US.The first Sunday morningafter he arrived,my youngest son said he wanted to go to the park.“We’11 do better than that.”said my grandfather, "we’ll go and feed the pigeons in Trafalgar Square." So off they went. Theygot home about teatime and my grandfather was looking very upset. "My watch," he said, "it’sgone. Someone must have stolen it while we were feeding the pigeons.\ What did the grandfather use to have The grandfather used to have a beautiful______
有如下程序#include <iostream>using namespace std;class Apublic:virtual void func1 () cout<<"A1"; void func2() cout<<"A2"; ;class B: public Apublic:void func l() cout<<"B1"; void func2() cout<<"B2"; ;int main() A *p=new B;p->func1();p->func2();return 0;运行此程序,屏幕上将显示输出( )。
A. B1B2
B. A1A2
C. B1A2
D. A1B2