单选题If x is an integer and y=4x+3, which of the following cannot be a divisor of y?A5B6C7D9E23

单选题
If x is an integer and y=4x+3, which of the following cannot be a divisor of y?
A

5

B

6

C

7

D

9

E

23


参考解析

解析:
将几个选项代入反解x可知,y的值不可能为6,故本题选B项。

相关考题:

( 27 )要想在过程 Proc 调用后返回形参 x 和 Y 的变化结果,下列定义语句中正确的是A ) Sub Proc ( x as Integer,y as Integer )B ) Sub Proc ( ByVal x as Integer, y as Integer )C ) Sub Proc ( x as Integer,Byval y as Integer )D ) Sub Proc ( Byval x as Integer, Byval y as Integer )

单击命令按钮时,下列程序的执行结果为( )。 Private Sub Commandl_Click() Dimx As Integer,y As Integer x=12: y=32 CallPCS(x,y) PrintX;y End Sub PubUc Sub PCS(ByValn As Integer,ByValm As Integer) n=nMod 10 m=mMod 10 End SubA.1232B.232C.23D.123

In the following statements about functional dependency, which one is incorrect?A.Ifthen X→X'.B.If X→Y andthen X→Y'.C.If X→Y andthen X'→Y.D.If X→Y and Y→Z, then X→Z.

下列程序运行后,单击命令按钮,窗体显示的结果为( )。 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.23B.19C.21D.22

In the following statements about functional dependency, which one is incorrect?A.If X→Y and Y→Z, then X→Z.B.If X→Y and, then X→Y'.C.If X→Y and, then X'→Y.D.If, then X→X'.

要想在过程Proc调用后返回形参x和y的变化结果,下列定义语句中正确的是______。A.Sub Proc(x as Integer, y as Integer)B.Sub Proc(By Val x as Integer, y as Integer)C.Sub Proc(x as Integer, By Val y as Integer)D.Sub Proc(By Val x as Integer, By Val y as Integer)

以下过程的定义中,( )是错误的。 A、Public Sub Sum(x ; y)B、Public Sub Sum(ByVal x, ByVal y)C、Public Sub Sum(x As Integer,y As Integer)D、Public Sub Sum(x%, y%)

Command1_Click()事件代码如下: Private Sub Command1_Click() Dim x As Integer, Y As Integer x = 6 : Y : 8 Call ABC(X, Y) Print X; Y End Sub Private Sub ABC(ByVal X As Integer,Y As Integer) X = X + 4 Y = Y = 2 End Sub 事件发生后,X和Y的值分别为 ______。A.6, 8B.10, 10C.10, 8D.6, 10

单击一次窗体之后,下列程序代码的执行结果为______。 Private Sub Command1_ Click() Dim x As Integer, y As Integer, z As Integer x = 1: y = 2: z = 3 Call fun1 (x, y, z) Print x; y; z Call fun2(x, y, z) Print x; y; z End Sub Private Sub fun1(x As Integer, y As Integer, z As Integer) x = 10 * z y=z*z+ x z=x+ y+ z End Sub Private Sub fun2 (ByVal x As Integer, ByVal y As Integer, ByVal z As Integer) x=10*z y=z*z+ x z=x+ y +z End SubA.1 2 3 30 39 72B.1 2 3 1 2 3C.30 39 72 1 2 3D.30 39 72 30 39 72

单击一次窗体之后,下列程序代码的执行结果为______。 Private Sub Command1_ Click() Dim a As Integer, b As Integer, c As Integer a = 1: b = 2: c = 4 Print Value(a, b,C)End Sub Function Num(x As Integer, y As Integer, z As Integer) Num = x * x + y * y + z * z End Function Function Value(x As Integer, y As Integer, z As Integer) Value = Num(x, y, z) + 2 * x End FunctionA.21B.23C.19D.35

设有如下程序:Prirate Sub Form_Click()Dim a As Integer,b AS Integera=20:b=50p1 a,bp2 a,bp3 a,bPrint"a=";a,"b=";bEnd SubSub p1(x As Integeh By Val y As Integer)x=x+10y=y+20End SubSub p2(ByVal x As Integer,y As Integer)x=x+10y=y+20End SubSub p3 (ByVal x As Integer,ByVal y As Integer)x=x+10y=y+20End Sub该程序运行后,单击窗体,则在窗体上显示的内容是:a= ______ 和b= _____。

