问答题What is the value of y?  (1) y2+8y+16=0  (2) y0

问答题
What is the value of y?  (1) y2+8y+16=0  (2) y<0

参考解析

解析:
由y2+8y+16=0,可知y=-4;由条件2无法判断y的值,故本题选A项。

相关考题:

●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 Ⅲ

Given the logical variables X=0,Y=1,Value of X∧Y(logical multiply) isA.1B.2C.10D.0

( 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:

A.2x-y+2=0B.2x+y+1=0C.2x+y-3=0D.2x-y+3=0

曲线y=e2x-4x在点(0,1)处的切线方程是()A.2x-y-1=0B.2x+y-1=0C.2x-y+1=0D.2x+y+1=0

过点(1,0,0),(0,1,0),且与曲面z=x^2+y^2相切的平面为 A.Az=0与x+y-z=1B.z=0与2x+2y-z=2C.x=y与x+y-z=1D.x=y与2x+2y-z=2

过点P(2,-3)且在两坐标轴上截距相等的直线方程是( )A.χ+y+1=0或3χ+2y=0B.χ-y-1=0或3χ+2y=0C.χ+y-1=0或3χ+2y=0D.χ-y+1=0或3χ+2y=0

曲线y=x3-4x+2在点(1,-1)处的切线方程为(  )A.x-y-2-0B.x-y=0C.x+y=0D.x+y-2=0

直线2x-3y+1=0关于直线x=1对称的直线方程是( )A.2x-3y+1=0B.2x+3y-5=0C.3x+2y-5=0D.3x-2y+5=0E.3x-2y-5=0

过点(1,0,0),(0,1,0),(0,0,1)的平面方程为().A.x+y+z=1B.2x+y+z=1C.x+2y+z=1D.x+y+2z=1

经过圆x2+2x+y2=0的圆心,与直线x+y=0垂直的直线方程是()。A、x+y+1=0B、x-y-1=0C、x+y-1=0D、x-y+1=0

已知P{X≤0,Y≤0}=1/3,P{X0}=1/2,P{Y0}=1/3,则P{min(X,Y)≤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.

单选题If x-y = 3 and x+y = 5, what is the value of y?A-4B-2C-1D1E2

问答题What is the value of x-y?  (1) (x-y)2=25  (2) 4x=4 (y+3)

问答题If x+y=36, what is the value of xy?  (1) y-x=14  (2) y=2x+3

单选题If 2x-3y = 11 and 3x+15 = 0, what is the value of y?A-7B-5C1/3D3E10

问答题Is the value of x3y-x2y2+xy3 equal to 0?  (1) x=0  (2) y=0

单选题经过圆x2+2x+y2=0的圆心,与直线x+y=0垂直的直线方程是()。Ax+y+1=0Bx-y-1=0Cx+y-1=0Dx-y+1=0

单选题把曲线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