Home Page

Milestone 3: Basic Code
Using Functions & Variables


You may refer to the textbook. You may not use: (1) Handphones (2) Internet (3) Discussion or Talking. Estimated test time is 30 minutes. 這個里程碑是開放的。 您不得使用:(1) 手機 (2) 網路 (3) 討論或交談。預計測試時間為 30 分鐘。

Your
Name
Your
ID
Mentor
Name
Mentor
ID
  1. Goto https://www.sdba.info
  2. Open the Milestone directory
  3. Download test (m3basicode.zip)
  4. Unzip this file into C:\SDBA
  5. Click on the icon: m_tst
  6. Enter PIN (NOT '0') and your Student ID
  7. Read the question in file q.c
  8. Prepare a UML activity diagram
  9. Code the algorithm in C
  10. Compile, Link, Run & Debug
  11. When finished, do not shut down computer (raise hand for TA to check)
Your program must meet ALL requirements below:
  1. 前往 https://www.sdba.info
  2. 開啟里程碑目錄
  3. 下載測試 (m3basicode.zip)
  4. 將此檔案解壓縮到 C:\SDBA
  5. 點選圖示:m_tst
  6. 輸入 PIN 碼(非「0」)和您的學生 ID
  7. 閱讀文件 q.c 中的問題
  8. 準備 UML 活動圖
  9. 用 C 語言寫演算法
  10. 編譯、連結、執行與除錯
  11. 完成後,請勿關閉電腦(舉手讓TA檢查)
您的計劃必須滿足以下所有要求:

⇒ Draw your UML here.

ItemERR OK? 
UML1
Compile (no warnings)2
Link3
Run4
Correct Answer5
Clean Code6
Functions PUD7
1


2


3


4


5


6


7


8