以下程序运行后,单击命令按钮,窗体显示的结果是 ______。 Private Function p1(x As Integer,y As Integel,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(2,y,x)+x End Function Private SubCommandl_Click() Dim a As Integer Dim b As Integer Dim c As Integer a=2:b=3:c=4 Print p2(c,b,A)End SubA.19B.21C.22D.23

要想在过程Proc调用后返回形参x和Y的变化结果,下列定义语句中正确的是( )。【考点5过程调用与参数传递】A.Sub Proc(x as Integer,Y as Integer)B.Sub Proc(ByVal x as Integer,Y as Integer)C.Sub Proc(x as Integer,ByVal Y as Integer)D.Sub Proc(ByVal x as Integer,ByVal Y as Integer)

阅读下面的程序; Function Func(x As Integer,y As Integer)As Integer Dim n As Integer Do While n < = 4 x=x + y n = n + 1 Loop Func=x End Function Private Sub Command1_Click() Dim x As Integet, y As Integer Dim n As Integer,z As Integer x=1 y=1 For n = 1 To 6 z=Func(x,y) Next n Print z End Sub 程序运行后,单击命令按钮,输出的结果为.A.16B.21C.26D.31

单击命令按钮时,下列程序的执行结果为 Private Sub Command1_Click Dim x As Integer, y As Integer x=12:y=32 Call Proc(x,y. Print x; y End Sub Public Sub Proc(n As Integer, ByVal m As Integer. n=n Mod 10 m=m Mod 10 End SubA.1232B.232C.23D.123

单击按钮时,以下列程序运行后的输出结果是 Private Sub proc1(x As Integer,y As Integer,z As Integer) x=3*z y=2*z z=X+y End Sub Private Sub Command1_Click( ) Dim x As Integer,y As Integer,z As Integer x=1:y=2:z=3 Call proc1(x,x,2) Print x;x;z Call proc1(x,y,y) Print x;y;y End SubA.6 6 12 6 6 10B.9 5 10 5 10 10C.9 6 12 9 10 15D.9 5 10 5 4 10

单击按钮时,以下程序运行后的输出结果是 Private Sub Commandl_Click( ) Dim X As Integer,y As Integer,z As Integer x=1:y=2: Z=3 Call God(x,x,z) Print x;x;z Call God(x,y,y) Print X;y;y End Sub Private Sub God(x As Integer,y As Integer,z As Integer) x=3 * Z + 1 y=2 * Z z=x + y End SubA.6 6 12 7 11 11B.8 5 10 5 11 11C.9 6 12 9 10 15D.8 10 10 5 9 10

class DemoApp{  public static void main(String[] args){  int x = 5; int y = ++x + x++; S ystem.out.println(“y=”+y+”,x=”+x);  }  }  以上程序运行后的输出结果是哪项?() A、y=10,x=5B、y=11,x=6C、y=12,x=7D、y=11,x=7

Less Test{    public static void main(String[] args){   for(int x=0;x7;++x){  int y=2;   x=++y;   }   System.out.println(“y=”+y);   }   }   结果为:()  A、y=5B、y=6C、 y=7D、y=8E、编译失败F、运行时异常被抛出

下列语句执行后的结果是()。 y=5;p=y;x=*p++;A、x=5,y=5B、x=5,y=6C、x=6,y=5D、x=6,y=6

下面语句的输出结果是()。x=10:y=3Print(x*y)/8A、5B、6C、3D、4

单选题If 7y+9 represents an odd integer, which of the following represents the next smaller odd integer?A7(y+1)B7(y-2)C7(y+3)D7(y+2)E7(y-2)+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?____

单选题在VB中,使用变量前一般应对变量进行定义。以下变量定义语句错误的是()。ADim  x As IntegerBDim  x As Integer,y As SingleCVar  x,y:IntegerDDim  x As Integer,y As Integer

单选题If x is an integer and y=7x+11, what is the greatest value of x for which Y is less than 50?A7B6C5D4E3

单选题以下定义的过程()是按“传值”方式传递参数的。APublic Sub Sum(x,y)BPublic Sub Sum(ByVal x, ByVal y)CPublic Sub Sum(x As Integer,y As Integer)DPublic Sub Sum(x%, y%)