試卷名稱:109年 - 109 高雄醫學大學_學士後醫學系招生考試:計算機概論與程式設計#86938
年份:109年
科目:研究所、轉學考(插大)、學士後-計算機概論
21. The following python code is applied for the four arrays d1—d4.

d1 = np.array([1, 0, 0, 1, 0, 0]); d2 = np.array([0, 1, 0, 1, 1, 0]); d3 = np.array([0, 0, 0, 0, 0, 0]);
d4 = np.array([1, 1, 0, 0, 1, 0]). Consider the following statements.
(a) func(d1, d2)[2] = 0
(b) func(d2, d4) = d3
(c) func(d1, d2) = d4
(d) func(func(d1, d4), d2) = d3
Which of the above statements is CORRECT?
(A) (a)(b)
(B) (a)(c)(d)
(C) (b)(c)(d)
(D) All of the above are correct
(E) None of the above is correct