複選題
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.
答案:登入後查看
統計: A(0), B(1), C(1), D(0), E(0) #2855511
統計: A(0), B(1), C(1), D(0), E(0) #2855511