111 年 - 111 身心障礙特種考試_四等_電子工程:計算機概要#107527-阿摩線上測驗
111 年 - 111 身心障礙特種考試_四等_電子工程:計算機概要#107527
20 從圖中的節點 a 開始進行廣度優先搜尋(Breadth first search,簡稱 BFS),
產生的廣度優先擴張樹(BFS spanning tree)可能為下列何者?
(A)
(B)
(C)
(D)
26 執行下列 C 程式後,產生的輸出為何?
(A) four one four two four
(B) four one two three four two three four
(C) one two three four two three four three four
(D) four one two three four two three four three four
31 給定以下類別定義:
若在 main()中執行以下指令,則將產生的輸出為何?
A v1;
A v2(1,2);
A v3(3);
(A)$$$***
(B):::$$$***
(C):::***
(D)$$$***