試卷名稱:110年 - 110 國立中央大學_碩士班招生考試_資工類:資料結構與演算法#105890
年份:110年
科目:研究所、轉學考(插大)◆資料結構與演算法
4. Which of the following statements are true?
(A) In general, a recursive version is less efficient in terms of time and space than a non-recursive
version.
(B) The function F1 below is executable (i.e., terminable) for all positive integer x.

(C) When input data are 21 and 12, the output of function F2 is 4, i.e., F2(21, 12)-4.
Int F2(int x, int y)
(D)When input data is 5, the output of function F3 is 5, ie, F3(S) -5.