题目内容

有如下过程代码:Sub var_dim()Static numa As IntegerDim numb As Integernuma=numa+2numb=numb+1print numa;mumbEnd Sub连续3次调用var_dim过程,第3次调用时的输出是()。

A. 21
B. 23
C. 61
D. 63

查看答案
更多问题

设有以下函数过程Private Function Fun(a()As Integer,b As String)As Integer...End Function若已有变量声明:Dim x(5)As Integer,n As Integer,ch As String则下面正确的过程调用语句是()。

A. x(0)=Fun(x,"ch")
B. n=Fun(n,ch)
Call Fun x,"ch"
D. n=Fun(x(5),ch)

将产生式的所有前件和后件都可以放入综合数据库中。

A. 对
B. 错

Q为p1,p2,...,pn的逻辑结论,当且仅当(p1∧p2∧...∧pn)∧¬Q是不可满足的。

A. 对
B. 错

P∨(Q∧R)的等价是( )。

答案查题题库