BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

UiPath Exam UiPath-ADAv1 Topic 1 Question 16 Discussion

Actual exam question for UiPath's UiPath-ADAv1 exam
Question #: 16
Topic #: 1
[All UiPath-ADAv1 Questions]

A variable should be created and used for storing one or multiple IDs. The collection of IDs can be updated during the execution of the robot by adding elements. Which should be the data type of this variable, taking into account that each of the IDs has the following format: XX-XX-XX (where X is a digit)?

Show Suggested Answer Hide Answer
Suggested Answer: B

For storing one or multiple IDs with the format XX-XX-XX (where X is a digit) and allowing for updates during execution, the appropriate data type is List<String>. This is because you need a collection that can dynamically expand as more IDs are added, and the IDs are in a string format due to the inclusion of the hyphen characters. Reference:

UiPath Studio Guide: The Main Data Types in Studio


Contribute your Thoughts:

Aliza
6 months ago
I agree. The IDs are strings, so List makes sense.
upvoted 0 times
...
Georgene
6 months ago
List sounds right. You can add elements during execution.
upvoted 0 times
...
Luther
6 months ago
I think it's List. It matches the XX-XX-XX format.
upvoted 0 times
...
Wayne
6 months ago
What do you think the answer is?
upvoted 0 times
...
Aliza
6 months ago
Yeah, about storing multiple IDs, right?
upvoted 0 times
...
Clare
7 months ago
Did you see that question on data types?
upvoted 0 times
...

Save Cancel