For all real values of x and y, let x◆y be defined by the eq

题目
单选题
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

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

(53)下列关于函数依赖和多值依赖的叙述中,( )是不正确的。

Ⅰ、若X→Y,则X→→Y Ⅱ、若X→→Y,则X→Y

Ⅲ、若Y í X,则X→Y Ⅳ、若Y í X,则X→→Y

Ⅴ、若X→Y,Y* ì Y,则X→Y* Ⅵ、若X→→Y,Y*ìY,则X→→Y*

A)仅Ⅱ和Ⅳ

B)仅Ⅰ、Ⅱ和Ⅳ

C)仅Ⅱ和Ⅵ

D)仅Ⅳ、Ⅴ和Ⅵ


正确答案:A

(53)【答案】A)
【解析】由多值依赖的性质可以判断仅II和IV不正确。

第2题:

( 13 )有如下复数类的声明,请补充完整。

class complex{

double real; // 实部

double imag; // 虚部

public:

complex(double x , double y){

real=x;

imag=y;

}

perator+(complex c){// 重载加法运算符 “ + ”

return complex(___________)

}

};


正确答案:

第3题:

下列哪些代码段是正确的?()

A. X x=new X();

Y y=new Y();

Z z=new Z();

y=(Y)x;

B. X x=new X();

Y y=new Y();

Z z=new Z();

x=(X)y;

C. X x=new X();

Y y=new Y();

Z z=new Z();

Z=(Z)x;

D. X x=new X();

Y y=new Y();

Z z=new Z();

W w=(W)x;


答案:D

解析:对象的强制类型转换的格式要求:"W w=(W)x;",只有D项符合

第4题:

下面语句正确的是A.If x<3 * y And x>y Then y=x^3B.If x<3 * y And x>y Then y=x3C.If x<3 * y:

下面语句正确的是

A.If x<3 * y And x>y Then y=x^3

B.If x<3 * y And x>y Then y=x3

C.If x<3 * y:x>y Then y=x^3

D.If x<3 * y And x>y Then y=x* *3


正确答案:A
解析:本题是对条件语句结构的考查。条件语句可以分为三种类型。如下:
  If Then结构
  If Then Else结构
  Select Case结构
  而If Then结构有两种格式:
  If 条件 Then 语句
  If 条件 Then
  语句块
  End If

第5题:

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=6

A.Ⅰ

B.Ⅰ,Ⅱ

C.Ⅰ, Ⅲ

D.ⅡandⅢ


正确答案:D
解析:译文:结构CobeginStatement1;Statement2;Coend的含义是语句1和语句2并行执行。结构中的两个原子操作是加载一个变量的值和存储一个变量的值。【程序段】x=0;y=0;cobegin{x=1;y+=x;}{y=2;x+=3;}coend执行后,变量的值可能是哪个?先执行第二句再执行第一句,结果是Ⅱ,否则结果是Ⅲ。

第6题:

●The 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 the value of a variable and storing into a variable.For the program segment

x=0;y=0;

cobegin

{x=1;y+=x;}

{y=2;x+=3;}

coend

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=6

(74) A.Ⅰ

B.Ⅰ,Ⅱ

C.Ⅰ,Ⅲ

D.Ⅱ and Ⅲ


正确答案:D
【解析】译文:结构
Cobegin
Statement1;
Statement2;
Coend
的含义是语句1和语句2并行执行。结构中的两个原子操作是加载一个变量的值和存储一个变量的值。
【程序段】
x=0;y=0;
cobegin
{x=1;y+=x;}
{y=2;x+=3;}
coend
执行后,变量的值可能是哪个?
先执行第二句再执行第一句,结果是II,否则结果是III。

第7题:

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=6

A.Ⅰ

B.Ⅰ and Ⅱ

C.Ⅰ and Ⅲ

D.Ⅱand Ⅲ


正确答案:D

第8题:

( 52 )下列关于函数依赖和多值依赖的叙述中,哪些是不正确的?

I . 若 X → Y, 则 X →→ Y Ⅱ .若 X →→ Y, 则 X → Y

Ⅲ .若 Y ? X, 则 X → Y Ⅳ .若 Y ? X, 则 X →→ Y

Ⅴ .若 X → Y, Y ’ ? X, 则 X → Y ’ Ⅵ .若 X →→ Y, Y ’ ? Y, 则 X →→ Y ’

A ) Ⅱ 和 Ⅳ

B ) Ⅰ 、 Ⅲ 和 Ⅳ

C ) Ⅱ 和 Ⅵ

D ) Ⅳ 和 Ⅵ


正确答案:B

第9题:

以下程序运行后的输出结果是 ______。 Sub add(x,y) x=x+y Print "x=";x;",y=";y End Sub Private Sub Command1_Click() x=1 y=1 Call add((x),(y)) Print"x="; x;",y=";y End Sub

A.x=1,y=1 x=2,y=2

B.x=2,y=1 x=1,y=1

C.x=1,y=1 x=1,y=1

D.x=2,y=1 x=2,y=1


正确答案:B
解析:在过程调用语句中,一般不特别指明,参数是按传地址方式传递的。此题两个实际参数都用圆括号括起,表示为传值方式,形参的变化不影响实参,因此,虽然形参x变为2,在过程add中输出2,但返回事件过程后,输出x的值不受影响,为1。

第10题:


A.f(-x,y)=f(x,y),f(x,-y)=-f(x,y)
B.f(-x,y)=f(x,y),f(x,-y)=f(x,y)
C.f(-x,y)=-f(x,y),f(x,-y)=-f(x,y)
D.f(-x,y)=-f(x,y),f(x,-y)=f(x,y)

答案:B
解析:
要求f(x,y)关于x和y都是偶函数。

更多相关问题