考點分析 / 中正 / 軟體

中正資工所考古題詳解軟體十年大統整(106–115)

各章配分

表中數字是各題的卷面配分,依主題加總。有子題的照子題分,沒有子題的整題算在主要考點,敘述判斷題算在多數選項所屬的主題。Programming 與資料結構演算法分開列,各自依十年合計排序,顏色越深,占當年總分的比例越高。C/C++ 那一半全部算在 Programming,手寫程式與除錯另成一章;106 年第 13 題排在資料結構那一段,但要用 C 寫出整支 BST 程式,也算在 Program Writing。

章/細項106107108109110111112113114115合計占比年數
Programming6550505050485050505051351%10
C / C++ Basics353437515182950252927728%10
Arrays & Strings5188512458656%8
Pointers58102101010556%7
Functions & Parameter Passing15875210475%6
I/O & Formatting8101253384%5
Expressions & Operators5226109343%6
Control Flow & Loops5357202%4
Structs & Dynamic Memory99182%2
Object-oriented Programming151665151515251212412%9
Inheritance & Polymorphism1515211525737%6
Classes & Objects14414158465%6
Templates & STL145<1%2
Program Writing & Debugging157402015910611%6
Program Writing152010159697%5
Debugging72010374%3
Other66<1%1
Data Structures & Algorithms3550505050525050505048749%10
Trees2111312391312153939%10
Tree Basics & Traversal5436733313%7
AVL Tree43395242%5
Binary Search Tree118192%2
Red-Black Tree435121%3
B-Tree / B+ Tree257<1%2
Shortest Paths & MST2117131971253798%9
All-pairs Shortest Paths4551555394%6
Single-source Shortest Paths242842103354%8
Minimum Spanning Tree325<1%2
Sorting & Searching11161139104102768%9
Sort Comparison & Lower Bound5133445343%6
Quicksort25252162%5
Heapsort2333111%4
Linear-time Sorts325<1%2
Elementary Sorts224<1%2
Selection & Binary Search224<1%2
Merge Sort & k-way Merge22<1%1
Graph Traversal21653969219717%9
Connectivity94216313%4
Representation & BFS / DFS10535232%4
Topological Sort & DAG262223172%6
Complexity Analysis122826510454%7
Recurrences122865333%5
Amortized Analysis10101%1
Asymptotic Notation22<1%1
Network Flow106555313%5
Max Flow / Min Cut10655263%4
Bipartite Matching55<1%1
Algorithm Design433945283%6
Dynamic Programming3365172%4
Greedy434111%3
Linear Structures224363202%6
Infix / Postfix24363182%5
Array & Linked List22<1%1
String Matching4533152%4
KMP / Failure Function4533152%4
Heaps3335141%4
Binary Heap3335141%4
NP-Completeness2439<1%3
P / NP & Reductions2439<1%3
Hashing2226<1%3
Collision Resolution2226<1%3

Programming 十年合計 513 分,106 年連同手寫 BST 有 65 分,111 年 48 分,其餘八年都是 50 分。資料結構演算法這邊 Trees 93 分最多、十年每年都有,接著是 Shortest Paths & MST 79 分、Sorting & Searching 76 分、Graph Traversal 71 分。

重複出題清單

題目出現年度備註
articulation point(dfn/low)110 第 3 題、111 第 16 題、115 第 17–19 題三次
KMP failure function109 第 11 題、110 第 6 題、113 第 6 題、115 第 22 題四次
由 inorder 加 postorder 重建 binary tree110 第 4 題、113 第 7 題、115 第 23 題用同一組序列:A,B,G,E,D,I,J,F,H,C / G,E,J,I,H,F,D,C,B,A
red-black tree 插入 50, 10, 80, 90, 70, 60, 65, 62109 第 10 題、112 第 9(5) 題同一組數字
AOE network 的 critical path111 第 17.1 題、115 第 21 題同一張圖
constructor 的回傳型別、this pointer112 第 6 甲、7 乙題、115 第 7、8 題115 第 7 題與 112 第 7 乙選項相同;115 第 8 題的前三個選項與 112 第 6 甲相同,但改問哪個不正確
排序演算法是否 asymptotically optimal108 第 9 題、111 第 18 題、112 第 10(a) 題、114 第 7(d) 題四次
negative-weight edge 上的 Dijkstra、reweighting107 第 12 題、110 第 5、11 題、111 第 19 題、112 第 11 題110–112 連三年,108 第 10、11 題考 Johnson
Dijkstra 頂點選取順序107 第 6(a) 題、108 第 4(a) 題、110 第 5.1 題、111 第 17.2 題、113 第 8 題、115 第 24 題六次
swap 函式106 第 6 題(C 與 C++ 各寫一次)、107 第 16 題(連呼叫的引數一起填)、109 第 6 題
運算式轉 postfix107 第 8 題、109 第 8 題111、113 考 prefix,113、115 考運算式樹
binary tree 形狀的計數109 第 9 題、112 第 9(4) 題
max flow109 第 14 題、112 第 12 題、113 第 22 題、114 第 6、10 題、115 第 13 題五個年度
2-3-4 tree 與 B-tree 的關係114 第 2 題四個敘述裡有三個與成大 112 第 6 題相同

