- 0
- 0
- 约5.29千字
- 约 20页
- 2017-08-31 发布于河南
- 举报
2014年电大程序设计基础记分作业3答案(2014 TV program design basic scoring homework 3 answer)
2014年电大程序设计基础记分作业3答案(2014 TV program design basic scoring homework 3 answer)
Judgment question. (a total of 6 questions, 2 points per subject) 01
1, the choice structure is also called branch structure. (yes)
yes
no
2. A relatively independent program that has a specific function that can be called by other functions. It is called function in the C language. (yes)
yes
no
3 array elements are the basic units of an array. (yes)
yes
no
The 4 and for statements are almost all the loop control structures available in high-level languages. (yes)
yes
no
5, if the calling function is a user-defined function, you must declare the called function in the main function. (yes)
yes
no
6, the cyclic structure is also called repetitive structure. (yes)
yes
no
Radio examination. (a total of 20 questions, 3 points per subject) 01
1, the following procedures running results are: (B)
#include stdio.h
(main)
{int, i=1, j=2;
If (I, =j)
Printf (YES\n);
Else
Printf (NO\n);
}
A.NO
B.YES
C.A
D. or more is wrong
2. In C, the expression in the parentheses of a pair of parentheses followed by the if statement to determine the flow of the branch (D).
A. can only use relational expressions
B. can only use logical expressions
C. can only use logical expressions or relational expressions
D. can use any expression
3, following the execution of the following procedures, the correct result is (B).
Void, main ()
{
Int I;
For (I=1; I10; I++)
Printf (%d, ++I);
}
A.1,2,3,4,5,6,7,8,9,10
B.2,4,6,8,10,
C.2,3,4,5,6,7,8,9,10,11,
D.1,3,5,7,9,
4, the following procedures running results are: (A)
#include stdio.h
(main)
{char c=A;
If (0=, c=9)
Printf (YES);
Else
Printf (NO);
}
A.YES
B.NO
C.A
D. or more is wrong
5, the following procedures running results are: (D).
Main ()
{int a=0;
For (a=0; a3; a++);
Printf (%d\n, a);
}
A.0
B.1
C.2
D.3
6, the following procedures such as the normal operation, when the letter from the keyboard input A, the output results for (B).
#include stdio.h
Main ()
{char ch;
Ch = getchar ()
您可能关注的文档
- !!!食物改变你一生--超强贴!(!! Food changes your life - Super stick!).doc
- (dsg)双速电机软并网型风力发电机组控制系统的工作原理及研制((DSG) the working principle and development of the control system of double speed motor soft grid connected wind turbine generator).doc
- (二)重要的观点、结论 生物((two) important viewpoint and conclusion organism).doc
- (产业)基于新兴古典经济学的交通运输与经济增长关系((industry) the relationship between transportation and economic growth based on new classical economics).doc
- (新版)折叠式活动房多功能活动房设计制造及设备专利技术文集((New Edition) folding type movable room, multi-function movable room design, manufacture and equipment patent technology collection).doc
- (新版)微波干燥设备设计制造工艺专利技术文集((New Edition) microwave drying equipment design, manufacturing process, patent technology collection).doc
- (第二十六卷)((twenty-sixth Vols.)).doc
- (电大毕业论文范文)禅与古代日本园林建筑 论文(Zen and ancient Japanese garden architecture).doc
- (蕨菜)茶((fern) tea).doc
- (新版)收缩膜热收缩膜生产制备工艺及应用专利技术光盘((New Edition) shrink film heat shrinkable film production, preparation process and application patent technology CD).doc
- 小区绿化施工协议书.docx
- 墙面施工协议书.docx
- 1 古诗二首(课件)--2025-2026学年统编版语文二年级下册.pptx
- (2026春新版)部编版八年级道德与法治下册《3.1《公民基本权利》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《4.3《依法履行义务》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.2《按劳分配为主体、多种分配方式并存》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.1《公有制为主体、多种所有制经济共同发展》PPT课件.pptx
- 初三教学管理交流发言稿.docx
- 小学生课外阅读总结.docx
- 餐饮门店夜经济运营的社会责任报告(夜间贡献)撰写流程试题库及答案.doc
最近下载
- 四年级音乐下册欣赏《包粽子》《欢乐的夜晚》教案苏教版.pdf VIP
- 电镀加工项目可行性研究报告.docx VIP
- 第三单元第二章植物体内的物质与能量变化【速记清单】.docx
- 高大模板工程施工与支撑体系专项方案.docx VIP
- 春节后复工复产方案.doc VIP
- 中建协QC汇编_3-福州建工-提高大面积冷库墙体保温层施工质量——福州建工(集团)总公司.doc VIP
- Q SHB 0003-2016_全自动滚筒洗衣机玻璃观察窗.pdf VIP
- 电力工程安全协议书.doc VIP
- 2019年青海省中考数学试卷【原卷版】材料.pdf VIP
- AI驱动的组织重构与业务重构:绚星智慧科技AI实践白皮书.docx VIP
原创力文档

文档评论(0)