Courseiva
Control Flow →easyMultiple Select

UiPath-ADAv1 Control Flow Practice Question

A developer needs to iterate through a list of transactions. Which TWO characteristics distinguish a While activity from a Do While activity? (Select TWO)

⚠ Common exam trap

Test-takers frequently mix up the execution order, incorrectly assuming a standard While loop guarantees at least one execution of its body just like a Do While loop.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

A While activity checks the condition before executing the activities in the Body.

While and Do While are both used for looping based on a boolean condition, but they differ in their execution order. A While activity checks the condition at the start, meaning it might never run the body. A Do While activity checks the condition at the end, ensuring at least one execution. Understanding these differences is vital for avoiding logic errors where a loop should or should not run.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    A While activity checks the condition before executing the activities in the Body.

    Why this is correct

    In a While loop, the boolean expression is evaluated first. If the condition is false initially, the activities inside the Body block are skipped entirely. This is useful when you only want to process data if a certain prerequisite is met, such as checking if a list is not empty before attempting to access its items.

  • ✗

    A Do While activity can only be used within a Flowchart, not a Sequence.

    Why it's wrong here

    Both the While and Do While activities are standard control flow activities that can be used in both Sequences and Flowcharts. They are not restricted to a specific container type. Flowcharts often use Flow Decisions to create similar loops, but the dedicated loop activities are fully compatible with any container that supports activity placement.

  • ✓

    A Do While activity ensures the activities in the Body are executed at least once.

    Why this is correct

    The condition of a Do While loop is evaluated after the Body has finished its first iteration. This guarantee is essential for scenarios where you need to perform an action, like downloading a file or reading a status, before you can check if you need to repeat that action based on the result obtained during that first run.

  • ✗

    A While activity automatically increments an index variable, while Do While does not.

    Why it's wrong here

    Neither the While nor the Do While activity provides automatic index incrementing. Unlike the For Each activity, which handles the collection pointer for you, these loops require the developer to manually update the variables used in the condition. Failing to update these variables within the Body will result in an infinite loop regardless of which activity is used.

  • ✗

    While activities support 'Break' while Do While activities do not support it.

    Why it's wrong here

    The Break activity is supported in both While and Do While loops. It allows the developer to exit the loop immediately regardless of the condition's current state. This is a common pattern for handling unexpected errors or successful completion of a search within a loop, providing flexible control over the execution flow in both types of activities.

About these practice questions

Courseiva writes every UiPath-ADAv1 question from scratch — 285 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official UiPath exam blueprint

This UiPath-ADAv1 practice question is part of Courseiva's free UiPath certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the UiPath-ADAv1 exam.