The show ip bgp neighbor 2 .2.2.2 received -routes command lists the three original prefixes.
The show ip bgp neighbor 2.2.2.2 advertised - routes command lists the three original prefixes.
The show ip bgp neighbor 2.2.2.2 routes command lists the three original prefixes.
T he show ip bgp neighbor 2.2.2.2 routes command lists only 2.0.0.0/8.
The show ip bgp neighbor 2.2.2.2 advertised - routes command lists only 2.0.0.0/8.
第1题:
( 29 )有如下程序
#include <iostream>
using namespace std;
class A{
public:
A(int i=0):r1(i) { }
void print() {cout<< ' E ’ <<r1<< ' - ' ;}
void print() const {cout<< ' C ' <<r1*r1<< ' - ' ;}
void print(int x) {cout << ' P ' <<r1*r1*r1<< ' - ' ;}
private:
int r1;
};
int main() {
A a1;
const A a2(4);
a1.print(2);
a1.print();
return 0;
}
运行时的输出结果是
A ) P8-E4
B ) P8-C16-
C ) P0-E4-
D ) P0-C16-
第2题:
若有以下程序段: int r=8; print("%d\n",r>>1): 输出结果是( )。
A.16
B.8
C.4
D.2
第3题:
若有以下程序段
int r=8;
printf("%d\n",r>>1);
输出结果是
A ) 16
B ) 8
C ) 4
D ) 2
第4题:
两个电阻R1=4Ω,R2=8Ω,其并联的总电阻值是()。
第5题:
Routers R1 and R2, currently EIGRP neighbors over their Fa0/0 interfaces (respectively),both use EIGRP authentication. Tuesday at 8 p.m. the neighborship fails.Which of the following wo uld not be useful when investigating whether authenticationhad anything to do with the failure?()
A. debug eigrp packet
B. show key chain
C. show ip eigrp neighbor failure
D. show clock
第6题:
有如下程序: #inClude using nameSpace std; Class A{ public: A(inti=0):r1(i){ } void plint(){cout<<‘E’<<r1<<‘-’;} void print()const{cout<<‘C’<<r1*r1<<‘-’;} void print(int X){cout<<‘P’<<r1*r1*r1<<‘-’;} prlvate: intrl; }; intmain(){ Aal; constA a2(4); a1.print(2); a2.print(); returh0; } 运行时的输出结果是( )。
A.P8-E4
B.P8-C16-
C.P0-E4-
D.P0-C16-
第7题:
A. permits only the 10.0.0.0/8 prefix to be advertised to the 10.1.1.1 neighbor
B. marks all prefixes received fro m the 10.1.1.1 neighbor with a MED of 200
C. marks the 10.0.0.0/8 prefix advertised to the 10.1.1.1 neighbor with a MED of 200
D. permits only the 10.0.0.0/8 prefix to be received from the 10.1.1.1 neighbor
E. marks all prefixes advertised to the 10.1.1 .1 neighbor with a MED of 200
F. marks the 10.0.0.0/8 prefix received from the 10.1.1.1 neighbor with a MED of 200
第8题:
若有以下程序段:
int r=8;
print("%d\n",r>>1): 输出结果是( )。
A.16
B.8
C.4
D.2
本题考查移位运算。将8转为二进制数为1000,右移一位不足补0,结果为0100,转化为十进制结果为4。
第9题:
第10题:
有R1和R2两个电阻串联,已知R1=2R2,R1消耗功率为8W,则R2消耗的功率为()W。