填空题The members of set O are the integer solutions of the inequality 3x-4 ≤11, and the members of set P are the integer solutions of the inequality-4x+5-7. What is one member of the intersection of O and P ?____

题目
填空题
The members of set O are the integer solutions of the inequality 3x-4 ≤11, and the members of set P are the integer solutions of the inequality-4x+5<-7. What is one member of the intersection of O and P ?____
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

以下用户自定义函数 Function Func(a As Integer,b As Integer)As Integer Static m As Integer.i As Integer m=0:i=2 i=i+m+i m=i+a-i-b Func=m End Function 在窗体上画一个命令按钮,然后编写如下事件过程: Private Sub Command1_Click() Dim k As Integer,m As Integer,p As Integer k=4:m=1 P=Func(k,m) Print P End Sub 程序运行后,单击命令按钮,输出结果为

A.8

B.9

C.10

D.11


正确答案:A

第2题:

How can team spirit be brought up within a team?

A、Managers should order all member work together.

B、Coach set strict rules for all the team members to obey.

C、Team members should be persuaded to cooperate with each other.

D、Team members should learn to show off personal ability.


参考答案:C

第3题:

单击命令按钮时,下列程序的执行结果为

Private Sub Command1_Click()

Dim a As Integer, b As Integer, c As Integer

a=2: b=3: c=4

Print P2(c, b, A.

End Sub

Private Function P1(x As Integer, y As Integer, z As Integer)

P1=2 * x + y + 3 * z

End Function

Private Function P2(x As Integer, y As Integer, z As Integer)

P2=P1(z, x, y) + x

End Function ( )。

A.21

B.19

C.17

D.34


正确答案:A

第4题:

有如下程序: Private Sub Command1_Click() Dim k As Integer,m As Integer Dim p As Integer k=4:m=1 p=PC(k,m):Print p; p=PC(k,m):Print p End Sub Private Function PC(a As Integer,b As Integer) Static m As Integer,i As Integer m=0:i=2 i=i + m + 1 m=i + a + b PC=m End Function 程序运行后,输出的结果为

A.4 6

B.6 6

C.8 8

D.10 12


正确答案:C
解析:在Sub过程中,程序段先定义了3个Integer型变量k,m,P,并给k赋给初值4,m的初值为1,然后调用事件过程PC,并将它的值赋给p;在事件过程PC中定义了两个形参,参数的传送是通过引用实参,即将k,m的地址作为a,b的地址;在PC中,将m,I定义为静态变量,所以第一次调用后的值仍然保留,但是m,I分别都有赋值语句,将它们的值变为0,2,所以返回值不变。

第5题:

A Windows Communication Foundation (WCF) service is generating a separate namespace declaration for each body member of a message contract,even though all body members share the same namespace. You need to simplify the XML representation of your message contract so that the namespace is only declared once. What should you do?()

A. Declare a wrapper namespace for the message contract by using the WrapperNamespace property of the MessageContract attribute

B. Explicitly set the Namespace property of all the MessageBodyMember attrbutes to the same namespace.

C. Declare all of the body members as properties of a DataContract class and use the class as the only body member of the message contract.

D. Declare all of the body members as properties of a separate MessageContract class and use the class as the only body member of the message contract.


参考答案:C

第6题:

(27)下列函数过程 Function Func(a As Integer,b As Integer)As Integer Static m As Integer,i As Integer M=0 i=2 A=i+m+1 b=i+a+b Func2=m End Function Private Sub Command1_Click() Dim p As Integer,k As Integer,m As Integer k=4 m=1 P=Func2(k,m) Print k;m End Sub程序运行后,单击命令按钮,输出结果是 A.3 6<CR>3 6 B.3 6<CR>3 11C.3 11<CR>3 6 D.3 11<CR>3 11


正确答案:B
【解析】本题意在考查调用Func2时,参数是按地址传递的,所以两次调用Func2时,实参k、m的值都改变了。程序运行过程如下:
第一次调用Func2(k,m),k被行参a改变为3,m被行参改变为6;第二次调用函数后,a为3,m为11。

第7题:

设程序中有如下数组定义和过程调用语句: Dim a(10)As Integer … Call D(a) 如下过程定义巾,正确的是( )。

A.Private Sub p(a As Integer)

B.Private Sub p(a( )As Integer)

C.Private Sub p(a(10)As Integer)

D.Private Sub p(a(n)As Integer)


正确答案:B
B。【解析】本题考查的是过程的调用,根据题干在定义中不许定义一个a数组,其中a数组不能定长,所以答案为B。

第8题:

下列程序运行后,单击命令按钮,窗体显示的结果为( )。 Private Function pl(x As Integer,y As Integer,z As Integer) pl=2*x+y+3*z End Function Private Function p2(X As Integer,y As Integer,z As Integer) p2=p1(z,y,x)+x End Function Private Sub Commandl_Click()

A.23

B.19

C.21

D.22


正确答案:A

第9题:

单击命令按钮时,下列程序的执行结果为 Private Sub Command1_Click() Dim a As Integer,b As Integer,c As Integer a=2:b=3:C=4 Print P2(c,b,A)End Sub Private Function P1(x As Integer,y As Integer,z As Integer) P1=2 * X + y + 3 * z End Function Private Function P2(x As Integer,y As Integer,z As Integer) P2=P1(z,x,y) + X End Function

A.21

B.19

C.17

D.34


正确答案:A
解析:对于多个过程或函数依次调用和处理与简单过程调用处理一样,本题先调用函数P2,而函数P2又调用函数P1,结果返回的顺序是从P1到P2,P2计算后输出到调用的地方。

第10题:

在窗体上画一个命令按钮,然后编写如下事件过程:Private Sub Command1_Click( ) Dim m As Integer,n As Integer,p As Integer m=3:n=5:p=O Call Y(m,n,p) Print Str(p)End SubSub Y(ByVal i As Integer,ByVal j As Integer,k As Integer) k=i + jEnd Sub程序运行后,如果单击命令按钮,则在窗体上显示的内容是

A.4

B.6

C.8

D.10


正确答案:C
解析:此程序考查了函数的调用,函数过程有3个形参,功能是将第一个和第二个形参的和赋给第三个形参,其中前两个形参是按值传递,不会影响实参的数值,即在调用函数过程的过程中,不变化实参的数值;而第三个形参是按址传递,传递的是实参的地址,这样实参会随着过程中形参的变化而变化,即改变实参的数值。在主调过程中定义了三个整型变量,分别赋值3、5、0,调用过程后m、n的数值仍然是3、5,而p的值不再是0而变为8,即m、n的和,这也是被调函数的作用。

更多相关问题