Question 51 If the odd numbered dice have even number of dots on their top faces, then what...
Palo Alto Networks technical mcq question, verified with a worked answer. Free to practise - no sign-up.
Question 51
If the odd numbered dice have even number of dots on their top faces, then what would be the total number of dots on the top faces of their dice?
Select any one of the following options
Show answer & explanation
Answer: B. B) 10
The function computes s = 1 + x + x^2/2! + x^3/3! + ... + x^(y-1)/(y-1)!, which is the Maclaurin/Taylor series expansion of e^x.
Step-by-step Derivation:
Step 1: Initialize s = 1, p = 1.
Step 2: For i = 1 to y-1, p *= x/i => p = x^i / i!.
Step 3: s accumulates each term: s = 1 + sum_{i=1}^{y-1} x^i / i!.
Step 4: As y -> infinity, this series converges to e^x.