Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Here is the call tree for the function binCoeff when called from the main with t

ID: 3543246 • Letter: H

Question

Here is the call tree for the function binCoeff when called from the main with the parameters (5,1). Select the answers for the rest of the calling tree:

choices BC: (1,0), (1,1), (2,0) (2,1), (3,0) (3,1), (4,0), (4,1)

A Term 1BC(1,0)BC(1,1)BC(2,0)BC(2,1)BC(3,0)BC(3,1)BC(4,0)BC(4,1) B Term 2BC(1,0)BC(1,1)BC(2,0)BC(2,1)BC(3,0)BC(3,1)BC(4,0)BC(4,1) C Term 3BC(1,0)BC(1,1)BC(2,0)BC(2,1)BC(3,0)BC(3,1)BC(4,0)BC(4,1) D Term 4BC(1,0)BC(1,1)BC(2,0)BC(2,1)BC(3,0)BC(3,1)BC(4,0)BC(4,1) E Term 5BC(1,0)BC(1,1)BC(2,0)BC(2,1)BC(3,0)BC(3,1)BC(4,0)BC(4,1) F Term 6BC(1,0)BC(1,1)BC(2,0)BC(2,1)BC(3,0)BC(3,1)BC(4,0)BC(4,1) G Term 7BC(1,0)BC(1,1)BC(2,0)BC(2,1)BC(3,0)BC(3,1)BC(4,0)BC(4,1) H Term 8BC(1,0)BC(1,1)BC(2,0)BC(2,1)BC(3,0)BC(3,1)BC(4,0)BC(4,1) Here is the call tree for the function binCoeff when called from the main with the parameters (5,1). Select the answers for the rest of the calling tree:

Explanation / Answer

A = BC(4, 1)

B = BC(3, 1)

C = BC(2, 1)

D = BC(1, 1)

E = BC(1, 1)

F = BC(1, 1)

G = BC(1, 1)

H = BC(1, 1)