AD01 Exam QuestionsBrowse all questions from this exam

AD01 Exam - Question 81


Examine the following Process flow, which calculates the total number of orders:

The ‘Orders’ Collection contains the following data:

The ‘Loop Orders’ loop is configured to loop through the ‘Orders’ Collection.

The ‘Total Orders’ data item is configured as a number data item with an initial value of 0.

The ‘Get Total Orders’ Calculation stage contains the following expression:

What will the Total Orders data item value be after the page has executed?

Show Answer
Correct Answer: D

The 'Loop Orders' process flow is designed to iterate through the 'Orders' collection. During each iteration, it will add the 'Quantity' value of the current order to the 'Total Orders' data item. Starting with an initial value of 0, the process will sum the quantities of all the orders. The quantities are 10, 15, 2, 6, and 11. Adding these together, 10 + 15 + 2 + 6 + 11 equals 44. Thus, the 'Total Orders' data item value will be 44 after the page has executed.

Discussion

2 comments
Sign in to comment
BlueprismUser199212345Option: D
Mar 1, 2023

D as it is simple addition. Nothing wrong with the way it has been setup

LH1213Option: D
Mar 29, 2023

D is the answer