Exam UiPath-ADAv1 Topic 1 Question 240 Discussion

Actual exam question for UiPath's UiPath-ADAv1 exam
Question #: 240
Topic #: 1
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 Vote an answer

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.References:
UiPath Studio Guide: The Main Data Types in Studio

by Heather at Feb 27, 2024, 10:08 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10