Deal of The Day! 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

Posted by Ines on May 10, 2024 at 04:08 AM

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)?

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


Get Premium UiPath-ADAv1 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
23 comments · newest first
AL
Aleta 11 months ago
Really? I thought we needed a different format for IDs.
HE
Herminia 11 months ago
Wait, are we sure they can't be just stored as a single String?
ST
Starr 11 months ago
I disagree, List could work too if you convert them.
SH
Sharika 11 months ago
Definitely List, makes the most sense!
NE
Nelida 11 months ago
I think it should be List since IDs are strings.
RI
Rickie 12 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.
JU
Judy 12 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[].
GE
German 12 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.
MA
Marshall 1 year ago
I remember we discussed that IDs like XX-XX-XX are best stored as strings since they include non-numeric characters.
LO
Lorita 1 year 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.
LE
Leatha 1 year ago
Based on the requirement to store multiple IDs that can be updated, I think a List is the best choice here.
MA
Margurite 1 year 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.
KE
Keneth 1 year ago
Hmm, this looks like a tricky one. I'll need to think it through carefully.
ON
Ona 1 year ago
The format of the IDs suggests they should be stored as strings, so I'm leaning towards option B.
SH
Sharen 1 year ago
This question seems straightforward, but I want to make sure I understand the benefits of DCO before selecting my answers.
MA
Marsha 1 year 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.
AL
Albert 1 year 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.
AL
Aliza 2 years ago
I agree. The IDs are strings, so List makes sense.
GE
Georgene 2 years ago
List sounds right. You can add elements during execution.
LU
Luther 2 years ago
I think it's List. It matches the XX-XX-XX format.
WA
Wayne 2 years ago
What do you think the answer is?
AL
Aliza 2 years ago
Yeah, about storing multiple IDs, right?
CL
Clare 2 years ago
Did you see that question on data types?
0/2000 characters

Save Cancel