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 2 Question 27 Discussion

Actual exam question for UiPath's UiPath-ADAv1 exam
Question #: 27
Topic #: 2
[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:

Elli
1 months ago
B) List is the way to go. Can't go wrong with a good old-fashioned string.
upvoted 0 times
...
Edwin
1 months ago
I disagree, I think String[] would be a better choice for storing the IDs.
upvoted 0 times
...
Dottie
1 months ago
I wonder if the exam question writer has ever tried to store phone numbers as integers. That would be a real headache!
upvoted 0 times
Jesusa
9 days ago
C) String
upvoted 0 times
...
Salome
15 days ago
B) List
upvoted 0 times
...
Yolande
23 days ago
A) List
upvoted 0 times
...
...
Ardella
1 months ago
I agree with Shenika, using List would allow for easy addition of IDs.
upvoted 0 times
...
Shenika
1 months ago
I think the data type should be List.
upvoted 0 times
...
Samira
2 months ago
As a robot developer, I'm pretty sure the answer is B) List. It's the best way to handle a collection of IDs with that format.
upvoted 0 times
Celestina
19 days ago
I would go with B) List as well, it seems like the most appropriate choice.
upvoted 0 times
...
Ula
22 days ago
Yeah, using a list of strings makes sense for this scenario.
upvoted 0 times
...
Caren
28 days ago
I agree, that data type would work best for storing IDs in that format.
upvoted 0 times
...
Adrianna
1 months ago
I think the answer is B) List.
upvoted 0 times
...
...
Bernadine
2 months ago
Option D) String[] could also work, but a List would be more flexible for adding and removing elements.
upvoted 0 times
Alpha
15 days ago
D) String[] could work, but List is recommended for flexibility.
upvoted 0 times
...
Trina
16 days ago
C) String data type may not be suitable for storing multiple IDs.
upvoted 0 times
...
Cletus
17 days ago
B) List is more flexible for adding and removing elements.
upvoted 0 times
...
Aja
20 days ago
A) List would be the best choice for storing multiple IDs.
upvoted 0 times
...
...
Carman
2 months ago
I think option B) List is the correct answer. The IDs have a specific format of XX-XX-XX, which suggests they are best represented as strings.
upvoted 0 times
Casie
2 months ago
I think so too. Storing the IDs as strings makes the most sense given their format.
upvoted 0 times
...
Dorthy
2 months ago
I agree with you, option B) List seems like the most appropriate choice.
upvoted 0 times
...
...

Save Cancel