阿摩線上測驗
登入
首頁
>
轉學考-程式語言
> 102年 - 102 淡江大學 轉學考 程式語言#53079
102年 - 102 淡江大學 轉學考 程式語言#53079
科目:
轉學考-程式語言 |
年份:
102年 |
選擇題數:
0 |
申論題數:
19
試卷資訊
所屬科目:
轉學考-程式語言
選擇題 (0)
申論題 (19)
【已刪除】1. The following statements is using the language of C, print out the result of x and (10%) int x; float y;
(a) 29 / 3
(b) 20 - 14 / 4 * 2
(c) 4 - 5 % 9
(d) 28 - 5 / 2.0
(e) 30 / (int)(6 * 1.2)
(a) z = (++x) + (y++);
(b) z = (x--) + y(--);
(c) z = 2 * (x++)
(d) z = 10 + (x++);
(e) z = 10 + (x++);
4. The follow formula converts a temperature in Fahrenheit(F) to it/wmivalent Celsius(C): C = 5/9(F-32) Write a code for this formula C. (5%)
【已刪除】5. What are the outputs of the following programs? (10%)
【已刪除】 (a)
【已刪除】(b)
(a) and
(b)? (10%)
【已刪除】8. What are the outputs of the following recursive programs? (10%)
【已刪除】9. Give the output after execution of each statement, assume the addresses of array data is 0x3200, sizeof(int) = 4.(20%)