- 1、本文档共26页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
c语言试题(C language test questions)
c语言试题(C language test questions)
C language programming, fall semester, 2012
Job submission format: ask your students to write the answer separately in a.Doc document and upload it as an attachment (dont fill the questions directly in the air). Special requirements format is as follows:
One, ABCDD AAAAA
Two,
The title number is 910
The v v v v x x x x x x
Three,
(1) BeiJing
ShangHai
(2) x=8, y=7
(3) r=k:i+j=90
......
The above is just an example, not the correct output. Please write and submit the result of the work according to the above regulations. The homework that does not conform to the above regulations will be treated as 0.
Encourage independent work, and severely punish plagiarism.
Chapter 1 homework
First, the number 213, 12.75, 79.375 in sixteen hexadecimal
Answer: 0xD5, 0xC.C, 0x4f.6
Two fill in the blanks
1. in C, the decimal value of the numeric constant 0x9f is 159.
The ASCII code for the 2. letter A is the decimal number 97.
Answer:
Two,
1) 159
2) 97
The third chapter homework
First, the multiple-choice question:
1 、 in the following variable names, B is illegal.
(A) MyCar B) 4A C) my_car D) a48
2 、 in the following variable names, B is legal.
(A) 56A B) _abc C) 48b D) while
3 、 in the following constants, B is the int type constant represented by sixteen decimal.
A) 78, B) 0x7a C) X56 D) 063
4 、 assuming all variables are integers, then the value of the expression (a=2, b=5, b++, a+b) is B.
A) 7, B) 8, C) 6, D) 2
5, the known C2 is character type, then execute the statement c2= A + 6 - 3 after the C2 value of B.
A) C B) D C) uncertain value D) 70
6, a is an integer variable, B is a character type variable, C is a double type variable, and a+b+c is a (C) type
(A) int B) float C) double D) char
7, the characters that cannot be used as identifiers in the C language are (C)
A alphabet
B numbers
C%
D underline
8, let int a; then the expression a=2,4, the value of a+1 is (C)
A.1
B.2
C.3
D.4
9. let a be an integer variable, B is a character type
您可能关注的文档
- 159-《思想道德修养与法律基础》教学大纲(159- syllabus for ideological and moral cultivation and fundamentals of law).doc
- 10篇经典美文欣赏(10 classic essay appreciation).doc
- 15天!牛人申论从60分到81.5分的复习经验!(On the 15 day! Expert from 60 to 81.5 points in the review of experience!).doc
- 13春华师《幼儿园课程》在线作业(随机)(The 13 division Chunhua kindergarten curriculum online homework (random)).doc
- 15春西交《护理学导论》在线作业满分答案(15, spring West to Introduction to nursing online homework, out of the answer).doc
- 13个网页设计常用的浏览器兼容验证工具(13 web browsers, commonly used browser compatible verification tools).doc
- 16《葡萄沟》教学设计之四(16 teaching design of grape ditch four).doc
- 16性格亮点.doc
- 13种工作策略让你效率翻倍(The 13 work strategy doubles your efficiency).doc
- 170号令航空器活动区道路交通安全管理规则(170 order road traffic safety management rules for aircraft active areas).doc
文档评论(0)