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-ARDv1 Exam - Topic 13 Question 125 Discussion

A developer wants to assign a value to a two-dimensional array of strings named newArray. What expression can be used in the Assign activity?
D) newArray = {({'UiPath','Udemy'}), ({'HUB Academy', 'RPA'})}
A) newArray = ({'UiPath','Udemy'}, {'HUB Academy', 'RPA'})
B) newArray = {('UiPath','Udemy'), ('HUB Academy', 'RPA')}
C) newArray = {{'UiPath','Udemy'}, {'HUB Academy', 'RPA'}}

UiPath-ARDv1 Exam - Topic 13 Question 125 Discussion

Actual exam question for UiPath's UiPath-ARDv1 exam
Question #: 125
Topic #: 13
[All UiPath-ARDv1 Questions]

A developer wants to assign a value to a two-dimensional array of strings named newArray. What expression can be used in the Assign activity?

Show Suggested Answer Hide Answer
Suggested Answer: D

newArray = {({'UiPath','Udemy'}), ({'HUB Academy', 'RPA'})} is the correct way to initialize a two-dimensial array of strings.

UiPath Documentation

UiPath Forum

Exam Topic:Describe how to work with complex data structures and data manipulation; for example, datatables and collections


Contribute your Thoughts:

0/2000 characters
Raina
2 hours ago
I think the correct syntax for initializing a two-dimensional array is with double braces, so maybe it's C?
upvoted 0 times
...
Linn
5 days ago
I feel like I’ve seen something like this before, but I can't recall if it was option A or C. I hope I pick the right one!
upvoted 0 times
...
Zack
10 days ago
I’m a bit confused about the parentheses in options B and D. I think they might be incorrect for array initialization.
upvoted 0 times
...
Sherita
16 days ago
I remember practicing similar questions, and I feel like the outer braces are important. Could it be option C or D?
upvoted 0 times
...
Mohammad
2 months ago
I think the correct syntax for a two-dimensional array should use double braces, so maybe option C? But I'm not entirely sure.
upvoted 0 times
...

Save Cancel