{
"msg": "",
"status": 200,
"data": {
"organize_problem_method": 1,
"description": "",
"title": "22春《高级语言程序设计》期末考试(客观题部分)",
"rules": [
{
"difficulty": 1,
"num": 50,
"problem_type": 1,
"score": 2
}
],
"total_score": 282,
"problems": [
{
"Body": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">书写源程序时,必须注意缩进格式,否则程序会有编译错误</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">程序的主函数名除main外,也可以使用Main或_main</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">程序可以包含多个主函数,但总是从第一个主函数处开始执行</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">在C程序中,模块化主要是通过函数来实现的</span></p>"
}
],
"Version": "d05118c6ee0e4e55af343d7596a62716",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14117568,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14117568
},
{
"Body": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">用户自己定义的函数只能调用库函数</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">实用的C语言源程序总是由一个或多个函数组成</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">不同函数的形式参数不能使用相同名称的标识符</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">在C语言的函数内部,可以定义局部嵌套函数</span></p>"
}
],
"Version": "2dac23174f5c4967bf36cd65dffd6ed4",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14117599,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14117599
},
{
"Body": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">C语言程序所调用的函数必须放在main函数的前面</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">C语言程序总是从最前面的函数开始执行</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">C语言程序中main函数必须放在程序的开始位置</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">C语言程序总是从main函数开始执行</span></p>"
}
],
"Version": "796e1a7b51f547ddbe48c383d884d845",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14117602,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14117602
},
{
"Body": "<p style=\"text-indent:0;line-height:25px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">每个后缀为.c的C语言源程序都可以单独进行编译</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">每个后缀为.c的C语言源程序都应该包含一个main函数</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">C语言程序中,main函数必须放在其他函数的最前面</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">在C语言程序中,只有main函数才可单独进行编译</span></p><p><br/></p>"
}
],
"Version": "1b993027d346424596684ebfcc7fbecd",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14117964,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14117964
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下选项中不属于C语言标识符的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">常量</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">用户标识符</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">关键字</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">预定义标识符</span></p>"
}
],
"Version": "22af0bd6f3a14dbf8a186002b20c0ce3",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14118244,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14118244
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">语言中的关键字不能作变量名,但可以作为函数名</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">标识符的长度不能任意长,最多只能包含16个字符</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">标识符总是由字母、数字和下划线组成,且第一个字符不得为数字</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">用户自定义的标识符必须“见名知义”,如果随意定义,则会出编译错误</span></p>"
}
],
"Version": "fb33539d6bdd4552b386f5c2730259b9",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14118297,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14118297
},
{
"Body": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">C语言中的标识符分为关键字、预定义标识符和用户标识符,以下叙述正确的是(\n )</span></span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">关键字可用作用户标识符,但失去原有含义</span></span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">预定义标识符可用作用户标识符,但失去原有含义</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">在标识符中大写字母和小写字母被认为是相同的字符</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">用户标识符可以由字母和数字任意顺序组成</span></p>"
}
],
"Version": "de146453f9fb45b4aff72014b0931450",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14118299,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14118299
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">只能在函数体内定义变量,其他地方不允许定义变量</span></p>"
},
{
"key": "B",
"value": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">常量的类型不能从字面形式上区分,需要根据类型名来决定</span></span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">预定义的标识符是C语言关键字的一种,不能另作它用</span></p>"
},
{
"key": "D",
"value": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">整型常量和实型常量都是数值型常量</span></span></p>"
}
],
"Version": "f07fe42a18294596b5c1c9f68a7d7b25",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14118414,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14118414
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">在C程序中的八进制和十六进制,可以是浮点数</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">整型变量可以分为int型、short型、long型和un\u00adsigned型四种</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">八进制数的开头要使用英文字母o,否则不能与十进制区分开</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">英文大写字母X和英文小写字母x都可以作为二进制数字的开头字符</span></p>"
}
],
"Version": "b13b02e85e1b41ec81924a6ce84e7a44",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14118415,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14118415
},
{
"library_id": 23878,
"Score": 2,
"Version": "250414786a7344d1bf3350230b64cfaa",
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下选项中合法的常量是( )</span></p>",
"Answer": [
"C"
],
"Type": "SingleChoice",
"max_retry": 1,
"isShowGrayArea": false,
"score": 2,
"TemplateID": 14118433,
"showFooterAddExercisePopover": false,
"TypeText": "单选题",
"answerIndex": 2,
"Remark": "",
"complexBody": "\n <span class=\"font16 color3 font-weight500 item__complex-body-wrapper__pre\">\n 10.(单选题)\n </span>\n <p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下选项中合法的常量是( )</span></p>\n ",
"review_detail": {},
"ProblemType": 1,
"difficulty": 1,
"key": 10,
"LibraryID": 23878,
"data": {},
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">9 9 9</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">2.7e</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">0Xab</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">123E0.2</p>"
}
],
"isEdit": true,
"unionid": "1663663538015-44094",
"remarkFold": true,
"showScore": true,
"problemIndex": 10,
"HasRemark": false,
"template_id": 14118433
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下叙述中错误的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">数值型常量有正值和负值的区分</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">常量可以用一个符号名来代表</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">定义符号常量必须用类型名来设定常量的类型</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">常量是在程序运行过程中值不能被改变的量</span></p>"
}
],
"Version": "ed1fa267afb8459885cf4c626cfeee9e",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14118461,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14118461
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下选项中合法的实型常量是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3.13e-2.1</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">.914</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">2.0*10</p>"
}
],
"Version": "09f167ea163d4ff0b92f5fdc4ebd92a8",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14118651,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14118651
},
{
"library_id": 23878,
"Score": 2,
"Version": "f1806ee5855940e79f1dee183e1a1e38",
"Answer": [
"C"
],
"max_retry": 1,
"Type": "SingleChoice",
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下选项中非法的C语言字符常量是( )</span></p>",
"isShowGrayArea": false,
"score": 2,
"TemplateID": 14118832,
"showFooterAddExercisePopover": false,
"TypeText": "单选题",
"answerIndex": 2,
"Remark": "",
"complexBody": "\n <span class=\"font16 color3 font-weight500 item__complex-body-wrapper__pre\">\n 13.(单选题)\n </span>\n <p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下选项中非法的C语言字符常量是( )</span></p>\n ",
"review_detail": {},
"ProblemType": 1,
"difficulty": 1,
"key": 13,
"LibraryID": 23878,
"data": {},
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'</span>\\007<span style=\"font-size:13px;font-family:新宋体\">'</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'</span>\\b<span style=\"font-size:13px;font-family:新宋体\">'</span></p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size: 13px; font-family: 新宋体;\">'</span><span style=\"font-size: 15px;\">aa</span><span style=\"font-size: 13px; font-family: 新宋体;\">'</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:13px;font-family: 新宋体\">'</span><span style=\"font-size:15px\">\\xaa</span><span style=\"font-size:13px;font-family:新宋体\">'</span></p>"
}
],
"isEdit": true,
"unionid": "1663663663070-29685",
"remarkFold": true,
"showScore": true,
"problemIndex": 13,
"HasRemark": false,
"template_id": 14118832
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下选项中非法的C语言字符常量是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'</span>\\x9d<span style=\"font-size:13px;font-family:新宋体\">'</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'</span>9<span style=\"font-size:13px;font-family:新宋体\">'</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'</span>\\x09<span style=\"font-size:13px;font-family:新宋体\">'</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'</span>\\09<span style=\"font-size:13px;font-family:新宋体\">'</span></p>"
}
],
"Version": "b8b778ac12374b958fbddebb03c7a2b0",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14118850,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14118850
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">下面选项中合法的字符常量是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">"X"</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'X'</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'abc'</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:13px;font-family: 新宋体\">'\\'</span></p>"
}
],
"Version": "b6032ccd793c47a19549cafa1e8aa8bf",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14118870,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14118870
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">转义字符要用双引号括起来,以便与普通的字符常量区分开</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">字符常量在内存中占2个字节</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">字符常量需要用单引号括起来</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">字符常量是不能进行关系运算的</span></p>"
}
],
"Version": "7dd443dd695b487e8b605b0f2ebb5860",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14118945,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14118945
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'</span>\\0<span style=\"font-size:13px;font-family:新宋体\">'</span>表示字符0</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">"</span><span style=\";color:black\">a</span><span style=\"font-size:13px;font-family:新宋体\">"</span><span style=\";color:black\">表示一个字符常量</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">表达式:<span style=\"font-size:13px;font-family:新宋体\">'</span>a<span style=\"font-size:13px;font-family:新宋体\">'</span>><span style=\"font-size: 13px;font-family:新宋体\">'</span>b<span style=\"font-size:13px;font-family:新宋体\">'</span>的结果是“假”</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'\\"'</span><span style=\";color:black\">是非法的</span></p>"
}
],
"Version": "a21f338043f74c1b889b287161c5b4c2",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119181,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119181
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">字符变量在定义时不能赋初值</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">字符常量可以参与任何整数运算</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">同一英文字母的大写和小写形式代表的是同一个字符常量</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">转义字符用@符号开头</span></p>"
}
],
"Version": "a3eac4303b8646bbaeb860b3487d7422",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119185,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119185
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">字符串常量</span><span style=\"font-size:13px;font-family:新宋体\">"</span><span style=\";color:black\">Hello</span><span style=\"font-size:13px;font-family:新宋体\">"</span><span style=\";color:black\">会被隐含处理成一个无名字符型数组,它有5个元素</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">不能用字符串常量对字符数组名进行整体赋值操作</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">char str[7] = <span style=\"font-size:13px;font-family:新宋体\">"</span>string!<span style=\"font-size:13px;font-family:新宋体\">"</span>; 在语法上是合法的,运行也是安全的</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">char *str; str = <span style=\"font-size:13px;font-family:新宋体\">"</span>Hello<span style=\"font-size: 13px;font-family:新宋体\">"</span>; 与 char str[ ]; str = "Hello"; 效果是一样的</p>"
}
],
"Version": "0939f7615bed445c844206a1855c6c1c",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119191,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119191
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在语句char str[ ] = <span style=\"font-size:13px;font-family:新宋体\">"</span>string!<span style=\"font-size:13px;font-family:新宋体\">"</span>; 中,数组str的大小等于字符串的长度</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">语句char str[10] = <span style=\"font-size:13px;font-family:新宋体\">"</span>string!<span style=\"font-size:13px;font-family:新宋体\">"</span>; 和 char str[10] = {<span style=\"font-size:13px;font-family:新宋体\">"</span>string!<span style=\"font-size:13px;font-family: 新宋体\">"}; </span>并不等价</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">对于一维字符数组,不能使用字符串常量来赋初值</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">对于字符串常量<span style=\"font-size:13px;font-family:新宋体\">"</span>string!<span style=\"font-size:13px;font-family: 新宋体\">"</span>,系统已自动在最后加人了<span style=\"font-size:13px;font-family:新宋体\">'</span>\\0<span style=\"font-size:13px;font-family:新宋体\">'</span>字符,表示串结尾</p>"
}
],
"Version": "b17093fefdf34417981f8ffc1a62980a",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119372,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119372
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">下列叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">空字符串不占用内存,其内存空间大小是0</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">两个连续的单引号(</span><span style=\"font-size:13px;font-family:新宋体\">''</span><span style=\";color:black\">)是合法的字符常量</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">可以对字符串进行关系运算</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">两个连续的双引号("")是合法的字符串常量</span></p>"
}
],
"Version": "8981e3bd416140399928a6235f80ac2d",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119430,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119430
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">关于C语言的符号常量,以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">符号常量的符号名是标识符,但必须大写</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">符号常量是指在程序中通过宏定义用一个符号名来代表一个常量</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">符号常量在整个程序中其值都不能再被重新定义</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">符号常量的符号名必须是常量</span></p>"
}
],
"Version": "a10715ad06ca46c6aa6859b7434b8290",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119434,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119434
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">关于C语言的变量,以下叙述中错误的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">变量所占的存储单元地址可以随时改变</span></p>"
},
{
"key": "B",
"value": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">所谓变量是指在程序运行过程中其值可以被改变的量</span></span></p>"
},
{
"key": "C",
"value": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">程序中用到的所有变量都必须先定义后才能使用</span></span></p>"
},
{
"key": "D",
"value": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">由三条下划线构成的符号名是合法的变量名</span></span></p>"
}
],
"Version": "c73602557f8046518ca037f4a874b20a",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119452,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119452
},
{
"Body": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">以下选项中合法的变量是( )</span></span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span style=\"font-size:15px\">5a</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">_10_</p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size:15px\">A%</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">sizeof</span></p>"
}
],
"Version": "3702511727ee4bb4822263276272bc2a",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119457,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119457
},
{
"Body": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">以下叙述中正确的是( )</span></span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">函数的形式参数不属于局部变量</span></span></p>"
},
{
"key": "B",
"value": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">对于变量而言,“定义”和“说明”这两个词实际上是同一个意思</span></span></p>"
},
{
"key": "C",
"value": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">在复合语句中不能定义变量</span></span></p>"
},
{
"key": "D",
"value": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">全局变量的存储类别可以是静态类</span></span></p>"
}
],
"Version": "6c3c50f2ce7740c48ed1aa4816e44278",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119461,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119461
},
{
"Body": "<p><span class=\"Bodytext1\"><span style=\"font-size: 11pt;\">C语言中double类型数据占字节数为( )</span></span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>4</p>"
},
{
"key": "B",
"value": "<p>8</p>"
},
{
"key": "C",
"value": "<p>12</p>"
},
{
"key": "D",
"value": "<p>16</p>"
}
],
"Version": "0eaccbf75ea9497dbebfc2e06f46b7da",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119462,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119462
},
{
"Body": "<p><span style=\"font-size:15px\">若有定义语句 char c = </span><span style=\"font-size:13px;font-family:新宋体\">'</span><span style=\"font-size:15px\">\\101</span><span style=\"font-size:13px;font-family: 新宋体\">'</span><span style=\"font-size: 15px\">; 则变量c在内存中占( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1个字节</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">2个字节</p>"
},
{
"key": "C",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">3个字节</p>"
},
{
"key": "D",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">4个字节</p>"
}
],
"Version": "3a65360439a74f8db5afe8a4b70e8596",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119466,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119466
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">char cl, c2;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">cl = <span style=\"font-size:13px;font-family:新宋体\">'</span>C<span style=\"font-size:13px;font-family:新宋体\">'</span> + <span style=\"font-size:13px;font-family:新宋体\">'</span>8<span style=\"font-size:13px;font-family:新宋体\">' </span>- <span style=\"font-size:13px;font-family: 新宋体\">'</span>3<span style=\"font-size:13px;font-family:新宋体\">'</span>; c2 = <span style=\"font-size:13px;font-family:新宋体\">'</span>9<span style=\"font-size:13px;font-family:新宋体\">' </span>- <span style=\"font-size:13px;font-family:新宋体\">'</span>0<span style=\"font-size:13px;font-family:新宋体\">'</span>;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%c %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, cl, c2);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span style=\"font-size:15px\">H </span><span style=\"font-size:13px;font-family:新宋体\">'</span><span style=\"font-size:15px\">9</span><span style=\"font-size:13px;font-family:新宋体\">'</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">H 9</p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size:15px\">F </span><span style=\"font-size:13px;font-family:新宋体\">'</span><span style=\"font-size:15px\">9</span><span style=\"font-size:13px;font-family:新宋体\">'</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">表达式不合法输出无定值</span></p>"
}
],
"Version": "2359afd2bc8d4ca48afd7003eef00e84",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119471,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119471
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int x = 35, b; char z = <span style=\"font-size:13px;font-family: 新宋体\">'</span>B<span style=\"font-size:13px;font-family:新宋体\">'</span>;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">b = ((x) && (z < <span style=\"font-size:13px;font-family:新宋体\">'</span>b<span style=\"font-size:13px;font-family:新宋体\">'))</span>;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, b);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>1</p>"
},
{
"key": "B",
"value": "<p>0</p>"
},
{
"key": "C",
"value": "<p>35</p>"
},
{
"key": "D",
"value": "<p>66</p>"
}
],
"Version": "1922720b74f24e0b9734aeb2367ff087",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119474,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119474
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有定义语句 char a = <span style=\"font-size:13px;font-family:新宋体\">'</span>\\82<span style=\"font-size:13px;font-family: 新宋体\">'</span>; 则变量a( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">说明不合法</p>"
},
{
"key": "B",
"value": "<p><span style=\"font-size:15px\">包含1个字符</span></p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size:15px\">包含2个字符</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">包含3个字符</span></p>"
}
],
"Version": "bd1b81d923774bdfb7571a4944fb9838",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119531,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119531
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">若有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">char c1 = <span style=\"font-size:13px;font-family:新宋体\">'</span>A<span style=\"font-size:13px;font-family:新宋体\">', </span>c2 = <span style=\"font-size:13px;font-family:新宋体\">'</span>Y<span style=\"font-size:13px;font-family:新宋体\">'</span>;</p><p style=\"text-indent: 29px;line-height: 24px\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, c1, c2);</p><p style=\"text-indent: 29px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">程序的输出结果是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span style=\"font-size:15px\">输出格式不合法,输出错误信息</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">65, 89</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">65, 90</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">A, Y</p>"
}
],
"Version": "5d3962ba79fc40f2b354dd2444a12916",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119547,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119547
},
{
"Body": "<p><span style=\"font-size:15px\">C语言中char类型数据占字节数为( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>1</p>"
},
{
"key": "B",
"value": "<p>2</p>"
},
{
"key": "C",
"value": "<p>3</p>"
},
{
"key": "D",
"value": "<p>4</p>"
}
],
"Version": "98e8940361ef427b9d9a87cb46b450d5",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119548,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119548
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">若有以下程序段</p><p style=\"text-indent: 0;line-height: 24px\">double x = 5.16894;</p><p style=\"text-indent: 0;line-height: 24px\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%f\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, (int)(x * 1000 + 0.5)/(double)1000);</p><p><span style=\"font-size:15px\">则程序段的输出结果是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5.170000</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5.175000</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5.169000</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5.168000</p>"
}
],
"Version": "2e722039bc954ff396457ff6156e1b83",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119551,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119551
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">sizeof(double)是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">一个整型表达式</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">一个双精度型表达式</p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size:15px\">一个不合法的表达式</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">一种函数调用</span></p>"
}
],
"Version": "c58cda85002a48f8acfceec6eb7311b2",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119561,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119561
},
{
"Body": "<p><span style=\"font-size:15px\">以下选项中不属于C语言程序运算符的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span style=\"font-size:15px\">sizeof</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><> </p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">()</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">&&</p>"
}
],
"Version": "75cc2c69558b4427bc1f4f338ab0c72e",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119613,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119613
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int sum, pad, pAd;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">sum = pad = 5;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">pAd = ++sum, pAd++, ++pad;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, pad);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>5</p>"
},
{
"key": "B",
"value": "<p>6</p>"
},
{
"key": "C",
"value": "<p>7</p>"
},
{
"key": "D",
"value": "<p>8</p>"
}
],
"Version": "296ef1d6f0bc4f7dbacac4c9ed1f0c5a",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119615,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119615
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 0, b = 0, c = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">c = (a -= ++a), (a += b, b += 4);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b, c);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0, 4, 0</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0, 4, 4</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 4, 1</p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">1, 4, 4</span></p>"
}
],
"Version": "e9c592329daf427f9a12599ce35bd501",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119619,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119619
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 0, b = 0, c = 0, d;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">c = (a += b,,b += a); /*第5行*/</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">d = c;; /*第6行*/</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">; /*第7行*/</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">;printf(<span style=\"font-size:13px;font-family:新宋体\">"%</span>d, %d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b,c); /*第8行*/</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">编译时出现错误,你认为出错的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span style=\"font-size:15px\">第5行</span></p>"
},
{
"key": "B",
"value": "<p><span style=\"font-size:15px\">第6行</span></p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size:15px\">第7行</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">第8行</span></p>"
}
],
"Version": "c6b5887d50f44143b71fa42f5bd77cbb",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119622,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119622
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">若有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">int a = 0, b = 0, c = 0;</p><p style=\"text-indent: 29px;line-height: 24px\">c = (a += ++b, b += 4);</p><p style=\"text-indent: 29px;line-height: 24px\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b, c);</p><p style=\"text-indent: 29px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">则程序的输出结果是</span><span style=\"font-size: 15px\">( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span style=\"font-size:15px\">1, 5, 1</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 5, 5</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">-1, 4, 4</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">-1, 4, -1</p>"
}
],
"Version": "62839ac457564fecb68bc70d948dff72",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119633,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119633
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int fun(int a)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int b = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">static int c = 3;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">a = (c++, b++);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return a;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 2, i, k;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<2; i++)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">k = fun(a++);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size: 13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, k);</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>4</p>"
},
{
"key": "B",
"value": "<p>0</p>"
},
{
"key": "C",
"value": "<p>1</p>"
},
{
"key": "D",
"value": "<p>2</p>"
}
],
"Version": "145f07ca932044ca86649546feaf737a",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119637,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119637
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">C语言程序中,运算对象必须是整型数的运算符是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">&&</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">/</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">%</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">*</p>"
}
],
"Version": "a85dc7260da84b63899f2dd0517ac516",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119641,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119641
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int f(int m)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">static int n = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 2;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">n++; a++;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return n+m+a;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int k;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(k=0; k<4; k++)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, <span style=\"font-size: 13px;font-family:新宋体\">"</span>, f(k));</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3, 5, 7, 9,</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">4, 7, 10, 13,</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">4, 5, 6, 7,</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">4, 6, 8, 10,</p>"
}
],
"Version": "9ea687aa35f045f794e68499e9b6f681",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119651,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119651
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:black\">有以下程序</span></p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int fun(int a, int b)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return a+b;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int x = 6, y = 7, z = 8, r;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">r = fun(fun(x, y), z--);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, r);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>21</p>"
},
{
"key": "B",
"value": "<p>15</p>"
},
{
"key": "C",
"value": "<p>20</p>"
},
{
"key": "D",
"value": "<p>31</p>"
}
],
"Version": "368c34fdf23240778500dcee3732dd5f",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119653,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119653
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 3;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">a += a -= a * a;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, a);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>0</p>"
},
{
"key": "B",
"value": "<p>9</p>"
},
{
"key": "C",
"value": "<p>3</p>"
},
{
"key": "D",
"value": "<p>-12</p>"
}
],
"Version": "136efb0c2fc2437f957360d58b1efb9d",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119660,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119660
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">a是实型变量,a = 10在C语言中是允许的,因此可以说:实型变量中可以存放整型数</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在赋值表达式中,赋值号的右边可以是变量,也可以是任意表达式</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有int a = 4, b = 9; 执行了a = b后,a的值已由原值改变为b的值,b的值变为0</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有int a = 4, b = 9; 执行了a = b; b = a; 之后,a的值为9,b的值为4</p>"
}
],
"Version": "a1f4e2f09b0e416caf0f92b9cebc0990",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119663,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119663
},
{
"library_id": 23878,
"Score": 2,
"Version": "f187d1c19f844bd8890d92e95223e22f",
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"Answer": [
"C"
],
"Type": "SingleChoice",
"max_retry": 1,
"isShowGrayArea": false,
"score": 2,
"TemplateID": 14119668,
"showFooterAddExercisePopover": false,
"TypeText": "单选题",
"answerIndex": 2,
"Remark": "",
"complexBody": "\n <span class=\"font16 color3 font-weight500 item__complex-body-wrapper__pre\">\n 46.(单选题)\n </span>\n <p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>\n ",
"review_detail": {},
"ProblemType": 1,
"difficulty": 1,
"key": 46,
"LibraryID": 23878,
"data": {},
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">由printf输出的数据都隐含左对齐</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">scanf和printf是C语言提供的输入和输出语句</p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size:15px\">赋值语句是一种执行语句,必须放在函数的可执行部分</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">由printf输出的数据的实际精度是由格式控制中的域宽和小数的域宽来完全决定的</p>"
}
],
"isEdit": true,
"unionid": "1663665305134-72859",
"remarkFold": true,
"showScore": true,
"problemIndex": 46,
"HasRemark": false,
"template_id": 14119668
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int b = 10, a = -11;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">a %= b %= 4;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1 2</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">-1 2</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">-1 -2</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1 -2</p>"
}
],
"Version": "95c4d387834945b8a936a32adc96fc21",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119672,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119672
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = -11, b = 10;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">a /= b /= -4;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">4 -3</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">-1 -2</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5 -2</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5 -3</p>"
}
],
"Version": "f37af0a7c70d46d7b4580d0646d08fe6",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119674,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119674
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在scanf函数中的格式控制字符串是为了输入数据用的,不会输出到屏幕上</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在使用scanf函数输人整数或实数时,输入数据之间只能用空格来分隔</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在printf函数中,各个输出项只能是变量</p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">使用printf函数无法输出百分号%</span></p>"
}
],
"Version": "b41aa13a50b049ee939d3d9c0993bc0e",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119677,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119677
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在scanf函数的格式串中,必须有与输入项 一一对应的格式转换说明符</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">只能在printf函数中指定输入数据的宽度,而不能在scanf函数中指定输入数据占的宽度</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">scanf函数中的字符串,是提示程序员的,输入数据时不必管它</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">复合语句也被称为语句块,它至少要包含两条语句</p>"
}
],
"Version": "a4079783dc714b33a06008c9161c43b1",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119683,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119683
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 2, c = 5;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>a = %%d, b = %%d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, c);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">a = 2, b = 5</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">a = %2, b = %5</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">a = %d, b = %d</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">a = %%d, b = %%d</p>"
}
],
"Version": "78505d71b7474fab8f241498272adefd",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119688,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119688
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int x = 1, y =0, a =0, b =0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">switch(x)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">case 1: switch(y)</p><p style=\"text-indent:85px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:85px;line-height:24px;background: transparent\">case 0: a++; break;</p><p style=\"text-indent:85px;line-height:24px;background: transparent\">case 1: b++; break;</p><p style=\"text-indent:85px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">case 2: a++; b++; break;</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>a = %d, b = %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">a = 1, b = 0</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">a = 1, b = 1</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">a = 2, b = 1</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">a = 2, b = 2</p>"
}
],
"Version": "15b8242758704c2dbcff92b20e6d6087",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119698,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119698
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int k, j, s;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(k=2; k<6; k++, k++)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">s = 1;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">for(j=k; j<6; j++) s += j;</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, s);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>6</p>"
},
{
"key": "B",
"value": "<p>10</p>"
},
{
"key": "C",
"value": "<p>24</p>"
},
{
"key": "D",
"value": "<p>40</p>"
}
],
"Version": "b534dd36a7de4b87b0c621893d15c701",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119951,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119951
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有定义</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int a;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">float b;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">double c;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行时输入:</p><p style=\"text-indent:0;line-height:24px;background:transparent\">3 4 5<回车></p><p style=\"text-indent:0;line-height:24px;background:transparent\">能把值3输入给变量a、4输入给变量b、5输入给变量c的语句是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">scanf(<span style=\"font-size: 13px;font-family:新宋体\">"</span>%d%f%lf<span style=\"font-size:13px;font-family:新宋体\">"</span>, &a, &b, &c);</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">scanf(<span style=\"font-size: 13px;font-family:新宋体\">"</span>%d%lf%lf<span style=\"font-size:13px;font-family:新宋体\">"</span>, &a, &b, &c);</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">scanf(<span style=\"font-size: 13px;font-family:新宋体\">"</span>%d%f%f<span style=\"font-size:13px;font-family:新宋体\">"</span>, &a, &b, &c);</p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">scanf(</span><span style=\"font-size:13px;font-family:新宋体\">"</span><span style=\"font-size:15px\">%lf%lf%lf</span><span style=\"font-size:13px;font-family:新宋体\">"</span><span style=\"font-size:15px\">, &a, &b, &c);</span></p>"
}
],
"Version": "fb5ecb6f32c94777be614e4caaa198ed",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14119962,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14119962
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有定义和语句:</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int a, b;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">scanf(<span style=\"font-size: 13px;font-family:新宋体\">"</span>%d,%d,<span style=\"font-size:13px;font-family:新宋体\">"</span>, &a, &b);</p><p style=\"text-indent:0;line-height:24px;background:transparent\">以下选项中的输入数据,不能把值3赋给变量a,5赋值给变量b的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3,5,4</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3,5</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3,5,</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3 ,5</p>"
}
],
"Version": "bbc67a0f97c94981bf9718e342b424a5",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120009,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120009
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">设有定义:</p><p style=\"text-indent:0;line-height:24px;background:transparent\">double a, b, c;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">若要求通过输入分别给a、b、c输人1、2、3,输入形式如下(注:此处□代表一个空格)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">□□1.0□□2.0□□3.0<回车></p><p style=\"text-indent:0;line-height:24px;background:transparent\">则能进行正确输入的语句是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">scanf(<span style=\"font-size: 13px;font-family:新宋体\">"</span>%lf%lf%lf<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b, c);</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">scanf(<span style=\"font-size: 13px;font-family:新宋体\">"</span>%lf%lf%lf<span style=\"font-size:13px;font-family:新宋体\">"</span>, &a, &b, &c);</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">scanf(<span style=\"font-size: 13px;font-family:新宋体\">"</span>%f%f%f<span style=\"font-size:13px;font-family:新宋体\">"</span>, &a, &b, &c);</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">scanf(<span style=\"font-size: 13px;font-family:新宋体\">"</span>%5.1lf%5.1lf%5.1lf<span style=\"font-size:13px;font-family:新宋体\">"</span>, &a, &b, &c);</p>"
}
],
"Version": "52010b9f936848d6ab6ed858aade533c",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120019,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120019
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在C语言中,逻辑真值和假值分别对应1和0</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">关系运算符两边的运算对象可以是C语言中任意合法的表达式</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">对于浮点变量x和y,表达式:x == y是非法的,会出编译错误</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">分支结构是根据算术表达式的结果来判断流程走向的</p>"
}
],
"Version": "58fcf0baf1ae4e84ac69cf1c20ffecc1",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120064,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120064
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">下列关系表达式中,结果为“假”的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3 <= 4</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">(3 < 4) == 1</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">(3 + 4) > 6</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">(3 != 4) > 2</p>"
}
],
"Version": "3dfd93c803df4373905e118aadeeec5f",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120135,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120135
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若变量已正确定义,以下选项中非法的表达式是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">a != 4 || <span style=\"font-size:13px;font-family:新宋体\">'</span>b<span style=\"font-size:13px;font-family:新宋体\">'</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'</span>a<span style=\"font-size:13px;font-family:新宋体\">' </span>= 1/2 * (x = y = 20, x * 3)</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'</span>a<span style=\"font-size:13px;font-family:新宋体\">'</span> % 4</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\"font-size:13px;font-family:新宋体\">'</span>A<span style=\"font-size:13px;font-family:新宋体\">'</span> + 32</p>"
}
],
"Version": "d815f257180f48ff8e4cdf4c9f193ee8",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120149,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120149
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">与数学表达式x≥y≥z对应的C语言表达式是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">(x >= y) || (y >=x)</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">x >= y >= z</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">(x >= y)! (y >= z)</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">(x >= y) && (y >= z)</p>"
}
],
"Version": "721066d8a9594511a37c8958d84a4ee4",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120153,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120153
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span style=\"font-size:15px\">逻辑“或”(即运算符||)的运算级别比算术运算要高</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">C语言的关系表达式:0 < x < 10完全等价于:(0 < x) && (x < 10)</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">逻辑“非”(即运算符!)的运算级别是最低的</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">由&&构成的逻辑表达式与由||构成的逻辑表达式都有”短路”现象</p>"
}
],
"Version": "27897d51199b4894b612e9b93cd48e87",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120451,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120451
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 1, b = 2, c = 3, d = 4;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if((a = 2) || (b = 1)) c = 2;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if((c == 3) && (d = -1)) a = 5;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d, %d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b, c, d);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">2, 2, 2, 4</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">2, 1, 2, -1</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5, 1, 2, -1</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 2, 3, 4</p>"
}
],
"Version": "83b73a4fe4c54e379584320b592784ec",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120469,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120469
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 1, b = 2, c = 3, d = 4, r = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if(a != 1); else r = 1;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if(b == 2) r += 2;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">else; if(c != 3) r += 3;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">else; if(d == 4) r += 4;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, r);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>10</p>"
},
{
"key": "B",
"value": "<p>7</p>"
},
{
"key": "C",
"value": "<p>6</p>"
},
{
"key": "D",
"value": "<p>3</p>"
}
],
"Version": "4a4899ee48764cb8bb799d7cb6bb9108",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120471,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120471
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">若有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">int a = 1, b = 2, c = 3, d = 4, r = 0;</p><p style=\"text-indent: 29px;line-height: 24px\">if(a != 1); else r = 1;</p><p style=\"text-indent: 29px;line-height: 24px\">if(b == 2) r += 2;</p><p style=\"text-indent: 29px;line-height: 24px\">if(c != 3); r += 3;</p><p style=\"text-indent: 29px;line-height: 24px\">if(d == 4) r += 4;</p><p style=\"text-indent: 29px;line-height: 24px\">printf(<span style=\"font-size: 13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, r);</p><p style=\"text-indent: 27px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">则程序的输出结果是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>3</p>"
},
{
"key": "B",
"value": "<p>7</p>"
},
{
"key": "C",
"value": "<p>6</p>"
},
{
"key": "D",
"value": "<p>10</p>"
}
],
"Version": "41e745fba8bc4fad85d041e52e384075",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122180,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122180
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">对于逻辑表达式:a++ || b++ 设a的值为1, 则求解表达式的值后,b的值会发生改变</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">对于逻辑表达式:a++ && b++ 设a的值为0, 则求解表达式的值后,b的值会发生改变</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">else不是一条独立的语句,它只是if语句的一部分</p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">关系运算符的结果有三种:0,1,-1</span></p>"
}
],
"Version": "9b873d92ad1346509123db5bb0571770",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120515,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120515
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">if语句只能嵌套一层</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">if子句和else子句中可以是任意的合法的C语句</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">不能在else子句中再嵌套if语句</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">改变if<span style=\"font-family:等线\">…</span>else语句的缩进格式,会改变程序的执行流程</p>"
}
],
"Version": "54d9b25a02d54a3ea403be267cb48071",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120805,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120805
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">double x = 2.0, y;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if(x < 0.0) y = 0.0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">else if((x < 5.0) && (!x)) y = 1.0 / (x + 2.0);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">else if(x < 10.0) y = 1.0 / x;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">else y = 10.0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%f\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, y);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0.000000</p>"
},
{
"key": "B",
"value": "<p><span style=\"font-size:15px\">0.250000</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0.500000</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1.000000</p>"
}
],
"Version": "781aa573efd6436aa3e51d293a1836a0",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120811,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120811
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">char a = <span style=\"font-size:13px;font-family:新宋体\">'</span>H<span style=\"font-size:13px;font-family:新宋体\">'</span>;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">a = (a >= <span style=\"font-size:13px;font-family:新宋体\">'</span>A<span style=\"font-size:13px;font-family:新宋体\">'</span> && a <= <span style=\"font-size:13px;font-family:新宋体\">'</span>Z<span style=\"font-size:13px;font-family:新宋体\">'</span>) ? (a + 32) : a;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%c\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, a);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>H</p>"
},
{
"key": "B",
"value": "<p>h</p>"
},
{
"key": "C",
"value": "<p>A</p>"
},
{
"key": "D",
"value": "<p>a</p>"
}
],
"Version": "761d25abcdbe43beae13034fe765f5f0",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120847,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120847
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int s = 0, n;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(n=0; n<4; n++)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">switch(n)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">default: s += 4;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">case 1: s += 1;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">case 2: s += 2;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">case 3: s += 3;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, s);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>6</p>"
},
{
"key": "B",
"value": "<p>18</p>"
},
{
"key": "C",
"value": "<p>10</p>"
},
{
"key": "D",
"value": "<p>24</p>"
}
],
"Version": "2771554c1cc247538eacc3a1001e3516",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120853,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120853
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int s = 0, n;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(n=0; n<4; n++)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">switch(n)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">default: s += 4;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">case 1: s += 1; break;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">case 2: s += 2; break;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">case 3: s += 3;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, s);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>10</p>"
},
{
"key": "B",
"value": "<p>11</p>"
},
{
"key": "C",
"value": "<p>13</p>"
},
{
"key": "D",
"value": "<p>15</p>"
}
],
"Version": "a464f35c03fa43fc8bfe11c00606e30d",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120854,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120854
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若以下选项中的变量a,b,y均已正确定义并赋值,则语法正确的switch语句是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">switch(a*a + b*b)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:0;line-height:24px;background:transparent\">default: break;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">case 3: y = a + b; break;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">case 2: y = a - b; break;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">switch(a + b)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:0;line-height:24px;background:transparent\">case1: case3: y = a + b; break;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">case0: case4: y = a - b; break;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent: 0;line-height: 24px\">switch(a + 9)</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 0;line-height: 24px\">case a: y = a + b;</p><p style=\"text-indent: 0;line-height: 24px\">case b: y = a - b;</p><p><span style=\"font-size:15px\">}</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">switch a * b</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:0;line-height:24px;background:transparent\">case 10: y = a + b;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">default: y = a - b;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p>"
}
],
"Version": "5d245fead0da49a099fdf183b9569e97",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120855,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120855
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">关于“while(条件表达式)循环体”,以下叙述正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">循环体的执行次数总是比条件表达式的执行次数多一次</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">条件表达式的执行次数总是比循环体的执行次数多一次</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">条件表达式的执行次数与循环体的执行次数一样</p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">条件表达式的执行次数与循环体的执行次数无关</span></p>"
}
],
"Version": "92c2251136be4c1db1eb74821ba26bd3",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120865,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120865
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = -2, b = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">while(a++) ++b;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:red\"></span></p><p style=\"text-indent:0;line-height:24px;background:transparent\">1, 2</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0, 2</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 3</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">2, 3</p>"
}
],
"Version": "6dfa6c7b2a7541d38dec5a48b6588add",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120972,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120972
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">由以下while构成的循环,循环体执行的次数是( )</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int k = 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">while(k = 1) k++;</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有语法错,不能执行</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">一次也不执行</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">执行一次</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">无限次</p>"
}
],
"Version": "87315980e5d74bc08f8336b367fcf605",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120975,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120975
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">只要适当地修改代码,就可以将do<span style=\"font-family:等线\">…</span>while与while相互转换</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">对于“for(表达式1; 表达式2; 表达式3) 循环体”,首先要计算表达式2的值,以便决定是否开始循环</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">对于“for(表达式1; 表达式2; 表达式3) 循环体”,只在个别情况下才能转换成while语句</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">如果根据算法需要使用无限循环(即通常所称的“死循环”),则只能使用while语句</p>"
}
],
"Version": "c79cf2a83340497d873d59acb78f3370",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120978,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120978
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">对于while(!E) s; 若要执行循环体s,则E的取值应为( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">E等于1</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">E不等于0</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">E不等于1</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">E等于0</p>"
}
],
"Version": "f80b8678d7514e8596301ad09daeef41",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120980,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120980
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">int fun(char *s)</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">char <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>p = s;</p><p style=\"text-indent: 29px;line-height: 24px\">while(*p != 0) p++;</p><p style=\"text-indent: 29px;line-height: 24px\">return p - s;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, fun(<span style=\"font-size:13px;font-family:新宋体\">"</span>goodbey!<span style=\"font-size:13px;font-family:新宋体\">"</span>));</p><p style=\"text-indent: 29px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">程序的输出结果是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>0</p>"
},
{
"key": "B",
"value": "<p>6</p>"
},
{
"key": "C",
"value": "<p>7</p>"
},
{
"key": "D",
"value": "<p>8</p>"
}
],
"Version": "c031fffeef25423880ae5445f273cf44",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14120983,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14120983
},
{
"library_id": 23878,
"Score": 2,
"Version": "03832bc174cc447bb3db56a05cd84758",
"Answer": [
"D"
],
"max_retry": 1,
"Type": "SingleChoice",
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = -2, b = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">while(a++ && ++b);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后输出结果是( )</p>",
"isShowGrayArea": false,
"score": 2,
"TemplateID": 14121004,
"showFooterAddExercisePopover": false,
"TypeText": "单选题",
"answerIndex": 3,
"Remark": "",
"complexBody": "\n <span class=\"font16 color3 font-weight500 item__complex-body-wrapper__pre\">\n 77.(单选题)\n </span>\n <p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = -2, b = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">while(a++ && ++b);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后输出结果是( )</p>\n ",
"review_detail": {},
"ProblemType": 1,
"difficulty": 1,
"key": 77,
"LibraryID": 23878,
"data": {},
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0, 2</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0, 3</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 3</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 2</p>"
}
],
"isEdit": true,
"unionid": "1663667802560-93228",
"remarkFold": true,
"showScore": true,
"problemIndex": 77,
"HasRemark": false,
"template_id": 14121004
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">char <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>s = <span style=\"font-size:13px;font-family:新宋体\">"</span>12134<span style=\"font-size:13px;font-family:新宋体\">"</span>;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int k = 0, a = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">while(s[k+1])</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:56px;line-height:24px;background: transparent\">k++;</p><p style=\"text-indent:56px;line-height:24px;background: transparent\">if(k % 2 == 0)</p><p style=\"text-indent:56px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:85px;line-height:24px;background: transparent\">a = a + (s[k] - <span style=\"font-size:13px;font-family:新宋体\">'</span>O<span style=\"font-size:13px;font-family:新宋体\">'</span> + 1);</p><p style=\"text-indent:85px;line-height:24px;background: transparent\">continue;</p><p style=\"text-indent:56px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:56px;line-height:24px;background: transparent\">a = a + (s[k] - <span style=\"font-size:13px;font-family:新宋体\">'</span>O<span style=\"font-size:13px;font-family:新宋体\">'</span>);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>k = %d a = %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, k, a);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">k = 5 a = 15</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">k = 4 a = -112</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">k = 6 a = 11</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">k = 3 a = 14</p>"
}
],
"Version": "5e5401a3951b45df985484b0ab99bf55",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121005,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121005
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 6, b = 0, c = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(;a;) {b += a; a -= ++c;}</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b, c);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 14, 3</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0, 14, 3</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0, 18, 3</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0, 14, 6</p>"
}
],
"Version": "61ae3405944543c0aeb046b1283f51fb",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121079,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121079
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 6, b = 0, c =0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(; a&&(b == 0);)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">b += a; a -= c++;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">", </span>a, b, c);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5, 6, 0</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">6, 0, 0</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">6, 6, 1</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5, 6, 1</p>"
}
],
"Version": "d6e5d1b0745140f39050cc1f471b2322",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121139,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121139
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i, sum;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=1; i<6; i++) sum += i;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, sum);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">随机值</p>"
},
{
"key": "B",
"value": "<p>0</p>"
},
{
"key": "C",
"value": "<p>15</p>"
},
{
"key": "D",
"value": "<p>16</p>"
}
],
"Version": "3756ab135cc7451ab5cb8a8e40dbc0a8",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121140,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121140
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若变量已正确定义</p><p style=\"text-indent:0;line-height:24px;background:transparent\">for(x=0, y=0; (y!=99 && x<4); x++)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则以上for循环( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">执行3次</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">执行4次</p><p><br/></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">执行无限次</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">执行次数不定</p>"
}
],
"Version": "c2daf9fe57e246a4bd7a7ac52c24db5f",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121144,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121144
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int x;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(x=3; x<6; x++)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">printf((x % 2) ? (<span style=\"font-size:13px;font-family:新宋体\">"*</span>%d<span style=\"font-size: 13px;font-family:新宋体\">"</span>) : (<span style=\"font-size:13px;font-family:新宋体\">"#</span>%d<span style=\"font-size:13px;font-family:新宋体\">"</span>), x);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size: 13px;font-family:新宋体\">"\\n"</span>);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">*3#4*5</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">#3*4#5</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">*3*4#5</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">*3#4#5</p>"
}
],
"Version": "da6548cc4030475cb066983bdf97665c",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121178,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121178
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a, b;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(a=1, b=1; a<=100; a++)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">if(b >= 20) break;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">if(b % 3 == 1) {b = b + 3; continue;}</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">b = b - 5;</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, a);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>10</p>"
},
{
"key": "B",
"value": "<p>9</p>"
},
{
"key": "C",
"value": "<p>8</p>"
},
{
"key": "D",
"value": "<p>7</p>"
}
],
"Version": "b9e58224675648988e46eb67987096b8",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121184,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121184
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int f(int x);</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a, b = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(a=0; a<3; a+=1)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">b += f(a); putchar('A'+ b);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int f(int x)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return x <span style=\"font-family:'Segoe UI Symbol',sans-serif\">* </span>x + 1;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">ABE</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">BCD</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">BDI</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">BCF</p>"
}
],
"Version": "e217780297c94efbbe70a49a7f04c935",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121186,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121186
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">continue语句使得整个循环终止</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">语句不能用于提前结束for语句的本层循环</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">使用break语句可以使流程跳出switch语句体</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在for语句中,continue与break的效果是一样的,可以互换</p>"
}
],
"Version": "47995b0926fa47c2b41473d1920148f7",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121188,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121188
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">只能在循环体内和switch语句体内使用break语句</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">当break出现在循环体中的switch语句体内时,其作用是跳出该switch语句体,并中止循环体的执行</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">continue语句的作用是:在执行完本次循环体中剩余语句后,中止循环</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在while语句和do<span style=\"font-family:等线\">…</span>while语句中无法使用continue语句</p>"
}
],
"Version": "f33fe3ec17934d92b9e541957c3c1b50",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121204,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121204
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">void fun(int a[], int n)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int t, i, j;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=1; i<n; i+=2)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">for(j=i+2; j<n; j+=2)</p><p style=\"text-indent:88px;line-height:24px;background: transparent\">if(a[i] > a[j]) {t = a[i]; a[i] = a[j]; a[j] = t;}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int c[10] = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1}, i;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">fun(c, 10);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<10; i++)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, <span style=\"font-size: 13px;font-family:新宋体\">"</span>, c[i]);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 10, 3, 8, 5, 6, 7, 4, 9, 2,</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">10, 9, 8, 7, 6, 5, 4, 3, 2, 1,</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">2, 9, 4, 7, 6, 5, 8, 3, 10, 1,</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">10, 1, 8, 3, 6, 5, 4, 7, 2, 9,</p>"
}
],
"Version": "59a671ed24ce41d083a8e70aed93ce0b",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121206,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121206
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">int c[6] = {10, 20, 30, 40, 50, 60}, *p, *s;</p><p style=\"text-indent: 29px;line-height: 24px\">p = c; s = &c[5];</p><p style=\"text-indent: 29px;line-height: 24px\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, s - p);</p><p style=\"text-indent: 29px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">程序运行后的输出结果是</span><span style=\"font-size: 15px\">( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>5</p>"
},
{
"key": "B",
"value": "<p>50</p>"
},
{
"key": "C",
"value": "<p>6</p>"
},
{
"key": "D",
"value": "<p>60</p>"
}
],
"Version": "e401f84d568f4dcd8f26891eabf3974f",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121208,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121208
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a[3] = {0}, i, j, k = 2;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<k; i++)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">for(j=0; j<k; j++) a[j] = a[i];</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, a[i]);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>0</p>"
},
{
"key": "B",
"value": "<p>2</p>"
},
{
"key": "C",
"value": "<p>1</p>"
},
{
"key": "D",
"value": "<p>3</p>"
}
],
"Version": "ae618f70818d460ca9c3f0ba73ff2b70",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121211,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121211
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">int a[5] = {2, 4, 6, 8, 10}, *p, <span style=\"font-family:'Segoe UI Symbol',sans-serif\">**</span>k;</p><p style=\"text-indent: 29px;line-height: 24px\">p = a; k = &p;</p><p style=\"text-indent: 29px;line-height: 24px\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d <span style=\"font-size: 13px;font-family:新宋体\">"</span>, <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>(p++));</p><p style=\"text-indent: 29px;line-height: 24px\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, **k);</p><p style=\"text-indent: 29px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">程序运行后的输出结果是</span><span style=\"font-size: 15px\">( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent: 0;line-height: 24px\">4 6</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px;\">4 4</p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size: 15px;\">2 2</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size: 15px;\">2 4</span></p>"
}
],
"Version": "8feca47ca0ba4163baad9dcf9b476a76",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121216,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121216
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">一条语句只能定义一个数组</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">每个数组包含一组具有同一类型的变量,这些变量在内存中占有连续的存储单元</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">数组说明符的一对方括号中只能使用整型常量,而不能使用表达式</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在引用数组元素时,下标表达式可以使用浮点数</p>"
}
],
"Version": "0a1aaf04732647fa8de88a3411f0bbda",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121295,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121295
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">数组下标的下限是1</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">数组下标的下限由数组中第一个非零元素的位置决定</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">数组下标的下限由数组中第一个被赋值元素的位置决定</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">char cl, c2, *c3, c4[40]; 是合法的变量定义语句</p>"
}
],
"Version": "2bdc8dbfa6c941809a9bc6ad71ef7c32",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121393,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121393
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">语句int a[8] = {0}; 是合法的</p>"
},
{
"key": "B",
"value": "<p><span style=\"font-size:15px\">语句int a[] = {0}; 是不合法的,遗漏了数组的大小</span></p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size:15px\">语句char a[2] = {"A", "B"}; 是合法的,定义了一个包含两个字符的数组</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">语句char a[3]; a = "AB"; 是合法的,因为数组有三个字符空间的容量,可以保存两个字符</span></p>"
}
],
"Version": "b1535f016a804829b130a520e7df494c",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121410,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121410
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">int a[] = {2, 4, 6, 8}, <span style=\"font-family: 'Segoe UI Symbol',sans-serif\">*</span>p = a, i;</p><p style=\"text-indent: 29px;line-height: 24px\">for(i=0; i<4; i++)</p><p style=\"text-indent: 59px;line-height: 24px\">a[i] = <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>p++;</p><p style=\"text-indent: 27px;line-height: 24px\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, a[2]);</p><p style=\"text-indent: 27px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">程序的输出结果是</span><span style=\"font-size:15px\">( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>2</p>"
},
{
"key": "B",
"value": "<p>8</p>"
},
{
"key": "C",
"value": "<p>4</p>"
},
{
"key": "D",
"value": "<p>6</p>"
}
],
"Version": "4f701330b6e5467cac113dc89b04a1a1",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121429,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121429
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a[] = {2, 4, 6, 8, 10}, x, <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>p, y = 1;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">p = &a[1];</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(x=0; x<3; x++) y += <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*(</span>p + x);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, y);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>13</p>"
},
{
"key": "B",
"value": "<p>19</p>"
},
{
"key": "C",
"value": "<p>11</p>"
},
{
"key": "D",
"value": "<p>15</p>"
}
],
"Version": "0ccb1a5811f949988a81d977ff46fe01",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121458,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121458
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">#define N 4</p><p style=\"text-indent:0;line-height:24px;background:transparent\">void fun(int a[][N], int b[], int flag)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i, j;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<N; i++)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">b[i] = a[i][0];</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">for(j=1; j<N; j++)</p><p style=\"text-indent:88px;line-height:24px;background: transparent\">if(flag ? (b[i] > a[i][j]) : (b[i] < a[i][j]))</p><p style=\"text-indent:117px;line-height:24px;background: transparent\">b[i] = a[i][j];</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int x[N][N] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}, y[N], i;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">fun(x, y, 1);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for (i=0; i<N; i++) printf(<span style=\"font-size:13px;font-family: 新宋体\">"</span>%d, <span style=\"font-size:13px;font-family:新宋体\">"</span>, y[i]);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">fun(x, y, 0);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for (i=0; i<N; i++) printf(<span style=\"font-size:13px;font-family: 新宋体\">"</span>%d, <span style=\"font-size:13px;font-family:新宋体\">"</span>, y[i]);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 5, 9, 13, 4, 8, 12, 16,</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">4, 8, 12, 16, 1, 5, 9, 13,</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 2, 3, 4, 13, 14, 15, 16,</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">13, 14, 15, 16, 1, 2, 3, 4,</p>"
}
],
"Version": "5168791b478145fa941092d061d5a5ee",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121485,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121485
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">#define N 4</p><p style=\"text-indent:0;line-height:24px;background:transparent\">void fun(int a[][N], int b[], int flag)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i, j;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<N; i++)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">b[i] = a[0][i];</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">for(j=1; j<N; j++)</p><p style=\"text-indent:88px;line-height:24px;background: transparent\">if(flag ? (b[i] > a[j][i]) : (b[i] < a[j][i]))</p><p style=\"text-indent:117px;line-height:24px;background: transparent\">b[i] = a[j][i];</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int x[N][N] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}, y[N], i;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">fun(x, y, 1);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for (i=0; i<N; i++) printf(<span style=\"font-size:13px;font-family: 新宋体\">"</span>%d, <span style=\"font-size:13px;font-family:新宋体\">"</span>, y[i]);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">fun(x, y, 0);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for (i=0; i<N; i++) printf(<span style=\"font-size:13px;font-family: 新宋体\">"</span>%d, <span style=\"font-size:13px;font-family:新宋体\">"</span>, y[i]);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">4, 8, 12, 16, 1, 5, 9, 13,</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 2, 3, 4, 13, 14, 15, 16,</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1, 5, 9, 13, 4, 8, 12, 16,</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">13, 14, 15, 16, 1, 2, 3, 4,</p>"
}
],
"Version": "597600de524845e5a8e0f9758876ec22",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121488,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121488
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a[3][4] = {1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23}, (*p)[4] = a, i, j, k = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<3; i++)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">for(j=0; j<2; j++) k = k + *(<span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>(p + i) + j);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, k);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>108</p>"
},
{
"key": "B",
"value": "<p>68</p>"
},
{
"key": "C",
"value": "<p>99</p>"
},
{
"key": "D",
"value": "<p>60</p>"
}
],
"Version": "cbcd44e7be714c27a674978e734ec28c",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121490,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121490
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int aa[3][3] = {{2}, {4}, {6}}, i, *p = &aa[0][0];</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<2; i++)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">if(i == 0) aa[i][i+1] = *p + 1;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">else ++p;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d <span style=\"font-size: 13px;font-family:新宋体\">"</span>, *p);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span style=\"font-size:15px\">2 6</span></p>"
},
{
"key": "B",
"value": "<p><span style=\"font-size:15px\">2 3</span></p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size:15px\">4 3</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">4 6</span></p>"
}
],
"Version": "f6f1b01eb9a84c7ca694e82e03dcce90",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121495,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121495
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">语句int a[4][3] = {{1, 2}, {4, 5}}; 是错误的初始化形式</p>"
},
{
"key": "B",
"value": "<p><span style=\"font-size:15px\">语句int a[4][3] = {1, 2, 4, 5}; 是错误的初始化形式</span></p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size:15px\">语句int a[][3] = {1, 2, 4, 5}; 是错误的初始化形式</span></p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在逻辑上,可以把二维数组看成是一个具有行和列的表格或矩阵</p>"
}
],
"Version": "1dc68719266a428d89eac518b57661df",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121498,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121498
},
{
"library_id": 23878,
"problemIndex": 102,
"Version": "79ece773764647258c85cdfc04fc9710",
"Answer": [
"B"
],
"max_retry": 1,
"Type": "SingleChoice",
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i, x[3][3] = {1, 2, 3, 4, 5, 6, 7, 8, 9};</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<3; i++)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d <span style=\"font-size: 13px;font-family:新宋体\">"</span>, x[i][2-i]);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序的输出结果是( )</p>",
"score": 2,
"TemplateID": 14121503,
"TypeText": "单选题",
"answerIndex": 1,
"Remark": "",
"review_detail": {},
"ProblemType": 1,
"key": 102,
"LibraryID": 23878,
"data": {},
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1 5 0</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3 5 7</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1 4 7</p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">3 6 9</span></p>"
}
],
"isEdit": true,
"unionid": "1663668808017-31496",
"Score": 2,
"HasRemark": false,
"template_id": 14121503
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">设有定义</p><p style=\"text-indent: 0;line-height: 24px\">int x[2][3];</p><p><span style=\"font-size:15px\">则以下关于二维数组</span><span style=\"font-size:15px\">x</span><span style=\"font-size:15px\">的叙述错误的是</span><span style=\"font-size:15px\">( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">元素x[0]可看作是由3个整型元素组成的一维数组</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">数组x可以看作是由x[0]和x[1]两个元素组成的一维数组</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">可以用x[0] = 0;的形式为数组所有元素赋初值0</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">x[0]和x[1]是数组名,分别代表一个地址常量</p>"
}
],
"Version": "d6d4904b7a7e4618964302164b143ad0",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121874,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121874
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">char c[2][5] = {<span style=\"font-size:13px;font-family:新宋体\">"</span>6938<span style=\"font-size: 13px;font-family:新宋体\">"</span>, <span style=\"font-size:13px;font-family:新宋体\">"</span>8254<span style=\"font-size:13px;font-family:新宋体\">"</span>}, *p[2];</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i, j, s = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<2; i++)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">p[i] =c[i];</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<2; i++)</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">for(j=0; p[i][j]>0; j+=2) s = 10 * s + p[i][j] - <span style=\"font-size:13px;font-family:新宋体\">'</span>0<span style=\"font-size:13px;font-family:新宋体\">'</span>;</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, s);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">9284</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">9824</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">6982</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">6385</p>"
}
],
"Version": "f5038b8f467b44df846cb19fa12d986b",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121878,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121878
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">函数名允许用数字开头</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">函数调用吋,不必区分函数名称的大小写</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">调用函数时,函数名必须与被调用的函数名完全一致</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在函数体中只能出现一次return语句</p>"
}
],
"Version": "4a27497825434e50bafbb40ff0d57cf5",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121879,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121879
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">void sp(int <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>a)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int b = 2;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">*a = *a * 2; printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, <span style=\"font-size:13px;font-family:新宋体\">"</span>, *a);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">a = &b; *a = *a * 2; printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d,<span style=\"font-size:13px;font-family:新宋体\"> "</span>, *a);</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int k = 3;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">sp(&k); printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, k);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">6, 12, 12</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">6, 4, 3</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">6, 4, 6</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">9, 4, 9</p>"
}
],
"Version": "7791cdf2a77c47c3833d4d828402e450",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121881,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121881
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int *f(int <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>s, int *t)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int k;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if(*s < *t) {k = *s; *s = *t; *t = k;}</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return s;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i = 3, j = 5, *p = &i, *q = &j, * r;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">r = f(p, q);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d, %d, %d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, i, j, *p, *q, *r);</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5, 3, 3, 5, 5</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3, 5, 5, 3, 5</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3, 5, 3, 5, 5</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">5, 3, 5, 3, 5</p>"
}
],
"Version": "dda24fe09f1d411fa8a48803ab9c64a0",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121882,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121882
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int funa(int a, int b) { return a + b; }</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int funb(int a, int b) { return a - b; }</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int sss(int(*t)(), int x, int y) { return ((*t)(x, y)); }</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int x;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">x = sss(funa, 9, 3); x += sss(funb, 8, 3);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, x);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>24</p>"
},
{
"key": "B",
"value": "<p>23</p>"
},
{
"key": "C",
"value": "<p>17</p>"
},
{
"key": "D",
"value": "<p>22</p>"
}
],
"Version": "08a02bfb83924b2a8908a42922b28758",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121884,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121884
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">void fun(int a, int b, int c)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{ a = b; b = c; c = a; }</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 10, b = 20, c = 30;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">fun(a, b, c);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, c, b, a);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">10, 20, 30</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">30, 20, 10</p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size:15px\">20, 30, 10</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">0, 0, 0</span></p>"
}
],
"Version": "22b87a72379143b895773a5548004578",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121935,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121935
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">如果函数带有参数,就不能调用自己</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">所有函数均不能接受函数名作为实参传入</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">函数体中的语句不能出现对自己的调用</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">函数名代表该函数的入口地址</p>"
}
],
"Version": "e9b0fa663e5e4d77996e365846652549",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121938,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121938
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">void f(int x)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if(x >= 10)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{ printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d-<span style=\"font-size: 13px;font-family:新宋体\">"</span>, x%10); f(x/10); }</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">else</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d<span style=\"font-size: 13px;font-family:新宋体\">"</span>, x);</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int z = 123456;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">f(z);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">6-5-4-3-2-1-</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">6-5-4-3-2-1</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1-2-3-4-5-6</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">1-2-3-4-5-6-</p>"
}
],
"Version": "6a5f381e10d54016a48f20e0a6edccd8",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121941,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121941
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int f(int a[], int n)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if(n > 1)</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">int t;</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">t = f(a, n-1);</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">return t>a[n-1] ? t : a[n-1];</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">else</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">return a[0];</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a[] = {8, 2, 9, 1, 3, 6, 4, 7, 5};</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, f(a, 9));</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>9</p>"
},
{
"key": "B",
"value": "<p>1</p>"
},
{
"key": "C",
"value": "<p>8</p>"
},
{
"key": "D",
"value": "<p>5</p>"
}
],
"Version": "f2dd3ce3021d4e3c9e7140bc37d7d87e",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121942,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121942
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int fun(int x)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int p;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if(x == 0 || x == 1) return 3;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">p = x - fun(x - 2);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return p;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n", fun(9));</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>4</p>"
},
{
"key": "B",
"value": "<p>5</p>"
},
{
"key": "C",
"value": "<p>9</p>"
},
{
"key": "D",
"value": "<p>7</p>"
}
],
"Version": "3d470ebf6bd64dd2aee26b86fa21c5eb",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121945,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121945
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">void fun(int n, int *s)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int f;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if(n == 1) *s = n + 1;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">else</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">{</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">fun(n - 1, &f);</p><p style=\"text-indent:59px;line-height:24px;background: transparent\">*s = f;</p><p style=\"text-indent:27px;line-height:24px;background: transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int x = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">fun(4, &x);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n", x);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>3</p>"
},
{
"key": "B",
"value": "<p>1</p>"
},
{
"key": "C",
"value": "<p>2</p>"
},
{
"key": "D",
"value": "<p>4</p>"
}
],
"Version": "e68421bb32ed4e858aeacc95f95bc1ca",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121946,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121946
},
{
"library_id": 23878,
"problemIndex": 115,
"Version": "c6e237db4af942a99d7810c9bb12ec0a",
"Answer": [
"B"
],
"max_retry": 1,
"Type": "SingleChoice",
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"score": 2,
"TemplateID": 14121948,
"TypeText": "单选题",
"answerIndex": 1,
"Remark": "",
"review_detail": {},
"ProblemType": 1,
"key": 115,
"LibraryID": 23878,
"data": {},
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">任何情况下都不能用函数名作为实参</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\"><span style=\";color:red\"></span></p><p style=\"text-indent:0;line-height:24px;background:transparent\">函数既可以直接调用自己,也可以间接调用自己</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">函数的递归调用不需要额外开销,所以效率很高</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">简单递归不需要明确的结束递归的条件</p>"
}
],
"isEdit": true,
"unionid": "1663669234128-52196",
"Score": 2,
"HasRemark": false,
"template_id": 14121948
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int fun(int n)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if(n == 1) return 1;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">a = n + fun(n - 1);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return a;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n", fun(5));</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>9</p>"
},
{
"key": "B",
"value": "<p>14</p>"
},
{
"key": "C",
"value": "<p>10</p>"
},
{
"key": "D",
"value": "<p>15</p>"
}
],
"Version": "5df5e022f7c0440cbb8841d3bd0f6074",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121949,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121949
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">如果p是指针变量,则&p是不合法的表达式</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">如果p是指针变量,则*p表示变量p的地址值</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">在对指针进行加、减算术运算时,数字1表示1个存储单元的长度</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">如果p是指针变量,则*p + 1和*(p + 1)的效果是一样的</p>"
}
],
"Version": "f56a784986574a72860d03a67c4a4ef2",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121952,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121952
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">基类型不同的指针变量可以相互混用</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">函数的类型不能是指针类型</p>"
},
{
"key": "C",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">函数的形参类型不能是指针类型</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">设有指针变量为double *p,则p + 1将指针p移动8个字节</p>"
}
],
"Version": "b24ef63c73a2492186a4525288ae9cc3",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121955,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121955
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">如果定义</p><p style=\"text-indent: 0;line-height: 24px\">float a[10], x;</p><p><span style=\"font-size:15px\">则以下叙述中正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">语句a = &x; 是非法的</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">表达式a + 1是非法的</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">三个表达式a[l]、*(a + l)、*&a[l]表示的意思完全不同</p>"
},
{
"key": "D",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">表达式*&a[l]是非法的,应该写成*(&(a[1]))</p>"
}
],
"Version": "44459892e355432887b0c97709973cae",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121958,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121958
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">int *p1; int **p2; int ***p3; 都是合法的定义指针变量的语句</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">指针变量只能通过求地址运算符(&)来获得地址值</p>"
},
{
"key": "C",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">语句p = NULL; 与p = \\0; 是等价的语句</p>"
},
{
"key": "D",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">语句p = NULL; 执行后,指针p指向地址为0的存储单元</p>"
}
],
"Version": "69b1c436929e48e68ff2c1a7e657704d",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121959,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121959
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下叙述中正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">即使不进行强制类型转换,在进行指针赋值运算时,指针变量的基类型也可以不同</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">如果企图通过一个空指针来访问一个存储单元,将会得到一个出错信息</p>"
},
{
"key": "C",
"value": "<p style=\"white-space: normal; line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">设变量p是一个指针变量,则语句p = 0; 是非法的,应该使用p = NULL;</p>"
},
{
"key": "D",
"value": "<p style=\"white-space: normal; line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">指针变量之间不能用关系运算符进行比较</p>"
}
],
"Version": "309fe870d0a443ff997fe65f3bb7d085",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121962,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121962
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int *f(int <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>s, int <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>t)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>k;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">if(*s < *t) { k = s; s = t; t = k; }</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return s;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i = 3, j = 5, *p = &i, <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>q = &j, *r;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">r = f(p, q); printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d, %d, %d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, i, j, *p, <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>q, *r);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3, 5, 5, 3, 5</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3, 5, 3, 5, 5</p>"
},
{
"key": "C",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">5, 3, 5, 3, 5</p>"
},
{
"key": "D",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">5, 3, 3, 5, 5</p>"
}
],
"Version": "433317bf98444e8aa46866ab0666cf26",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121995,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121995
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">设有定义:</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int x = 0, <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>p;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">紧接着的赋值语句正确的是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">*p = NULL;</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">p = NULL;</p>"
},
{
"key": "C",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">p = x;</p>"
},
{
"key": "D",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">*p = x;</p>"
}
],
"Version": "53fbaef7377a40c9924b405bddcf14e7",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14121998,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14121998
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">设p是指针变量,语句p = NULL; 等价于( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">p = <span style=\"font-size:13px;font-family:新宋体\">'</span>0<span style=\"font-size:13px;font-family:新宋体\">';</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">p = <span style=\"font-size:13px;font-family:新宋体\">'';</span></p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">p = <span style=\"font-size:13px;font-family:新宋体\">"";</span></p>"
},
{
"key": "D",
"value": "<p>p = 0<span style=\"font-size: 13px; font-family: 新宋体;\">;</span></p>"
}
],
"Version": "0214a7f592bb4bdd8d28461757b567d7",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122001,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122001
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a[] = {10, 20, 30, 40}, *p = a, i;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0; i<=3; i++) { a[i] = *p; p++;}</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">",</span> a[2]);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>10</p>"
},
{
"key": "B",
"value": "<p>20</p>"
},
{
"key": "C",
"value": "<p>30</p>"
},
{
"key": "D",
"value": "<p>40</p>"
}
],
"Version": "e621ff8781784e1ea5db65b0741dbd9d",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122023,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122023
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">void sp(int *a)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int b = 2;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">a = &b; *a = *a * 2; printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, <span style=\"font-size:13px;font-family:新宋体\">"</span>, *a);</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int k = 3, *p = &k;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">sp(p);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d, %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, k, *p);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">4, 3, 3</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">4, 3, 4</p>"
},
{
"key": "C",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">6, 3, 6</p>"
},
{
"key": "D",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">6, 6, 6</p>"
}
],
"Version": "449aff077af94ccaa5211aedc17feab0",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122024,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122024
},
{
"Body": "<p><span style=\"font-size:15px\">以下选项中函数形参不是指针的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">fun(int *a) {<span style=\"font-family:等线\">…</span>}</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">fun(int a[10]) {<span style=\"font-family: 等线;\">…</span>}</p>"
},
{
"key": "C",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">fun(int &p) {<span style=\"font-family: 等线;\">…</span>}</p>"
},
{
"key": "D",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">fun(int p[]) {<span style=\"font-family: 等线;\">…</span>}</p>"
}
],
"Version": "930125d65cec4939966279459d464f8c",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122025,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122025
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int y = 1, x, a[] = {2, 4, 6, 8, 10}, *p;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">p = &a[l];</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(x=0; x<3; x++) y = y + *(p + x);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, y);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>17</p>"
},
{
"key": "B",
"value": "<p>19</p>"
},
{
"key": "C",
"value": "<p>18</p>"
},
{
"key": "D",
"value": "<p>20</p>"
}
],
"Version": "eb58b1cff2b4433fa5599f62667a7461",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122026,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122026
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下程序调用fun函数求数组中最大值所在元素的下标。</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">void fun(int *s, int n, int *k)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0, *k=i; i<n; i++)</p><p style=\"text-indent:56px;line-height:24px;background: transparent\">if(s[i] > s[*k]) ________;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a[5] = {1, 6, 2, 8, 0}, k;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">fun(a, 5, &k);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, k, a[k]);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">在横线处应填入的内容是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">*k = i</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">k = i</p>"
},
{
"key": "C",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">*k = i - s</p>"
},
{
"key": "D",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">k = i - s</p>"
}
],
"Version": "9eb045015f7348c2899b53d6f09dbf05",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122053,
"Answer": [
"A"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122053
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">void fun(char *p, int n)</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">char b[6] = <span style=\"font-size:13px;font-family:新宋体\">"</span>abcde<span style=\"font-size: 13px;font-family:新宋体\">"</span>;</p><p style=\"text-indent: 29px;line-height: 24px\">int i;</p><p style=\"text-indent: 29px;line-height: 24px\">for(i=0, p=b; i<n; i++)</p><p style=\"text-indent: 59px;line-height: 24px\">p[i] = b[i];</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">char a[6] = <span style=\"font-size:13px;font-family:新宋体\">"</span>ABCDE<span style=\"font-size: 13px;font-family:新宋体\">"</span>;</p><p style=\"text-indent: 29px;line-height: 24px\">fun(a, 5); printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%s\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, a);</p><p style=\"text-indent: 29px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">程序运行后的输出结果是</span><span style=\"font-size: 15px\">( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">abcde</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">ABCDE</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">edcba</p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">EDCBA</span></p>"
}
],
"Version": "217f77ee23a34593a49d74f4ad110e3f",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122090,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122090
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">以下fun函数返回数组中最大值的下标。</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int fun(int *s, int n)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i, k;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">for(i=0, k=i; i<n; i++)</p><p style=\"text-indent:56px;line-height:24px;background: transparent\">if(s[i] > s[k]) ________;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">return k;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">在横线处应填入的内容是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">++k</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">i = k</p>"
},
{
"key": "C",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">k++</p>"
},
{
"key": "D",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">k = i</p>"
}
],
"Version": "0e078aa4515b458b977244a2cf5b8136",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122092,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122092
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">void fun(int x, int y, int *c, int * d)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">*c = x + y; *d = x <span style=\"font-family:等线\">–</span> y;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int a = 4, b = 3, c = 0, d = 0;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">fun (a, b, &c, &d);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, c, d);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">0 0</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">4 3</p>"
},
{
"key": "C",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">3 4</p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">7 1</span></p>"
}
],
"Version": "32bb252d4a3941a2bf0161c1b705b9e8",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122094,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122094
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">void fun(int *p, int *q)</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">int t;</p><p style=\"text-indent: 29px;line-height: 24px\">t = *p; *p = *q; *q = t;</p><p style=\"text-indent: 29px;line-height: 24px\">*q = *p;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">int a = 0, b = 9;</p><p style=\"text-indent: 29px;line-height: 24px\">fun(&a, &b);</p><p style=\"text-indent: 29px;line-height: 24px\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d %d\\n<span style=\"font-size:13px;font-family:新宋体\">"</span>, a, b);</p><p style=\"text-indent: 29px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">程序的输出结果是</span><span style=\"font-size:15px\">( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">9 0</p>"
},
{
"key": "B",
"value": "<p>0 0</p>"
},
{
"key": "C",
"value": "<p>9 9</p>"
},
{
"key": "D",
"value": "<p>0 9</p>"
}
],
"Version": "41cee19a974e4567a7e0b8d5520443b9",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122105,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122105
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">struct STU</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">char name[9];</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">char sex;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int score[2];</p><p style=\"text-indent:0;line-height:24px;background:transparent\">};</p><p style=\"text-indent:0;line-height:24px;background:transparent\">void f(struct STU a[])</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">struct STU b = {<span style=\"font-size:13px;font-family:新宋体\">"</span>Zhao<span style=\"font-size: 13px;font-family:新宋体\">"</span>, 'm', 85, 90};</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">a[1] = b;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">struct STU c[2] = {{<span style=\"font-size:13px;font-family:新宋体\">"</span>Qian<span style=\"font-size:13px;font-family:新宋体\">"</span>, 'f', 95, 92}, {<span style=\"font-size:13px;font-family:新宋体\">"</span>Sun<span style=\"font-size: 13px;font-family:新宋体\">"</span>, 'm', 98, 99}};</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">f(c);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%s, %c, %d, %d,<span style=\"font-size:13px;font-family:新宋体\"> "</span>, c[0].name, c[0].sex, c[0].score[0], c[0].score[1]);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%s, %c, %d, %d,<span style=\"font-size:13px;font-family:新宋体\"> "</span>, c[1].name, c[1].sex, c[1].score[1], c[1].score[1]);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">Qian, f, 95, 92, Sun, m, 98, 99</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">Qian, f, 95, 92, Zhao, m, 85, 90</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">Zhao, m, 85, 90, Sun, m, 98, 99</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">Zhao, m, 85, 90, Qian, f, 95, 92</p>"
}
],
"Version": "99572d177df74ec7b2e1a27158940975",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122106,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122106
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">void fun(char **p)</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">int i;</p><p style=\"text-indent: 29px;line-height: 24px\">for(i=0; i<4; i++) printf(<span style=\"font-size:13px;font-family: 新宋体\">"</span>%s<span style=\"font-size:13px;font-family:新宋体\">"</span>, p[i]);</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">char *s[6] = {<span style=\"font-size:13px;font-family:新宋体\">"</span>ABCD<span style=\"font-size: 13px;font-family:新宋体\">"</span>, <span style=\"font-size:13px;font-family:新宋体\">"</span>EFGH<span style=\"font-size:13px;font-family:新宋体\">", "</span>IJKL<span style=\"font-size: 13px;font-family:新宋体\">", "</span>MNOP<span style=\"font-size:13px;font-family:新宋体\">", "</span>QRST<span style=\"font-size: 13px;font-family:新宋体\">", "</span>UVWX"};</p><p style=\"text-indent: 29px;line-height: 24px\">fun(s); printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>);</p><p style=\"text-indent: 29px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">程序运行后的输出结果是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span style=\"font-size:15px\">ABCDEFGHIJKL</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">ABCD</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">AEIM</p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">ABCDEFGHIJKLMNOP</span></p>"
}
],
"Version": "4e6685c698e34c678465aa00a50fe113",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122107,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122107
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">有以下程序</p><p style=\"text-indent: 0;line-height: 24px\">#include <stdio.h></p><p style=\"text-indent: 0;line-height: 24px\">int fun(char s[])</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">char *p = s;</p><p style=\"text-indent: 29px;line-height: 24px\">while(*p != 0) p++;</p><p style=\"text-indent: 29px;line-height: 24px\">return p - s;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p style=\"text-indent: 0;line-height: 24px\">int main()</p><p style=\"text-indent: 0;line-height: 24px\">{</p><p style=\"text-indent: 29px;line-height: 24px\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%d\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, fun(<span style=\"font-size:13px;font-family:新宋体\">"</span>OABCDEF<span style=\"font-size:13px;font-family:新宋体\">"</span>));</p><p style=\"text-indent: 29px;line-height: 24px\">return 0;</p><p style=\"text-indent: 0;line-height: 24px\">}</p><p><span style=\"font-size:15px\">程序运行后的输出结果是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p>1</p>"
},
{
"key": "B",
"value": "<p>6</p>"
},
{
"key": "C",
"value": "<p>7</p>"
},
{
"key": "D",
"value": "<p>0</p>"
}
],
"Version": "0d877a95c1f84d11989466516d141151",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122113,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122113
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <string.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">void fun(char <span style=\"font-family:'Segoe UI Symbol',sans-serif\">*</span>s)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">char a[10];</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">strcpy(a, <span style=\"font-size:13px;font-family:新宋体\">"</span>STRING<span style=\"font-size: 13px;font-family:新宋体\">"</span>);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">s = a;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">char *p = "PROGRAM";</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">fun(p);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">printf(<span style=\"font-size:13px;font-family:新宋体\">"</span>%s\\n<span style=\"font-size: 13px;font-family:新宋体\">"</span>, p);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">程序运行后的输出结果是(此处□代表空格)( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent: 0;line-height: 24px\">STRING</p>"
},
{
"key": "B",
"value": "<p style=\"line-height: 24px;\">STRING□□□□</p>"
},
{
"key": "C",
"value": "<p><span style=\"font-size: 15px;\">STRING</span><span style=\"font-size: 15px;\">□□□</span></p>"
},
{
"key": "D",
"value": "<p><span style=\"font-size:15px\">PROGRAM</span></p>"
}
],
"Version": "f3b3d01d051d4c5591b5056d558df1ce",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122116,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122116
},
{
"Body": "<p style=\"text-indent: 0;line-height: 24px\">设有某函数的说明为</p><p style=\"text-indent: 0;line-height: 24px\">int *func(int a[10], int n);</p><p><span style=\"font-size:15px\">则下列叙述中,正确的是( )</span></p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p><span style=\"font-size:15px\">形参a对应的实参只能是数组名</span></p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">说明中的a[10]写成a[]或*a效果完全一样</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">func的函数体中不能对a进行移动指针(如a++)的操作</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">只有指向10个整数内存单元的指针,才能作为实参传给a</p>"
}
],
"Version": "30b769b05bf847e8b55347906bce11fd",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122126,
"Answer": [
"B"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122126
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int k = 7;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">void f(int <span style=\"font-family:'Segoe UI Symbol',sans-serif\">**</span>s)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:30px;line-height:24px;background:transparent\">int *t = &k;</p><p style=\"text-indent:30px;line-height:24px;background:transparent\">*s = t;</p><p style=\"text-indent:30px;line-height:24px;background:transparent\">printf("%d, %d, %d, ", k, *t, **s);</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i = 3, *p = &i, **r = &p;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">f(r);</p><p style=\"text-indent:30px;line-height:24px;background:transparent\">printf("%d, %d, %d\\n", i, *p, **r);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3, 3, 3, 7, 7, 7</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">3, 7, 7, 7, 7, 7</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">7, 7, 7, 3, 3, 3</p>"
},
{
"key": "D",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">7, 7, 7, 3, 7, 7</p>"
}
],
"Version": "65ae44db707a4cec995d42bcdff6cc9e",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122140,
"Answer": [
"D"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122140
},
{
"Body": "<p style=\"text-indent:0;line-height:24px;background:transparent\">若有以下程序</p><p style=\"text-indent:0;line-height:24px;background:transparent\">#include <stdio.h></p><p style=\"text-indent:0;line-height:24px;background:transparent\">int k = 7, m = 5;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">void f(int <span style=\"font-family:'Segoe UI Symbol',sans-serif\">**</span>s)</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:30px;line-height:24px;background:transparent\">int *t = &k;</p><p style=\"text-indent:30px;line-height:24px;background:transparent\">s = &t; *s = &m;</p><p style=\"text-indent:30px;line-height:24px;background:transparent\">printf("%d, %d, %d, ", k, *t, **s);</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">int main()</p><p style=\"text-indent:0;line-height:24px;background:transparent\">{</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">int i = 3, *p = &i, **r = &p;</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">f(r);</p><p style=\"text-indent:30px;line-height:24px;background:transparent\">printf("%d, %d, %d\\n", i, *p, **r);</p><p style=\"text-indent:29px;line-height:24px;background: transparent\">return 0;</p><p style=\"text-indent:0;line-height:24px;background:transparent\">}</p><p style=\"text-indent:0;line-height:24px;background:transparent\">则程序的输出结果是( )</p>",
"max_retry": 1,
"Remark": "",
"Options": [
{
"key": "A",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">7, 5, 7, 3, 5, 7</p>"
},
{
"key": "B",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">7, 5, 7, 3, 3, 3</p>"
},
{
"key": "C",
"value": "<p style=\"text-indent:0;line-height:24px;background:transparent\">7, 5, 5, 3, 3, 3</p>"
},
{
"key": "D",
"value": "<p style=\"line-height: 24px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">7, 7, 5, 3, 3, 3</p>"
}
],
"Version": "7e88b64300ef42b8b6767d81644209d7",
"library_id": 23878,
"data": {},
"TypeText": "单选题",
"Score": 2,
"isEdit": false,
"ProblemType": 1,
"review_detail": {},
"score": 2,
"HasRemark": false,
"TemplateID": 14122142,
"Answer": [
"C"
],
"LibraryID": 23878,
"Type": "SingleChoice",
"template_id": 14122142
}
],
"has_problem_dict": false
},
"success": true
}