Exam AD01 All QuestionsBrowse all questions from this exam
Question 60

The Saved Quantity Data Item is configured as a number with the initial value 0.

The Loop Orders stage is configured to loop through the Orders collection.

The Get Quantity stage is configured as follows:

What will the data item Saved Quantity contain after the execution of the page?

    Correct Answer: D

    The Saved Quantity data item will be updated with the value from the 'Quantity' field of the last row in the 'Orders' collection after the loop completes. As the loop iterates through each order, it assigns the 'Quantity' value to the Saved Quantity data item. After the loop finishes, the data item contains the value from the last row of the collection, which is 10.

Discussion
AscarOption: D

D is correct - the image with collection date is missed in question. According to calculation included in question, Quantity from last row of colection, which is 10, will be stored in data item.