以下代码的输出结果是def fun(num):num *= 2print(num)x = 20fun(x)print(x) A: 20 20 B: 10 10 C: 20 40 D: 40 20
以下代码的输出结果是def fun(num):num *= 2print(num)x = 20fun(x)print(x) A: 20 20 B: 10 10 C: 20 40 D: 40 20
【单选题】#include <stdio.h> int x1 = 30, x2 = 40; void sub(int x, int y) { x1 = x; x = y; y = x1; } int main() { int x3 = 10, x4 = 20; sub(x3, x4); sub(x2, x1); printf(" %d, %d, %d, %d ", x3, x4, x1, x2); return 0; } A. 10, 20, 40, 40 B. 10,40, 40, 40 C. 20, 20, 40, 40 D. 10, 10, 40, 40
【单选题】#include <stdio.h> int x1 = 30, x2 = 40; void sub(int x, int y) { x1 = x; x = y; y = x1; } int main() { int x3 = 10, x4 = 20; sub(x3, x4); sub(x2, x1); printf(" %d, %d, %d, %d ", x3, x4, x1, x2); return 0; } A. 10, 20, 40, 40 B. 10,40, 40, 40 C. 20, 20, 40, 40 D. 10, 10, 40, 40
有一随机变量x~N(30, 25),若P(x<20)=0.0227,则P(x≥40)=
有一随机变量x~N(30, 25),若P(x<20)=0.0227,则P(x≥40)=
以下代码的输出结果是(_____)。def fun(num): num *= 2 x = 20 fun(x) print(x) A: 40 B: 10 C: 20 D: 报错
以下代码的输出结果是(_____)。def fun(num): num *= 2 x = 20 fun(x) print(x) A: 40 B: 10 C: 20 D: 报错
You are offered an investment opportunity. Its outcomes and probabilities are presented in the following table. X P(X) –$1000 .40 $0 .20 +$1000 .40 The mean of this distribution is _____________.
You are offered an investment opportunity. Its outcomes and probabilities are presented in the following table. X P(X) –$1000 .40 $0 .20 +$1000 .40 The mean of this distribution is _____________.
以下程序的输出结果是:()def func(num): num *= 2x = 20func(x)print(x) A: 40 B: 出错 C: 无输出 D: 20
以下程序的输出结果是:()def func(num): num *= 2x = 20func(x)print(x) A: 40 B: 出错 C: 无输出 D: 20
下面程序的运行结果是( )。 def func(num): num *= 2 x = 20 func(x) print(x) A: 40 B: 20 C: 出错 D: 无输出
下面程序的运行结果是( )。 def func(num): num *= 2 x = 20 func(x) print(x) A: 40 B: 20 C: 出错 D: 无输出
You are offered an investment opportunity. Its outcomes and probabilities are presented in the following table. X P(X) –$1000 .40 $0 .20 +$1000 .40 Which of the following statements is true?
You are offered an investment opportunity. Its outcomes and probabilities are presented in the following table. X P(X) –$1000 .40 $0 .20 +$1000 .40 Which of the following statements is true?
能正确表示“当x的取值在[-58,-40]和[40,58]范围内为真,否则为假”的表达式是: (x>= -58) && (x<= -40) && (x>=40) && (x<=58)|(x>= -58) && (x<= -40) || (x>=40) && (x<=58)|(x>= -58) | |(x<= -40) && (x>=40) || (x<=58)|(x>= -58) || (x<= -40) || (x>=40) || (x<=58)
能正确表示“当x的取值在[-58,-40]和[40,58]范围内为真,否则为假”的表达式是: (x>= -58) && (x<= -40) && (x>=40) && (x<=58)|(x>= -58) && (x<= -40) || (x>=40) && (x<=58)|(x>= -58) | |(x<= -40) && (x>=40) || (x<=58)|(x>= -58) || (x<= -40) || (x>=40) || (x<=58)
已知程序如下,若X=10, Y=20, Z=30,该程序执行完成后,X的值为_____。X = Z + Y; If Y [ Z { X = X – Y; } Else{ X= X – Z; } X = X – Y; If X < Z { X = Y +20; } X = X – Z; If X ] Y { X = X – Y; } A: 10 B: 20 C: 30 D: 40
已知程序如下,若X=10, Y=20, Z=30,该程序执行完成后,X的值为_____。X = Z + Y; If Y [ Z { X = X – Y; } Else{ X= X – Z; } X = X – Y; If X < Z { X = Y +20; } X = X – Z; If X ] Y { X = X – Y; } A: 10 B: 20 C: 30 D: 40