AD01 Exam QuestionsBrowse all questions from this exam

AD01 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?

Show Answer
Correct Answer: CD

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

1 comment
Sign in to comment
AscarOption: D
Jun 29, 2021

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.