皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
某人编写了如下程序,用来求10个整数(整数从键盘输入)中的最大值: Private Sub Command1_Click() Dim a(10) As Integer, max As Integer For k=1 To 10 a(k)=InputBox("输入一个整数") Next k Max=0 For k=1 To 10 If a(k)>max Then max = a(k) End If Next k Print max End Sub 运行发现,当输入10个正数时,可以得到正确结果,但输入10个负数时结果是错误的,程序需要修改,下面的修改中可以得到正确运行结果的是( )。
A.
把If a(k)>max Then改为If a(k)
B.
把max = a(k)改为a(k)=max
C.
把第2个循环语句For k=1 To 10改为For k=2 To 10
D.
把max=0改为max = a(10)
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】Which of the letters below represent the quantities of profit maximization, productive efficiency, and allocative efficiency?
A.
B = profit maximization; D = productive efficiency; C = allocative efficiency
B.
A = profit maximization; C = productive efficiency; B = allocative efficiency
C.
A = profit maximization; B = productive efficiency; C = allocative efficiency
D.
B = profit maximization; C = productive efficiency; D = allocative efficiency
【单选题】What is the difference between static efficiency and dynamic efficiency?
A.
Dynamic efficiency allows us to evaluate resource allocations across time periods while static efficiency looks at resource allocation where time is not important.
B.
Dynamic efficiency is useful for environmental policymaking while static efficiency is not.
C.
Static efficiency is useful for environmental policymaking while dynamic efficiency is not.
D.
Static efficiency and dynamic efficiency are two names for the same thing.
【单选题】下面哪个型号的焦虑点是不被需要
A.
1
B.
2
C.
3
D.
4
【判断题】电流表的内阻越小越好。
A.
正确
B.
错误
【多选题】固体分散物在载体中的分散状态可有( )。
A.
分子
B.
离子
C.
胶态
D.
微晶或无定形状态
【单选题】How does the volumetric efficiency and mechanical efficiency change while the working pressure rises?
A.
the volumetric efficiencygoes up, the mechanical efficiency goes up
B.
the volumetric efficiencygoes up, the mechanical efficiency goes down
C.
the volumetric efficiencygoes down, the mechanical efficiency goes up
D.
the volumetric efficiencygoes down, the mechanical efficiency goes down
【判断题】电流表的内阻越小越好
A.
正确
B.
错误
【简答题】法的空间效力是法的适用地域范围,也就是在哪些地域范围有约束力,那么请问世界各国现存法律在哪些地域范围是没有约束力的?
【判断题】Efficiency and personality of the front desk staff are crucial for the realization of the hotel’s target.
A.
正确
B.
错误
【简答题】配置效率(帕累托效率)(allocative efficiency,Pareto efficiency)
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题