语句while(!end);中的条件!end等价于()
A: end==0
B: end!=1
C: end!=0
D: -end
A: end==0
B: end!=1
C: end!=0
D: -end
A
举一反三
- 在 SQL Server 中使用()将多个T-SQL语句组合成一个语句块。 A: CASE…END B: IF…END C: WHILE…END D: BEGIN…END
- 运行如下程序,输出结果是 。 try: x, y = 1, 0 z = x / y print(0, end=",") except: print("1", end=",") else: print("2", end=",") finally: print("3", end=",")
- 下列不是分支结构的语句是( )。 A: While…Wend B: If…Then…End If C: Select…Case…End Select D: If…Then…Else…End If
- 下列矩阵中是单位矩阵的为( ). A: $\begin{pmatrix}1&1\\1&1\end{pmatrix}$ B: $\begin{pmatrix}1&0\\0&1\end{pmatrix}$ C: $\begin{pmatrix}1&0\\0&0\end{pmatrix}$ D: $\begin{pmatrix}0&1\\1&0\end{pmatrix}$
- 阅读下面的python程序,请问输出结果是什么? Print(“T”,end=’’) if not 0 else print (‘F’,end=’’) Print(“T”,end=’’)if 6 else print (‘F’,end=’’) Print(“T”,end=’’)if””else print(‘F‘,end=’’) Print(“T”,end=’’)if”abc”else print(‘F’,end=’’) Print(“T”,end=’’)if____else print (‘F’,end=’’) Print(“T”,end=’’)if(1,2)else print(‘F’,end=’’) Print(“T”,end=’’)if[ ]else print(‘F’,end=’’) Print(“T”,end=’’)if[1,2]else print(‘F’,end=’’) Print(“T”,end=’’)if{ }else print(‘F’,end=’’) Print(“T”,end=’’)if{1,2}else print(‘F’,end=’’)
内容
- 0
下列不是选择结构的语句是______。 A: If…Then…End If B: Do While…Loop C: If…Then…Else…End If D: Select Case…End Select
- 1
There is a bank __________ the street. A: on the end of B: in the end of C: at the end of D: by the end of
- 2
运行以下程序输出的结果是:( )。for i in range(6):if i%2==0:continueelif i%3:print(i,end=' ')else: print('end') A: 1 B: 1 end C: 1 5 end D: 1 5
- 3
_ we won the war. A: In the end B: On the end C: By the end D: At the end
- 4
不需要写在begin ......end 语句块中的 语句是 A: set intAge=18; B: if .. end if ,case.. end case等分支结构块 C: while.. end while 等循环结构块 D: ifnull( ... ), if(... ) 形式