• 2022-05-29 问题

    下列程序的运行结果是( )。t = 0 while t < 5: print(t, " is less than 5") t = t + 1else: print(t, " is not less than 5") A: 0 is less than 51 is less than 52 is less than 53 is less than 54 is less than 55 is not less than 5 B: 1 is less than 52 is less than 53 is less than 54 is less than 55 is less than 55 is not less than 5 C: 0 is less than 51 is less than 52 is less than 53 is less than 54 is less than 5 D: 1 is less than 52 is less than 53 is less than 54 is less than 55 is less than 5

    下列程序的运行结果是( )。t = 0 while t < 5: print(t, " is less than 5") t = t + 1else: print(t, " is not less than 5") A: 0 is less than 51 is less than 52 is less than 53 is less than 54 is less than 55 is not less than 5 B: 1 is less than 52 is less than 53 is less than 54 is less than 55 is less than 55 is not less than 5 C: 0 is less than 51 is less than 52 is less than 53 is less than 54 is less than 5 D: 1 is less than 52 is less than 53 is less than 54 is less than 55 is less than 5

  • 2021-04-14 问题

    t=0:1:5产生行向量t,各元素为0、1、2、3、4、5

    t=0:1:5产生行向量t,各元素为0、1、2、3、4、5

  • 2021-04-14 问题

    已知T(1)=9,T(2)=8,T(0)=5,Total=T(1)+T(2)+T(0),则Total=()。

    已知T(1)=9,T(2)=8,T(0)=5,Total=T(1)+T(2)+T(0),则Total=()。

  • 2022-06-11 问题

    已知T(1)=9,T(2)=8,T(0)=5,Total=T(1)+T(2)+T(0),则Total=()。 A: 9 B: 22 C: 8 D: 5

    已知T(1)=9,T(2)=8,T(0)=5,Total=T(1)+T(2)+T(0),则Total=()。 A: 9 B: 22 C: 8 D: 5

  • 2022-07-23 问题

    下列Matlab代码,能求解微分方程 y'(t) = 2*t , y(0) = 1的是( ) A: tspan = [0 5];<br> y0 = 0;<br> [t,y] = ode45(@(t,y) 2*t, tspan, y0); B: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*t, tspan, y0); C: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*y, tspan, y0); D: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*t*y, tspan, y0);

    下列Matlab代码,能求解微分方程 y'(t) = 2*t , y(0) = 1的是( ) A: tspan = [0 5];<br> y0 = 0;<br> [t,y] = ode45(@(t,y) 2*t, tspan, y0); B: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*t, tspan, y0); C: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*y, tspan, y0); D: tspan = [0 5];<br>y0 = 1;<br>[t,y] = ode45(@(t,y) 2*t*y, tspan, y0);

  • 2021-04-14 问题

    运行下面的程序后,输出的结果为 Cls Dim t(5,5)as Integer For i=1 To 5:t(i,i)=1:Next For i=1 To 5 For j=1 To 5 Print t(i,j), Next Print Next A. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 B.1 1 1 1 1 C.1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 D.1 1 1 1 1

    运行下面的程序后,输出的结果为 Cls Dim t(5,5)as Integer For i=1 To 5:t(i,i)=1:Next For i=1 To 5 For j=1 To 5 Print t(i,j), Next Print Next A. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 B.1 1 1 1 1 C.1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 D.1 1 1 1 1

  • 2022-11-03 问题

    产生周期为1的三角波信号,正确的代码是 A: t=0:1/1000:5;y=sawtooth(2*pi*t,0.5);号,正确的代码是 B: t=0:1/1000:5;y=sawtooth(2*pi*10*t,0.5);,正确的代码是 C: t=0:1/1000:5;y=square(2*pi*t,0.5);� D: t=0:1/1000:5;y=square(2*pi*10*t,0.5);

    产生周期为1的三角波信号,正确的代码是 A: t=0:1/1000:5;y=sawtooth(2*pi*t,0.5);号,正确的代码是 B: t=0:1/1000:5;y=sawtooth(2*pi*10*t,0.5);,正确的代码是 C: t=0:1/1000:5;y=square(2*pi*t,0.5);� D: t=0:1/1000:5;y=square(2*pi*10*t,0.5);

  • 2022-06-11 问题

    已知T(1)=9,T(2)=8,T(0)=5,Total=T(1)+T(2)+T(0),则Total=()。 A: A9 B: B22 C: C8 D: D5

    已知T(1)=9,T(2)=8,T(0)=5,Total=T(1)+T(2)+T(0),则Total=()。 A: A9 B: B22 C: C8 D: D5

  • 2022-07-28 问题

    已知元组 t=(1,2,3),则以下能在Python编译环境中正确执行的表达式是: A: t[0]+=1 B: t.append(4) C: t[0]=5 D: t[0]+t[1]

    已知元组 t=(1,2,3),则以下能在Python编译环境中正确执行的表达式是: A: t[0]+=1 B: t.append(4) C: t[0]=5 D: t[0]+t[1]

  • 2022-06-09 问题

    下列程序段的输出结果是( )#include <;stdio.h>;void main( ){int t=1,i;for(i=5;i>;=0;i--)t*=i;printf("%d\n",t);} A: 5 B: 120 C: 0 D: 1

    下列程序段的输出结果是( )#include <;stdio.h>;void main( ){int t=1,i;for(i=5;i>;=0;i--)t*=i;printf("%d\n",t);} A: 5 B: 120 C: 0 D: 1

  • 1 2 3 4 5 6 7 8 9 10