Uipath Certified RPA Associate Uirpa · Free Practice Question Medium

Question 31

Identify the missing word(s) in the following sentence within the context of UiPath Academy.

[?] are repetitions of a set of operations based on a given condition. In UiPath, the most important [?] are:

• Do While

• While

• For Each

  • A

    Queries

  • B

    Loops

  • C

    IF Statements

  • D

    Switches

Reveal correct answer

Correct answer: B

Explanation

What are Loops?

Loops are repetitions of a set of operations based on a given condition. In UiPath, the most important loops are:

Do While

It executes a specific sequence while a condition is met. The condition is evaluated after each execution of the statements.

For example, a robot could perform a refresh command over a website and then check if a relevant element was loaded. It will continue the refresh - check cycle until the element is loaded.

https://docs.uipath.com/activities/docs/do-while


While

It executes a specific sequence while a condition is met. The condition is evaluated before each execution of the statements.

In many cases, it is interchangeable with Do While, the only difference being when the condition verification is made. But in some cases, one is preferable over the other. For example, if a Robot would play Blackjack, it should calculate the hand before deciding whether to draw another card.

https://docs.uipath.com/studio/docs/the-while-activity


For Each

It performs an activity or a series of activities on each element of a collection.

This is very useful in data processing. Consider an Array of integers. For Each would enable the robot to check whether each numeric item fulfills a certain condition.

https://docs.uipath.com/studio/docs/the-for-each-activity

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need