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 Exam UiPath-ADPv1 Topic 1 Question 43 Discussion

Actual exam question for UiPath's UiPath-ADPv1 exam
Question #: 43
Topic #: 1
[All UiPath-ADPv1 Questions]

The "arrayOfPomtsGalnedByPanicipant" Object array is created and initialized with the following values: {"7", "4", "1"}. Which is the value and data type returned, at runtime, by arrayOfPointsGainedByParticipant(1)?

Show Suggested Answer Hide Answer
Suggested Answer: C

Given the array 'arrayOfPointsGainedByParticipant' with values {'7', '4', '1'}, at runtime, 'arrayOfPointsGainedByParticipant(1)' would return the value '4' with the data type 'String'. Arrays in .NET, which UiPath uses, are zero-indexed.


Contribute your Thoughts:

Latricia
18 hours ago
I disagree, I believe the correct answer is B) Value: 7 Data Type: String.
upvoted 0 times
...
Wai
22 hours ago
Hmm, interesting. But what if the array is actually an array of integers and the values are just being displayed as strings? In that case, option A might be the correct answer.
upvoted 0 times
...
Vallie
4 days ago
I think the answer is A) Value: 4 Data Type: Object.
upvoted 0 times
...
Domitila
5 days ago
If the array is initialized with strings, then the data type returned should be String. So, I'm going with option C.
upvoted 0 times
...

Save Cancel