更多"When the integer k is divided by 12"的相关试题:
[单项选择]When the integer n is divided by 6, the remainder is 3. Which of the following is NOT a multiple of 6 ?()
A. n-3
B. T+3
C. 2n
D. 3n
E. 4n
[单项选择]
What is the remainder when the positive integer x is divided by 2 ?()
(1)x is an odd integer.
(2)x is a multiple of 3.
A. 条件(1)充分,但条件(2)不充分.
B. 条件(2)充分,但条件(1)不充分.
C. 条件(1)和(2)单独都不充分,但条件(1)和条件(2)联合起来充分.
D. 条件(1)充分,条件(2)也充分.
E. 条件(1)和条件(2)单独都不充分,条件(1)和条件(2)联合起来也不充分.
[单项选择]When 10 is divided by the positive integer n, the remainder is n-4. Which of the following could be the value of n ?()
A. 3
B. 4
C. 7
D. 8
E. 12
[单项选择]If n is a positive integer and k+2=3n, which of the following could NOT be a value of K ?()
A. 1
B. 4
C. 7
D. 25
E. 79
[单项选择]If n is a positive integer and k=5.1×10n, what is the value of k ?()
(1)6,000<k<500,000
(2)k2=2.601×109
A. 条件(1)充分,但条件(2)不充分.
B. 条件(2)充分,但条件(1)不充分.
C. 条件(1)和(2)单独都不充分,但条件(1)和条件(2)联合起来充分.
D. 条件(1)充分,条件(2)也充分.
E. 条件(1)和条件(2)单独都不充分,条件(1)和条件(2)联合起来也不充分.
[单项选择]When ______ from milk, the remainder is called skim milk.
A. all the butterfat is removed
B. removing all the butterfat that
C. is all the butterfat removed
D. the removal of all the butterfat
[单项选择]If k is an integer greater than 44 and less than 51,then which of the following could be the product of 11 and k ?()
A. 565
B. 550
C. 500
D. 484
E. 440
[单项选择]阅读下列程序:
Function func(n As Integer)As Integer
Sum = 0
For i = 1 To n
Sum = Sum + (i + 1)* i
Next i
func = Sum
End Function.
Private Sub Command1_Click ( )
Dim a As Integer
a= 5
s = func (
A. 60
B. 70
C. 15
[单项选择]function calc(x,y:integer):integer; begin if y=1 then calc:=x else calc:=calc(x,y一1)+x end;a、b均为正整数,则cale(a,b)=( )。【中国科学技术大学1995十四、14(6分)】
A. a*(b一1)
B. a*b
C. a+b
D. a+a
[填空题]设有以下函数过程:
Functiofun(m As Integer)As Integer
Dimk As Integer,sum As Integer
sum=0
Fork=m To 1 Step-2
sum=sum+k
Nextk
fun=sum
End Function
若在程序中用语句s=fun(10)调用此函数,则s的值为______。
[单项选择]执行以下程序段
Dim x As Integer, i As Integer
x=0
For i=20 To Step -2
x=x+i/5
Next i
后,x的值为
A. 16
B. 17
C. 18
D. 19
[单项选择]设有如下函数过程:
Function fun(a As Integer, b As Integer)
Dim c As Integer
If a<b Then
c=a:a=b:b=c
End If
c=0
Do
c=c+a
Loop Until c Mod b=0
fun=c
End Function
若调用函数fun时的实际参数都是自然数,则函数返回的是
A. a、b的最大公约数
B. a、b的最小公倍数
C. a除以b的余数
D. a除以b的商的整数部分
[单项选择]标准模块中有如下程序代码:
Public x As Integer, y As Integer
Sub var_pub( )
x=10:y=20
End Sub
在窗体上有一个命令按钮,并有如下事件过程:
Private Sub Command1_Click( )
Dim x As Integer
Call var_pub
x=x+100:y=y+100
Print x;y
End Sub
运行程序后单击命令按钮,窗体上显示的是
A. 100 100
B. 100 120
C. 110 100
D. 110 120
[填空题]设有以下函数过程:
Function fun(m As Integer)As Integer
Dim k As Integer, sum As Integer
sum=0
For k=m To 1 Step-2
sum=sum+k
Next k
fun=sum
Fnd Function
若在程序中用语句s=fun(10)调用此函数,则s的值为______。
[单项选择]假定有下面的过程:
Function Func(a As Integer,b As Integer)As Integer
Static m As Integer,i As Integer
m=0
i=2
i=i+m+1
m=i+a+b
Func=m
End Function
在窗体上画一个命令按钮,然后编写如下事件过程:
Private Sub Command 1_Click( )
Dim k As Integer,m As Integer
Dim p As Integer
k=4
m=1
p=Func(k,m)
Print p;
p=Func(k,m)
Print p
End Sub
程序运行后,单击命令按钮,输出结果为( )。
A. 8 17
B. 8 16
C. 8 20
D. 8 8