AD01 Exam QuestionsBrowse all questions from this exam

AD01 Exam - Question 4


Study the following process flow:

The data item "Loop Counter" is a number data item and has an initial value of 0.

The data item "Max Loops" is a number data item and has an initial value of 10.

The two stages are configured as follows:

How many times will the Loop Again stage be executed when the page is executed?

Show Answer
Correct Answer: D

Given the provided process flow and stage configurations, the loop will be infinite. The calculation stage 'Increment Loop Counter' is configured incorrectly, as it simply reassigns the current value of 'Loop Counter' to itself without any increment. Due to this, the 'Loop Again?' decision will always result in 'Yes' because 'Loop Counter' will never reach the 'Max Loops' value of 10. This results in an infinite loop.

Discussion

17 comments
Sign in to comment
robertdempseyOption: D
Mar 2, 2020

Should this not be D. The loop will be infinite as you are not adding +1 to the current count?

VishalSOption: D
Jul 29, 2020

D. Current count is not incremented

michelle1998Option: D
Jun 27, 2021

It's definitely D!

danns323Option: D
Feb 7, 2022

It's definitely D!

isy_100Option: D
Mar 8, 2022

D, the increment stage miss the +1

sbouferriche
Mar 9, 2022

yes that's what i'm seeing

quechapOption: D
Jul 19, 2021

Definitely D!

c_grande22Option: D
Mar 1, 2022

D is Correct

Sagar00786Option: D
Apr 15, 2023

Opt D is correct

SBWeiss348Option: D
Aug 5, 2021

I vote D

Daria999Option: D
Jan 6, 2022

D. The loop will be infinite Expl:Loop Counter does not have Loop Counter +1

nalinnishantOption: D
Jan 18, 2022

D. The loop will be infinite.

RadekRPAOption: D
Mar 2, 2023

Loop counter is not increasing > Infinit Loop

shubhamvadnereOption: D
May 20, 2023

Correct answer - D

Shah90Option: D
Jun 14, 2023

Option D is correct i have tried it. Since the calculation count is not increasing it will be infinite

Shah90Option: D
Jul 24, 2023

D is correct answer

River06Option: D
Oct 22, 2023

Option D. Loop counter isn´t increasing.

VK9999Option: D
Jun 6, 2024

Should this not be D. The loop will be infinite as you are not adding +1 to the current count?