设s=8,t=7,x=6,y=5,下列表达式的值是 4>3 * t Or s = x And t <> x Or x > yA.1B.TrueC.FalseD.2
设s=8,t=7,x=6,y=5,下列表达式的值是 4>3 * t Or s = x And t <> x Or x > y
A.1
B.True
C.False
D.2
相关考题:
执行下列程序段后,串X的值为( )。S=〞abcdefgh〞; T=〞xyzw〞;substr (X,S,2,strlen(T));substr (Y,S, stelen(T),2);strcat (X,Y); A. 〞cdefgh〞B. 〞cdxyzw〞C. 〞cdefxy〞D. 〞cdefef〞
有以下程序:void f(int *x,int *y){ int *t; t=x; x=y ;y=t; *x=*y;}main(){ int a[8]={1,2,3,4,5,6,7,8},i,*p,*q; p=a;q=a[7]; while(pq) { f(p,q);p++;q--} for(i=0;i8;i++)printf("d,",a[i]);}程序运行后的输出结果是( )。A.8,2,3,4,5,6,7,1,B.5,6,7,8,1,2,3,4,C.1,2,3,4,5,6,7,8,D.8,7,6,5,4,3,2,1,
设I为整数集合,S={x|x2<30,x∈I},T={x|x是素数,x<20},R={1,3,5}。(S∩ T)∪R=A.{1,2,3, 5}B.фC.{0}D.{1,3,5,7, 11, 13, 17, 19}
设有如下定义和声明:struct3{inta;structs*next};structsx[4]={1,x[1],3, x[2],5, struct s *next }; struct s x[4]={1,x[1],3, x[2],5,x[3],7,'\0'),*t; t=x[0]; 则下列表达式值为2的是( )A.++t->aB.(*t).a++C.t->a++D.t++->a
有以下程序:include void f(int * x,int * y) int t;t= *x; *x= *y; *y=t;main ( ){in 有以下程序:#include <stdio.h>void f(int * x,int * y) int t; t= *x; *x= *y; *y=t;main ( ){ int a[8] = { 1,2,3,4,5,6,7,8} ,i, * p, * q; p=a;q =a[7]; while(p<q) { f(p,q) ;p ++ ;q --; } for(i =0;i<8;i ++ ) printf(" % d," ,a[i]); }程序运行后的输出结果是( )。A.8,2,3,4.,5,6,7,1,B.5,6,7,8,1,2,3,4,C.1,2,3,4,5,6,7,8,D.8,7,6,5,4,3,2,1,
平面简谐波的表达式为y=5cos(3t-4x+5)cm,下列表述中正确的是( )。A.x=3.5cm处介质在t=3s时振动速度与波的传播速度相同B.x=4.0cm介质的振动方程为y=5cos11cmC.t=5s时介质中任一点的位移为y=5cos(20-4x)cmD.波沿x轴负方向传播,波速为0.75cm/s
7、定义如下的类A和组合类B: class A { private int x; public int y; } class B { public A t; public int s; } 使用组合类B定义一个对象obj,则下列语句中正确的是()。A.obj.x = 5; obj.y = 5; obj.s = 5;B.obj.t.x = 5; obj.t.y = 5; obj.t.s = 5;C.B x = obj; x.y = 5; x.s = 5;D.B y = obj; y.t.y = 5; y.s = 5;