期中2012-final-answer(无答案版).docx

北京大学信息科学技术学院 计算机系统导论 期中考试 2012 PAGE12 / NUMPAGES12 计算机系统导论期中考试 2012年11月7日 姓名: 学号: 成绩: Problem A -- Multiple Choice (18 pts, 1pt or 2pts each) Let int x = ?31/8 and int y = ?31 3. What are the values of x and y? x = ?3, y = ?3 x = ?4, y = ?4 x = ?3, y = ?4 x = ?4, y = ?3 For which values can X not be equal to Z in the code below (circle all that apply) int X = CONSTANT; float Y = X; int Z = Y; For large positive values of CONSTANT (e.g.,1,000,000,000) For large negative values of CONSTANT (e.g.,-100) For small positive values of CONSTANT (e.g.,100) For small negative values of CONST

文档评论(0)

1亿VIP精品文档

相关文档