【简答题】
下列程序段的运行结果是[填空] 。
Private Sub Form_Click()
Dim a(3) As Long
a(0) = 1: a(1) = 2: a(2) = 3: a(3) = 4
j = 1
For i = 3 To 0 Step -1
s = s + a(i) * j
j = j * 10
Next i
Print s
End Sub
【单选题】
有以下程序,执行后输出结果是() main( ) { int m[][3]={1,4,7,2,5,8,3,6,9}; int i,j,k=2; for(i=0;i { printf(%d ,m[k][i]); } }
【单选题】
以下程序段运行后s的值是()。 int a[3][3]={1, 2, 3, 4, 5, 1, 2, 3, 4} ; int i, j, s=1; for(i=0; i for(j=i+1; j s+=a[i][j];
【单选题】
这条旋律 “3 4 | 5 6 2 3 | 4 - 1 2 | 3 3 2 2 | 2 1 ||”的节拍为( )
【单选题】
以下程序段运行后x的值为()。inta[8]={1,2,3,4,5,6,7,8},i,x=0;for(i=0;ii++,i++)x=x+a[i];
【单选题】
设执行以下程序段时依次输入1、3、5,执行结果为______。
??? Dim a(4) As Integer, b(4) As Integer
??? For K = 0 To 2
??????? a(K + 1) = Val(InputBox(请输入数据))
??????? b(3 - K) = a(K + 1)
??? Next K
??? Print b(K)
【单选题】
以下程序段运行后s的值是()。inta[3][3]={1,2,3,4,5,1,2,3,4};inti,j,s=1;for(i=0;ii++)for(j=i+1;jj++)s+=a[i][j];
【单选题】
已知:inta[][3]={1,2,3,4,5,6,7,8,9,0};则数组a的第一维的大小是()
【单选题】
向量空间<imgwidth="216"height="28"src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ4AAAAjCAYAAABl9OT5AAAAAXNSR0ICQMB9xQAAAAlwSFlzAAASdAAAEnQB3mYfeAAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAAAXuSURBVHja7Vw9btw6EOYBcoAXYJnOB7C5Lv2qYCMEqYOsBVcOUgUEghxAdmcg8AXSpUuK1C6SNk1u4CI38B3yTOpR0sr8mSGpFWVM8QH2WitLMx+/+eFI7PLykhEIBAIGZAQCgUDCQSAQSDgIBAIJB4F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cHFp1Rr7kaj6aaHBrmwwpE7tbedD5NtlCkcg3TeCWQZNrSP+Sxjio4VjhJ4UKqtVWmjZrbGYuP9hyU9G9BmHLzxpZLR/YRMpLU5SzXaMFvX/T14dlUylGpzZBzepnvGLf5o4ZiRByXaGpVxdOTk/FZ9KeVGJutxOByMXTh1VZ0rMcpF2nHGo1PTjXwbW5ti5jhK73H4SBu6r6mFowQelGZrdI+jX+zzDHnB6sf4XZXOudvqX3XMePtWnp2dxEadIWFksz0w75HIEbEgoujbfkuzd7oQ+aL6JBEf2hwtiAcl2Rq9qzJFsyonUuY4dFRRzpTbw81Gvh4vUpWauaK82lsPPTE4VHq+Xn91EQByzvaY/lkg87t/PgX2EBg+A0qbLRjuNLB19X1MxuGgmlrwU2/HYnmA4QCGB6XaOmqOw7fdWQJSJke7NG1AqqGTbc3XNoVVW1jsNmQXaA0JPaeuMU3DDEDaKZ8hip1mdJWrToHO8ErDkHBgeYDhQI6+TQm2jpocLRWoZ1UyL6DhK+xCEQNKFug5MbZZ6qh9Tkw1co7xF4YHS8zslykce346Vu/oCNGEhAgzrwE95757ESQc6f7C8KBURD0du+QbGtf7qQ5UaWNV1eehulu/jQu4gwI9J64Zttx3j5QuHBh/YXhQMqLex7GImwK+AWyKZuFOI0s32Z6fzEWWtg9CorGPUqVkHuTMrKLfALYEYN45qlLM3Aur717bm6r7WiBqGhHS6SfhmHKhzcuDbHaLfecogUAgQEBGIBAIJBwEAoGEg0AgkHAQCITHgP8A0oBwyhcjZTYAAAAASUVORK5CYII="/>的维数等于()
【单选题】
有定义语句“int a[][3]={1, 2, 3, 4, 5, 6};”,则a[1][0]的值是____。