C/C++ 考點細目

表上的 Programming 只分到章與細項,下面列出各年考過的具體語法點。

主題出現年度
const pointer、pointer to const110、112、114
virtual function、abstract class 與 dynamic binding107、108(pure virtual)、110、114
inheritance 與存取權限(含 multiple inheritance)106、107
name hiding 與 object slicing114
constructor、destructor、copy constructor106、107、108、109、110、111、112、115
this pointer112、115
reference 與 pointer106、107、108、110、112、114
pointer arithmetic 與 pointer to array106、107、108、111、112、113、115
compile error 與 undefined behavior 的判斷107、115
bitwise operation111、114、115
printf 格式指定符112、113、114
字串函式與字串操作(strcmp/strdup/strcpy/strcat/fgets)106、107、108、109、110、111、113
template111、115
operator overloading115
debugging108、109、110、115
手寫或填空程式106、107、109、110、111、113、115
名詞配對111、113、114

優先準備的五個主題

  1. C/C++ 語法與程式題。每年 48 分以上,表上 C / C++ Basics 合計 277 分最多,其中 Arrays & Strings 65 分、Pointers 55 分。OOP 部分 Inheritance & Polymorphism 73 分,106、107、110 年各 15 分,114 年 25 分。手寫與除錯六年有,109 年兩者合計 40 分。
  2. Trees。十年每年都有,AVL tree 五年、red-black tree 三年,BST 的建立與刪除在 107、108 年,由 inorder 加 postorder 重建 binary tree 考了三次。
  3. Shortest path。Dijkstra 頂點選取順序考了六次;negative-weight edge 與 reweighting 在 107、110、111、112 年都有,111 年第 19 題連 Floyd-Warshall 共 17 分,108 年考 Johnson。
  4. 排序。十年九年有(107 年沒有),問法有 stability、是否 asymptotically optimal、quicksort 逐趟追蹤、比較排序的下界。
  5. Graph traversal 與 connectivity。articulation point 的 dfn/low 在 110、111、115 年考三次,115 年另有 10 分的 biconnected component;topological sort 與 AOE critical path 合計六年有。

KMP failure function 合計 15 分,但 109、110、113、115 年考了四次;max flow 五個年度出現。

題型演變

年度C/C++ 題配分題數頁數計分規定
10665135卷面沒有特別的計分規定
10750165第 10 題是非題答錯要改正錯誤的部分,單純否定不給分
10850146第 8 題答錯每個選項倒扣 1 分,最多扣到 5 分;第 7 題答錯要改正錯誤的部分
10950144第 13 題是非題答錯要改正錯誤的部分,單純否定不給分
11050156第 10、11 題明訂只答 yes 或 no 不給分
11148206卷面沒有特別的計分規定
11250125第 5、6、7 題(21 分)複選沒有部分給分;第 11 題只答 yes 或 no 不給分
11350237第 1–9 題要寫在第一頁的選擇題作答區,否則不計分
11450155第 1、2、6–10 題為複選題,卷面沒有寫計分方式
11550258第 1–24 題(91 分)為複選題,沒有部分給分

C/C++ 題配分包含語法、程式輸出、debugging、手寫程式與名詞配對。十年之中有八年是 50 分,111 年是 48 分;106 年第 1–8 題是 50 分,再加上第 13 題用 C 手寫 BST 的 15 分,共 65 分。

給 116 年考生的準備方向

  • C/C++ 每年都有 48 分以上,106 年連同手寫 BST 是 65 分。106、107、108、109、110、111、113、115 年有手寫、填空或 debugging 題,112 年第 1 題要寫單行 C 敘述式,114 年的 C/C++ 只有程式輸出與名詞配對。
  • 複選題沒有部分給分的規定出現在 112 年(第 5、6、7 題,21 分)與 115 年(第 1–24 題,91 分)。114 年的複選題卷面沒有寫計分方式。
  • 重複題有 articulation point、KMP failure function、inorder 加 postorder 重建、Dijkstra 頂點順序、AOE critical path。
  • 115 年出現 amortized analysis(第 11 題 dynamic array、第 12 題 stack 的 potential function),106–114 年都沒有。
  • 110 第 10、11 題與 112 第 11 題明訂只答 yes 或 no 不給分,111 第 18、19 題也要寫理由。107 第 10 題、108 第 7 題、109 第 13 題的是非題答錯要改正錯誤的部分,單純否定不給分。
  • 115 年卷面的系所組別只寫「資訊工程學系」,沒有標甲組。

本頁的題型、配分、計分規則都取自各年度試卷上的標示,各章配分與重複題是逐題整理的。如果發現有誤,歡迎來信指正。

各年度考點分析

最後更新:2026-10-23

想看完整逐題詳解?

國立中正大學 106–115 全年度完整詳解共 350 頁,逐題推導。

購買 · NT$ 850 先看試閱

聯絡我們

題目有錯、詳解看不懂,都歡迎來信

想許願補哪一份、對購買有疑問也可以,收到後會盡快回覆。

william.chou.123123@gmail.com