The statement x=linspace(1,10,6) will generate a vector of ( ) elements.
A: 1
B: 5
C: 6
D: 10
A: 1
B: 5
C: 6
D: 10
举一反三
- 坡道的坡度一般为( )。 A: 1:6~1:12 B: 1:5~1:10 C: 1:6~1:8 D: 1:6~1:10
- The while statement in the following code loops for times.int i=0;while (i<10) { if (i<1) continue; if (i==5) break; i++;} A: 1 B: 10 C: 6 D: infinite
- The while statement in the following code loops for times.int i=0;while (i<10) { if (i<1) continue; if (i==5) break; i++;} A: 1 B: 10 C: 6 D: infinite
- 下列创建vector容器对象的方法中,错误的是( ) A: vector v(10); B: vector v(10, 1); C: vector v{10, 1}; D: vector v = (10, 1);
- >>>x= [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9]>>>print(x.sort()) 语句运行结果正确的是( )。 A: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] B: [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9] C: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] D: ['2', '4', '0', '6', '10', '7', '8', '3', '9', '1', '5']