下面关于UART、RS-232、RS-485的叙述中,错误的是( )。
- A.基于UART可以构成RS-232接口
- B.基于UART不能构成RS-485接口
- C.RS-232接口标准的最长通信距离为15m
- D.通过RS-485可构成主从式多机通信系统,主机可采用轮询方式与各从机建立通信连接
热度🔥347
解析:打开微信小程序查看本题解析
Internet实现了分布在世界各地的各类网络的互联,其最基础和核心的协议是()。
有以下程序
#include
main()
{ int y=10;
while(y--); printf("y=%d\n", y);
}
程序执行后的输出结果是
若有以下程序
#include
#include
#include
struct stu {
char *name, gender;
int score;
};
main()
{
struct stu a={NULL, 'm', 290}, b;
a.name=(char *)malloc(10);
strcpy(a.name, "Zhao");
b = a; b.gender = 'f'; b.score = 350;
strcpy(b.name, "Qian");
printf( "%s,%c,%d,", a.name, a.gender, a.score );
printf( "%s,%c,%d\n", b.name, b.gender, b.score );
}
则程序的输出结果是
在某园区网中,路由器R1的GE0/1(212.112.8.5/30)与路由器R2的GE0/1(212.112.8.6/30相连,R2的GE0/2(212.112.8.9/30)与R3的GE0/1(212.112.8.10/30)相连,R3的GE0/2(212.112.8.13/30)直接与Internet上的路由器相连,路由器R1缺省路由的正确配置是()
对于以下程序
if ( a > 0 and b > 0 ) then c = c/a;
if ( a > 1 or c > 1 ) then c = c+1;
执行条件覆盖,为使得每一条件取值至少执行一次,需要的测试用例数是