中原大學九十一學年度碩士班入學招生考試

91年 4月13日 11:00 ~ 12:30  資管系 誠實是我們珍視的美德,
我們喜愛「拒絕作弊,堅守正直」的你!
科目:計算機概論  

1. 名詞解釋(30%)
  a. Encapsulation d. Inheritance
  b. Data mining e. Mobile computing
  c. Broadband Network f. Java applet
   
2. 是非題: (25%)
a. In a real-time system, the dispatcher divides CPU time into slices for multiple programs in the memory.
b. HTTP is a protocol in the application layer of TCP/IP protocols.
c. C++ and Java can be viewed as object-oriented programming languages.
d. In a ring network, if one computer fails, then the entire network fails because the data does not get past the failed computer.
e. It is unusual that the size of a packet's wrapping exceeds the size of the message unit found within.
   
3.計算以下程序的平均等待時間 (10%)
  a.以Short-Job-First排程
b.以First-Come-First-Serve排程
Process

Burst(ms)

1
10
2
27
3
3
4
6
5
12
 
4. 請用您熟悉的程式語言寫一程式接受使用者輸入的一連串數字然後存入一陣列中。(15%)
   
5. 請畫出計算S = 1+3+5+…+99的流程圖。(10%)
 
6. 請指出並說明以下程式的執行結果: (10%)
a. float Y; b. int arr[20];
  int X;   int i;
  Y=5.54;   int *px, *py;
  X=Y;   for(i=0;i<20;i++) arr[i]=i;
  Y=X;   px=&arr[5];
      py=&(*px);
      printf("Value in py=%d.\n",*py);

     --- END---