OA. free
Free
Palo Alto Networks Core Computer Science Core Computer Science Medium

Question 44 A monkey starts climbing up a tree 20ft.

Palo Alto Networks technical mcq question, verified with a worked answer. Free to practise - no sign-up.

A monkey starts climbing up a tree 20ft. tall. Each hour, it hops 3ft. and slips back 2ft. How much time would it take the monkey to reach the top?

Select any one of the following options

Choose one option.
Show answer & explanation
Answer: C. C) 18 hours

From 1/x = x/y, y = x^2. From x/y = y/8, y^2 = 8x. Substituting yields x^4 = 8x => x = 2, y = 4. Then (x + y) : y = (2 + 4) : 4 = 6 : 4 = 3 : 2.

Step-by-step Derivation:
Step 1: Given 1/x = x/y => y = x^2.
Step 2: Given x/y = y/8 => y^2 = 8x.
Step 3: Substitute y = x^2: (x^2)^2 = 8x => x^4 = 8x.
Step 4: For positive integers, divide by x: x^3 = 8 => x = 2.
Step 5: Then y = 2^2 = 4.
Step 6: Compute (x + y) : y = (2 + 4) : 4 = 6 : 4 = 3 : 2.