National_Instruments
200-500 · Question #103
200-500 Question #103: Real Exam Question with Answer & Explanation
Sign in or unlock 200-500 to reveal the answer and full explanation for question #103. The question stem and answer options stay visible for context.
Question
What is the output of the following script? 1 <?php 2 function fibonacci ($x1, $x2) 3 { 4 return $x1 + $x2; 5 } 7 $x1 = 0; 8 $x2 = 1; 10 for ($i = 0; $i < 10; $i++) { 11 echo fibonacci($x1, $x2) . ','; 12 } 13 ?>
Options
- A1,2,3,4,5,6,7,8,9
- B1,2,3,4,5,6,7,8,9,10,
- C1,2,3,5,8,13,21,34,55,89,
- D1,1,1,1,1,1,1,1,1,1,
Unlock 200-500 to see the answer
You've previewed enough free 200-500 questions. Unlock 200-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.