已知 x = [6, 9, 8],那么执行语句 x.insert(0, 1)之后,x的值为( )。 A: [1, 6, 9, 8] B: [6, 9, 8, 1] C: [6, 9, 1, 8] D: [6, 1, 9, 8]
已知 x = [6, 9, 8],那么执行语句 x.insert(0, 1)之后,x的值为( )。 A: [1, 6, 9, 8] B: [6, 9, 8, 1] C: [6, 9, 1, 8] D: [6, 1, 9, 8]
下列代码运行结果是?a = map(lambda x: x**3, [1, 2, 3])list(a) A: [1, 12, 27] B: (1, 6, 9) C: [1, 8, 27] D: [1, 6, 9]
下列代码运行结果是?a = map(lambda x: x**3, [1, 2, 3])list(a) A: [1, 12, 27] B: (1, 6, 9) C: [1, 8, 27] D: [1, 6, 9]
设int x=1;a=9,b=6,c=9,d=8;执行语句: if(a>b )if(c>b )if(b>d )x=2;else x=6; 后x的值是( ) A: 1 B: 2 C: 6 D: 不确定
设int x=1;a=9,b=6,c=9,d=8;执行语句: if(a>b )if(c>b )if(b>d )x=2;else x=6; 后x的值是( ) A: 1 B: 2 C: 6 D: 不确定
设二维随机变量(X,Y)的联合分布列为 XY -1 0 1 -1 1 1/6 1/9 2/9 1/3 0 1/6则P{XY=1}为( ) A: 0 B: 1/6 C: 1/3 D: 2/3
设二维随机变量(X,Y)的联合分布列为 XY -1 0 1 -1 1 1/6 1/9 2/9 1/3 0 1/6则P{XY=1}为( ) A: 0 B: 1/6 C: 1/3 D: 2/3
○最大能填几?○×3<25○×6<37○×4<29○×2<17○×3<19○×6<39○×9<65○×7<58○×8<65○×5<48○×9<37○×6<55
○最大能填几?○×3<25○×6<37○×4<29○×2<17○×3<19○×6<39○×9<65○×7<58○×8<65○×5<48○×9<37○×6<55
以下选项中,仅当x的绝对值在1至6范围内时,表达式值为“真”的是: (x>=-6)&&(x<=-1)||(x>=1)&&(x<=6)|(x>=-6)||(x<=-1)||(x>=1)||(x<=6)|(x>=1)&&(x<=6)&&(x>=-6)&&(x<=-1)|(x>=1)&&(x<=6)||(x>=-1)&&(x<=-6)
以下选项中,仅当x的绝对值在1至6范围内时,表达式值为“真”的是: (x>=-6)&&(x<=-1)||(x>=1)&&(x<=6)|(x>=-6)||(x<=-1)||(x>=1)||(x<=6)|(x>=1)&&(x<=6)&&(x>=-6)&&(x<=-1)|(x>=1)&&(x<=6)||(x>=-1)&&(x<=-6)
以下选项中,当且仅当x的绝对值在1至6范围内表达式值为"真"的是( )。 A: (x>=-6)&&(x<=-1)||(x>=1)&&(x<=6) B: (x>=1)&&(x<=6)&&(x>=-6)&&(x<=-1) C: (x>=-6)||(x<=-1)||(x>=1)||(x<=6) D: (x>=1)&&(x<=6)||(x>=-1)&&(x<=-6)
以下选项中,当且仅当x的绝对值在1至6范围内表达式值为"真"的是( )。 A: (x>=-6)&&(x<=-1)||(x>=1)&&(x<=6) B: (x>=1)&&(x<=6)&&(x>=-6)&&(x<=-1) C: (x>=-6)||(x<=-1)||(x>=1)||(x<=6) D: (x>=1)&&(x<=6)||(x>=-1)&&(x<=-6)
用边界值分析法,不考虑健壮性,假定1<;X<;10,那么X在测试中应该取的边界值是 A: X=1,X=2,X=9,X=10 B: X=2,X=5,X=9 C: X=1,X=10 D: X=1,X=5,X=6,X=10
用边界值分析法,不考虑健壮性,假定1<;X<;10,那么X在测试中应该取的边界值是 A: X=1,X=2,X=9,X=10 B: X=2,X=5,X=9 C: X=1,X=10 D: X=1,X=5,X=6,X=10
已知x = np.array([3, 5, 1, 9, 6, 3]),那么表达式np.argmax(x)的值为____________。
已知x = np.array([3, 5, 1, 9, 6, 3]),那么表达式np.argmax(x)的值为____________。
以4,9,1为为插值节点,求\(\sqrt x \)的lagrange的插值多项式 A: \( {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x - 1) + {1 \over {24}}(x - 4)(x - 9)\) B: \( - {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x - 1) + {1 \over {24}}(x - 4)(x - 9)\) C: \( - {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x +1) + {1 \over {24}}(x - 4)(x - 9)\) D: \( - {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x - 1) - {1 \over {24}}(x - 4)(x - 9)\)
以4,9,1为为插值节点,求\(\sqrt x \)的lagrange的插值多项式 A: \( {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x - 1) + {1 \over {24}}(x - 4)(x - 9)\) B: \( - {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x - 1) + {1 \over {24}}(x - 4)(x - 9)\) C: \( - {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x +1) + {1 \over {24}}(x - 4)(x - 9)\) D: \( - {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x - 1) - {1 \over {24}}(x - 4)(x - 9)\)