【单选题】
以下程序段的运行结果是( )。
for(y=1;y) y=((x=3*y,x+1),x-1);
printf(x=%d,y=%d,x,y);
【单选题】
函数y=2x2-x+3的图象经过的象限是( )
【单选题】
有如下程序段:
int x1,x2;
char y1,y2;
scanf(%d%c%d%c,x1,y1,x2,
若要求x1、x2、y1、y2的值分别为10、20、A、B,正确的数据输入是( )。 (注:?代表空格)
【单选题】
设X,Y独立同分布P(X=-1)=P(Y=-1)=1/2,P(X=1)=P(Y=1)=1/2则
【单选题】
运行下面程序时,会产生什么异常?( ) public class X7_1_4 {
public static void main(String[] args) {
int x = 0; int y = 5/x; int[] z = {
1,2,3,4
}
; int p = z[4];
}
}
③
ArrayIndexOutOfBoundsException
【单选题】
运行下面程序时,会产生什么异常?( ) public class X7_1_5 {
public static void main(String[] args) {
int[] z = {
1,2,3,4
}
; int p = z[4]; int x = 0; int y = 5/x;
}
}
③
ArrayIndexOutOfBoundsException
【判断题】
在关系R(U)中,若X->Y,且Y->Z,那么X->Z就是传递函数依赖。
【判断题】
在关系R(U)中,若X-Y,且Y-Z,那么X-Z就是传递函数依赖。
【单选题】
已有定义:intx=3,y=4,z=5;则表达式!(xy)z-1&&yz/2的值是()
【单选题】
未标识关系x≥y≥z,应使用C语言表达式