AD01 Exam QuestionsBrowse all questions from this exam

AD01 Exam - Question 62


Examine the process flow:

The Process is intended to attempt to perform the processing in the recover block, Block 3, a maximum of three times before throwing an exception.

Data Item "Attempts" is a number data item with an initial value of 0

Data Item "Max Attempts" is a number data item with an initial value of 3

The "˜Increment Attempts' calculation stage outputs a result to the "Attempts" data item

To enable this to work correctly, what is the correct expressions for the "˜Increment Attempts' calculation stage?

Show Answer
Correct Answer: BD

The correct expression for the 'Increment Attempts' calculation stage is '[Attempts] + 1'. This is because you want to increment the current value of the 'Attempts' data item by 1 each time the process goes through the loop. Using '[Attempts] + 1' ensures that the current value stored in 'Attempts' is accessed and increased by 1, thereby correctly counting each attempt until the maximum number of attempts, 'Max Attempts', is reached.

Discussion

5 comments
Sign in to comment
Ray52Option: D
May 10, 2020

This should be "D"

mndfsnz
Jun 29, 2020

yes....

dddamianOption: D
Feb 28, 2021

D definitely

sogoku_ichi_2907Option: D
Jun 5, 2021

Yes, D is the correct answer.

tdesbarresOption: D
Jun 27, 2022

Should be D

LH1213Option: D
Mar 29, 2023

D is the answer