中等ict-u07-d02

For an algorithm that accepts marks from 0 to 100 inclusive, suitable boundary test data includes:

A. 0 and 100✓ 答案
B. 50 only
C. A letter grade only
D. -5 and 50

解說

Boundary values sit at the edges of the valid range, including both endpoints because the range is inclusive. Boundary and abnormal data catch errors that ordinary test data misses.

「演算法與偽代碼」全部 20 題 · 資訊及通訊科技 MCQ 題庫