网站大量收购闲置独家精品文档,联系QQ:2885784924

计算机课后题答案(国外英文资料).doc

  1. 1、本文档共39页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
计算机课后题答案(国外英文资料)

计算机课后题答案(国外英文资料) Problem sets 1 Choice question 1B 2D 3B 4A 5B 6C 7C 2, fill in the blanks 1.. obj 2. The function / * * * * Int a, b a, b Problem set 2 Choice question 1B. 1B. 1B 2, fill in the blanks 1. The variable Storage unit One zero (1) a = 0 (2) 0 5. 1 6. 1 7. - 30 38 8. (1) 4 (2) 7. -6177772 (bit arithmetic) 11. 9.9 12. 7 Write the running results of the following program 1. 0,0,5 2. 18 64, 512, 8 4. 5 D4, 33 (bit arithmetic) Four, programming questions (for reference) 1. # include stdio, h # define PI (3.14159) Void main () {float r, s, Scanf ( % f , r); S = PI * r * r; Printf ( r = %. 2f, s = %. 2f \ n , r, s); } 2, # include stdio, h Void main () {char c1 and c2. Scanf ( % c , c1); C2 = c1 + 32; Printf ( % c \ n , c2); } Problem set 3 A, multiple choice 1C 2C Second, fills up the topic 1. -50, 300a = -50, b = 300 A is equal to minus 50, b is equal to 300 2. 10 20 30 10, 30 A = 10, 20, b = c = 30 3. 15, 0, 0 Write the running results of the following program A = 789.654321, a = 789.65, a = 789 a = 789.654321 B = 15, b = 17, b = f C = 1, x = 0, y = 0, z = 1 4. 21 20, 20 216,180 (or 216,125) A = a, b = d, c = F 7. 9, 4, 12, 12 X = 4.500000, y = 4, x + y = 8.500000 Four, programming questions (for reference) 1. # include stdio, h Void main () { Printf ( * * * * * * * * * * * * * * * * * * * * * * * * \ n HAPPY NEW YEAR! \ n * * * * * * * * * * * * * * * * * * * * * * * * \ n ); } 2. Note: the following (1) and (2) only the red statements are different, the rest are the same. (1) # include stdio, h Void main () { Int a, b, c, Max; A is 5, b is 8, c is 10; If (a b) Max = a; The else Max = b; If (Max c) Max = c; Printf ( Max = % d \ n , Max); } (2) # include stdio, h Void main () { Int a, b, c, Max; Scanf (% d, % d, % d). If (a b) Max = a; The else Max = b; If (Max c) Max = c; Printf ( Max = % d \ n , Max); } Problem sets 4 A, multiple choice 1D 2D 3C 4a 5D 6a 7C 8C 9D 10B Second, fills up the topic 6, 5, 5 A % 3 is equal to 0, |, | a

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档