Exam AD01 All QuestionsBrowse all questions from this exam
Question 8

Study the following process flow:

This is the Main Page of a simple process which calls the Page Calculation before completing.

The data items are configured as follows:

✑ X is a Number data item with an initial value of 20

✑ Y is a Number data item with an initial value of 5

✑ Result is a Number data item with no initial value

The Calculation page stage is configured as follows:

The Calculation Page is as follows:

The Data Items are configured as follow:

✑ X is a Number data item with an initial value of 10

✑ Y is a Number data item with an initial value of 5

✑ Result is a Number data item with no initial value

The Start Stage is configured pass through the X and Y values an input parameters

The divide calculation stage expression is [X] / [Y]

The end stage is configured to pass back the results value as an output parameter.

What will be contained in the Result Data Item on the Main Page following the execution of the Process?

    Correct Answer: D

    The Result data item on the Main Page will contain 4 following the execution of the Process. This is because the Main Page passes the values of X (20) and Y (5) to the Calculation Page. On the Calculation Page, these values are used in the divide calculation (X / Y), resulting in 20 / 5 = 4. This result is then passed back to the Main Page and stored in the Result data item.

Discussion
sstusardOption: D

D is the right answer since the X and Y values 20 and 5 were passed in page reference from the Main page and existing X and Y values on-page itself were over-written.

tdesbarresOption: D

The answer must be D because in the Calculation stage the Divide must go into a result. If you do not put a value in the Result section of the Calculation stage you get a Validation Error. So because Validation Error is not an option you have to assume that it works therefore 4 is the answer.

770_is_everywhereOption: B

the problem with this question that in 'Divide' calc not mentioned that the result will be set into the 'Result' data item - wich makes confues to choose between B to D ... if no result set so B... else result set so is D

KaleopanOption: B

Internal exception as "Divide" calculation has no value set as "Store Result In". Technically B is the correct answer as the Item will remain without value and the question does not specify executing the process successfully.

sogoku_ichi_2907Option: D

Yes, D is the correct answer. Global variables [X] and [Y] will be passed through the sub-page.

VK9999Option: D

If we consider that calculation stage has no defined Store Result In, it should be B. But it make sense it is D

RadekRPAOption: D

If we consider that calculation stage has no defined Store Result In, it should be B. But it make sense it is D

prabhaprabhuOption: D

20/5 =4

sbouferricheOption: D

20 / 5 = 4 this is the answer