上海理工大学
上海市计算机二级考试(C语言)复习资料题目解答 第一部份:基础知识
1. B 2. C 3. C 4. B 5. D 6. A 7. A 8. C 9. C 10. A 11. C 12. A 13. B 14. B 15. C 16. B 17. D 18.B 19. A 20. C 21. C 22. B 23. B 24. C 25. D 26. B 27. B 28. D 29. C 30. C 31. D 32. C 33. C 34. B 35. C 36. D 37. C 38. B 39. C 40. B 41. C 42. B 43. C 44. B 45. B 46. A 47. D 48. D 49. D 50. D 51. A 52. C
53. (Sqrt( x)+ sqrt( y))/2/( x+ y) or similar
54. The "234" is namely the string234 55. B 56.D 57.D 58. B 59. C 60.D
61.B 62. D 63.A 64.D 65.C 66.B 67.C 68. D 69. C 70.C 71.A 72.A 73.B 74.B 75.C 76. C 77.C 78.A 79.D 80.B 81.D 82.D 83.C 84.D 85.B 86.D 87.B 88.D 89.B 90.C 91.C 92.B 93.B 94.B 95. N+'0'
96. 0The x1400 moves is ex-, binary system 00010100 Bs or eight enter the 024 Qs of system
97. The first answer 65 ds or 41 hses or a the second answer 1 or not0 98. 85 99. 14 100. x=-60
第二部分 读程序,写结果
1. 0,2,4,3 2. 3.142 3. 8
4. m/10%10*100+m/100*10+m%10 5. ?uoy_era_woHHwaeyu 6. 7,3 7. 54656
8. A the = biggest number, b= is most the fraction 9. 1 10. 5,5
11. 9876543210 12. 1 3 5 7 9
13. j=0 m=4 The first k : 4
j=1 m=4 14. The second k : 5
15. Count=0, position=0( did not find out) 16. 0