执行下面程序,第二行输出结果是______,第五行输出结果是______,第七行输出结果是______。Private Sub Command1_Click()Dim a(4, 5) As Integer, i As Integer, j As IntegerFor i = 1 To 4For j = 1 To 5a(i, j) = i * 8 + j - 1Print a(i, j);Next jPrintNext iFor i = 2 To 4a(i, i + 1) = a(i - 1, i) + 4Next iFor i = 1 To 4For j = 1 To 5Print a(i, j);Next jPrintNext iEnd Sub
查看答案
执行下面程序,若依次输入1,2,3,4,5,6,则输出结果是______。Option Base 1Private Sub Command1_Click()Dim a(3, 2) As IntegerDim i%, j%, tFor i = 1 To 3For j = 1 To 2a(i, j) = InputBox("请输入数组元素的值")Next jNext iFor Each t In aPrint t;Next tEnd Sub
运行下列程序,单击命令按钮后,在窗体上输出结果为______。Option Base 1Private Sub Command1_Click()Dim a(3, 3), s(3)Dim x, i%For i = 1 To 3s(i) = 0For j = 1 To 3a(i, j) = i *js(i) = s(i) + a(i, j)Next jNext iFor Each x In sPrint x;Next xEnd Sub
对于每一标准公差等级,同一尺寸分段内各个尺寸的标准公差数值不同
A. 对
B. 错
尺寸精度设计中,优先选择基孔制。
A. 对
B. 错