网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
问答题
What is the value of y? (1) y2+8y+16=0 (2) y<0
参考答案
参考解析
解析:
由y2+8y+16=0,可知y=-4;由条件2无法判断y的值,故本题选A项。
由y2+8y+16=0,可知y=-4;由条件2无法判断y的值,故本题选A项。
更多 “问答题What is the value of y? (1) y2+8y+16=0 (2) y0” 相关考题
考题
●The constructcobeginStatement1;Statement2;coendmeans Statement1 and Statement2 are to be executed in parallel.The only two atomic actions in this construct are loading the value of a variable and storing into a variable.For the program segmentx=0;y=0;cobegin{x=1;y+=x;}{y=2;x+=3;}coendWhich of the following indicate(s)possible values for the variables when the segment finishes execution? (74) .Ⅰ.x=1,y=2Ⅱ.x=1,y=3Ⅲ.x=4,y=6(74) A.ⅠB.Ⅰ,ⅡC.Ⅰ,ⅢD.Ⅱ and Ⅲ
考题
( 19 )若 x 和 y 是程序中的两个整型变量,则下列 if 语句中正确的是A ) if(x==0) y=1; else y=2;B ) if(x==0) then y=1 else y=2;C ) if(x==0) y=1 else y=2;D ) if x==0 y=1; else y=2;
考题
下面程序段中正确的是()。A.If x=2 Then y=3B
下面程序段中正确的是( )。A.If x<0 Then y=0 If x<1 Then y=1 If x<2 Then y=2 If x>=2 Then y=3B.If x>=2 Then y=3 If x>1 Then y=2 If x>=0Then y=1 If x>0 Then y=0C.If x<0 Then y=0 Else If>=0Then y=1 Else y=3 End IfD.If x>=2 Then y=3 Else If>=1 Then y=2 Else y=0 End If
考题
根据以下连环替代法的计算,可以计算因素b对Y的影响的是()Y0=a0×b0×c0Y1=a1×b0×c0Y2=a1×b1×c0Y3=a1×b1×c1。
A、Y1-Y0B、Y2-Y1C、Y3-Y2D、Y3-Y1
考题
下列程序的运行结果是( )。main(){ int a=-5,b=1,c=1;int x=0,y=2,z=0;if(c>0) x=x+y;if(a<=0){ if(b>0)if(c<=0) y=x-y;}else if(c>0) y=x-y;else z=y;printf("%d,%d,%d\n",x,y,z);}A.2,2,0B.2,2,2C.0,2,0D.2,0,2
考题
与“y=(x0?1:x0?-1:0)”;的功能相同的if 语句是( )。A.if(x0)y=1; else if(x0)y=1; else= y=0;B. x=0)y=1; else if(x0)y=-l; else= y=0;C.y=-l x=O)y=1; else if(x=-0)y=0; else y=-l;D.y=0; if(x=0) if(x=0)y=1; else y=-l;
考题
与y=(x>0? 1:x0)y=1 else if(x
与y=(x>0? 1:x<0? -1:0);的功能相同的if语句是A.if(x>0)y=1 else if(x<0)y=-1; else y=O;B.if(x) if(x>0)y=1; else if(x<0)y=-1;C.y=-1; if(x) if(x>0)y=1; else if(x==0)y=0; else y=-1;D.y=0; if(x>=0) if(x>0)y=1; else y=-1;
考题
下列程序的运行结果是( )。 #includeiostream.h class Loeation{ private: int X,Y; public: void init(int=0,int=0); void valueX(int val){X=val;} int valueX{returnx;} void valueY(int val){Y=val;} int valueY{return Y;}}; void Location::init(int initX,int initY) {X=initX; Y=initY4} void main(X {Location A,B; A.init; B.value X(5); coutA.value XendlA.value Yendl; B.init(6,2); B.value Y(4); eoutB.value XendlB.value Yendl; }A.5 0 6 4B.0 0 6 4C.5 0 6 2D.0 0 6 2
考题
与y=(x>0?1:x0)y=1; else if(x
与y=(x>0?1:x<0?-1:0):的功能相同的if语句是( )A.if(x>0)y=1; else if(x<0)y=-1; else y=0; else y=0;B.if(x) if(x>0)y=1; else if(x<0)y=-1;C.y=-1; if(x) if(x>0)y=1; else if(x==0)y=0; else y=-1;D.y=0; if(x>=0) if(x>0)y=1; else y=-1:
考题
过点(1,0,0),(0,1,0),且与曲面z=x^2+y^2相切的平面为
A.Az=0与x+y-z=1
B.z=0与2x+2y-z=2
C.x=y与x+y-z=1
D.x=y与2x+2y-z=2
考题
过点P(2,-3)且在两坐标轴上截距相等的直线方程是( )A.χ+y+1=0或3χ+2y=0
B.χ-y-1=0或3χ+2y=0
C.χ+y-1=0或3χ+2y=0
D.χ-y+1=0或3χ+2y=0
考题
int x = 1, y =6; while (y--) { x++; } System.out.println(“x =” + x + “y =” +y); What is the result?() A、 x = 6 y = 0B、 x = 7 y = 0C、 x = 6 y = -1D、 x = 7 y = -1E、 Compilation fails.
考题
单选题把曲线ycosx+2y-1=0先沿x轴向右平移个单位,再沿y轴向下平移1个单位,得到的曲线方程是()。A
(1-y)sinx+2y-3=0B
(y-1)sinx+2y-3=0C
(y+1)sinx+2y+1=0D
-(y+1)sinx+2y+1=0
热门标签
最新试卷