MCQ
M4692 · [1]
The function F(N) returns 1 when N ≤ 1 , and otherwise returns N + F(N-1) . The value returned by F(4) is passed as the argument to G(X) , which returns 2 × X . What is the value returned by G ?
Checks instantly · free · no account
Keys A–D to answer
Related in 4.6: Programming
IBMarker is not affiliated with the International Baccalaureate
Organization (IBO). All questions are original, written in the style of the IB
Diploma Programme.