New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

UiPath-ADAv1 Exam - 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:

0/2000 characters
Aleta
3 months ago
Really? I thought we needed a different format for IDs.
upvoted 0 times
...
Herminia
3 months ago
Wait, are we sure they can't be just stored as a single String?
upvoted 0 times
...
Starr
3 months ago
I disagree, List could work too if you convert them.
upvoted 0 times
...
Sharika
4 months ago
Definitely List, makes the most sense!
upvoted 0 times
...
Nelida
4 months ago
I think it should be List since IDs are strings.
upvoted 0 times
...
Rickie
4 months ago
I think using a simple String might not work since we need to store multiple IDs, so it has to be a collection type.
upvoted 0 times
...
Judy
4 months ago
I feel like we had a similar question in practice, and I chose List then too, but I’m still a bit confused about the difference with String[].
upvoted 0 times
...
German
4 months ago
I’m not entirely sure, but I think a List would be the right choice since we can easily add more IDs during execution.
upvoted 0 times
...
Marshall
5 months ago
I remember we discussed that IDs like XX-XX-XX are best stored as strings since they include non-numeric characters.
upvoted 0 times
...
Lorita
5 months ago
Okay, I've got it - the IDs have a specific format with dashes, so a String data type is the way to go. Option B is my pick.
upvoted 0 times
...
Leatha
5 months ago
Based on the requirement to store multiple IDs that can be updated, I think a List is the best choice here.
upvoted 0 times
...
Margurite
5 months ago
I'm a bit confused - would a list of integers work since the IDs are numeric? I'll have to double-check the format.
upvoted 0 times
...
Keneth
5 months ago
Hmm, this looks like a tricky one. I'll need to think it through carefully.
upvoted 0 times
...
Ona
5 months ago
The format of the IDs suggests they should be stored as strings, so I'm leaning towards option B.
upvoted 0 times
...
Sharen
5 months ago
This question seems straightforward, but I want to make sure I understand the benefits of DCO before selecting my answers.
upvoted 0 times
...
Marsha
5 months ago
This looks like a straightforward true/false question about resource management services. I'll read through the information carefully and select the option that best matches the description.
upvoted 0 times
...
Albert
5 months ago
I'm a bit confused by the different options here. I'll need to review my HTML and CSS notes to make sure I understand the proper syntax.
upvoted 0 times
...
Aliza
2 years ago
I agree. The IDs are strings, so List makes sense.
upvoted 0 times
...
Georgene
2 years ago
List sounds right. You can add elements during execution.
upvoted 0 times
...
Luther
2 years ago
I think it's List. It matches the XX-XX-XX format.
upvoted 0 times
...
Wayne
2 years ago
What do you think the answer is?
upvoted 0 times
...
Aliza
2 years ago
Yeah, about storing multiple IDs, right?
upvoted 0 times
...
Clare
2 years ago
Did you see that question on data types?
upvoted 0 times
...

Save Cancel