皮皮学,免费搜题
登录
搜题
【单选题】
要求以下程序的功能是计算:s=1+ 2 1 + 3 1 + ... + 1 0 1 ,但运行后输出结果错误,导致错误结果的是 #include int main(void){ int n; float s; s = 1.0; for (n = 10; n > 1; n--)s = s + 1 / n; printf("%6.4f\n", s); return 0;}
A.
int n; float s;
B.
for (n = 10; n > 1; n--)
C.
s = s + 1 / n;
D.
s = 1.0;
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】下列属于结构问题的是?
A.
B.
C.
D.
【判断题】普通万用表可测试各类型的汽车电路,因为其内部有一个大于10 M Ω 的电阻。
A.
正确
B.
错误
【判断题】发动机拆装时,有装配位置要求的要先检查是否有安装记号,如没有要打上安装记号。
A.
正确
B.
错误
【简答题】1 Life in a big city has become more and more difficult for people to cope with. 2 In a big city, stress is caused by fierce competition. 3 Different kinds of public transport makes it convenient for ...
【单选题】对事务 T 要修改的数据 R 加 X 锁,直到事务结束为止,这是 ( )
A.
3级封锁协议
B.
1级封锁协议
C.
2级封锁协议
D.
4级封锁协议
【单选题】Which of the following is true according to John Dewey?
A.
An individual can exercise very little influence on the cultural tradition into which he is born.
B.
Custom in the direct result of the philosophical probings of a group of people.
C.
An individual is strongly influenced by the cultural tradition even before he is born.
D.
Custom represents the collective wisdom which benefits the individual.
【单选题】下列属于无结构问题的是()
A.
.1+1=?
B.
.己知三角形的两个角的度数,求第三个角的度数
C.
解密码算术题
D.
.怎样做一个好老师
【多选题】用于涂抹粉底的化妆工具是?
A.
粉底刷
B.
化妆海绵
C.
眼线刷
D.
腮红刷
【单选题】麻风的传染途径是( )
A.
消化道传染
B.
呼吸道传染
C.
输血传染
D.
接触传染
E.
虫媒传染
【多选题】进入化学实验室必要的准备工作有哪些( )
A.
完成预习报告和作业
B.
带好实验指导书、预习报告和学习用品
C.
按要求分好实验小组
D.
了解实验注意事项和安全操作规范
相关题目: