皮皮学,免费搜题
登录
搜题
【单选题】
由高中数学可知,对于连续函数f(x),若f(x1)与f(x2)值的符号相反,则在x1和x2之间必存在x0,使得:f(x0)=0(该点称为"零点")。设有VB函数:Private Function f(x As Single) As Single 可以返回f(x)的值(函数体没有给出)。下面程序的功能是从键盘输入2个实数x1、x2,判断在x1、x2之间是否存在零点。Private Sub Command1_Click() Dim x1 As Single, x2 As Single x1 = InputBox("请输入一个实数x1") x2 = InputBox("请再输入一个实数x2") If ( _______________ ) Then Print "在"; x1; "与"; x2; "之间存在零点" Else Print "不能确定在"; x1; "与"; x2; "之间是否存在零点" End IfEnd SubPrivate Function f(x As Single) As Single ……End Function为使上面程序可以实现该功能,程序代码中横线处应填写的代码是_______________。
A.
f(x1) >0 Or f(x2) < 0
B.
f(x1) < 0 And f(x2) < 0
C.
f(x1) * f(x2) < 0
D.
f(x1) * f(x2) > 0
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】A: We could smell the pie baking in the kitchen. B: We could smell the pie bake in the kitchen.
【判断题】关税和船舶吨税由海关部门征收,进口货物的增值税、消费税由税务机关征收。
A.
正确
B.
错误
【简答题】裁剪(clipping)和重绘(repainting)有什么联系?
【多选题】西门子S7-200系列PLC定时器T的定时精度有( )
A.
10ms
B.
1ms
C.
1s
D.
100ms
【单选题】下列定时精度中,不属于 S7-200 系列 PLC 定时器的是( )。
A.
1000ms
B.
100ms
C.
10ms
D.
1ms
【判断题】Back-formation,another way of creating new words, can also be seen as a kind of clipping.
A.
正确
B.
错误
【单选题】We could smell that some one _____ a cigar.
A.
would be smoking
B.
was smoke
C.
had been smoking
D.
would be smoked
【单选题】下列时间基准中,不属于S7—200系列PLC定时器的时间基准是
A.
10ms
B.
100ms
C.
1ms
D.
1000ms
【单选题】三草酸合铁酸钾是一种什么颜色的单斜晶体?
A.
黄绿色
B.
翠绿色
C.
墨绿色
D.
红棕色
【判断题】杆件的四种基本变形为轴向受拉、轴向受压、扭转和弯曲。
A.
正确
B.
错误