网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
For all real values of x and y, let x◆y be defined by the equation x◆y = 2 -xy. If -1 < a < 0 and 0 < b < 1, then which of the following must be true?
A
-2<a+b<-1
B
-l<a+b<0
C
0<a+b<l
D
l<a+b<2
E
2<a+b<3
参考答案
参考解析
解析:
根据题干,发现a= -1/2, b =1/2满足已知条件,a◆b=2-ab,将a= -1/2, b =1/2代入进去,则(-1/2) ◆(1/2) = 2 - (-1/2)(1/2) = 2 + 1/4 = 2.25,故选E。
根据题干,发现a= -1/2, b =1/2满足已知条件,a◆b=2-ab,将a= -1/2, b =1/2代入进去,则(-1/2) ◆(1/2) = 2 - (-1/2)(1/2) = 2 + 1/4 = 2.25,故选E。
更多 “单选题For all real values of x and y, let x◆y be defined by the equation x◆y = 2 -xy. If -1 a 0 and 0 b 1, then which of the following must be true?A -2a+b-1B -la+b0C 0a+blD la+b2E 2a+b3” 相关考题
考题
●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
考题
6The construct cobegin Statement1; Statement2; coend means Statement1 and Statement2 are to be executed in parallel. The only two atomic actions in this construct are loading thevalue of a variable and storing into a variablE.For the program segment x:=0; y:=O; cobegin begin x:=l; y:=y+x; end; begin y:=2; x:=x+3; end coend Which of the following indicate(s) possible values for the variables when the segment finishes execution? Ⅰ.x=1,y=2 Ⅱ.x=1,y=3 Ⅲ.x=4,y=6A.ⅠB.Ⅰ and ⅡC.Ⅰ and ⅢD.Ⅱand Ⅲ
考题
与“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;
考题
Which 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=6A.ⅠB.Ⅰ,ⅡC.Ⅰ, ⅢD.ⅡandⅢ
考题
与“y=(x0?1:x0?-1:0)”;的功能相同的if 语句是( )。A.if(x0)y=1; else if(x0)y=1; else y=0;B.if(x) if(x0)y=1; else if(x0)y=-l; else y=0;C.y=-l if(x) if(xO)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;
考题
与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:
考题
有一函数:以下程序段中不能根据x值正确计算出y值的是A.if(x0)y=1; else if(x= =0)y=0; else y=-1;B.y=0; if(x0)y=1; else if(x0)y=-1;C.y = 0; if (x = 0) if (x0) y = 1; else y = -1;D.if ( x = 0) if ( x0)y = 1; else y = 0; else y = -1;
考题
下面的程序段所表示的数学函数关系是( ) y=-l; if( x!= 0)if(x0)y=l; else y=0 ; 1(x0) 1(x0)A.y= { 0(x= 0)B.y={-l(X=0) 1(X0) 0(X0) o(X 0) -l(X 0)C.y= {-1(x= 0)D.y={ 1(X= 0) 1(X 0) 0(X 0)
考题
过点(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
考题
以下不能实现符号函数y=sgn(x)的程序段是()。A、if x0 then y=1 else if x=0 then y=0 else y= -1B、if x0 then y=1 else if x0 then y= -1 else y=0C、if x=0 then if x=0 then y=0 else y= -1 else y=1D、if x0 then if x0 then y= -1 else y= 1 else y=0
考题
多选题If x and y are both positive even integers, which of the following expressions must be even? (Select all such expressions.)AxyB(x+1)yCx(y+1)
考题
多选题Which of the following equations are for lines which are perpendicular to the line y=2x+4?A2y +x = 5B2y –x = 3Cx + 2y = 7Dx – 2y = 4E4y +2x = 0
考题
填空题y = mx2In the equation above, m is a constant. If y = 32 when x = 4, then when y = 18, which of the following could be the value of x?____
考题
单选题若x和y是程序中的两个整型变量,则下列if语句中正确的是( )。A
if(x==0)y=1;else y=2;B
if(x==0)then y=l else y=2;C
if(x==0)y=l else y=2;D
if x==0 y=1;else y=2;
考题
单选题以下不能实现符号函数y=sgn(x)的程序段是()。A
if x0 then y=1 else if x=0 then y=0 else y= -1B
if x0 then y=1 else if x0 then y= -1 else y=0C
if x=0 then if x=0 then y=0 else y= -1 else y=1D
if x0 then if x0 then y= -1 else y= 1 else y=0
考题
单选题经过圆x2+2x+y2=0的圆心,与直线x+y=0垂直的直线方程是()。A
x+y+1=0B
x-y-1=0C
x+y-1=0D
x-y+1=0
热门标签
最新试卷