exam questions

Exam UiADPv1 All Questions

View all questions & answers for the UiADPv1 exam

Exam UiADPv1 topic 1 question 122 discussion

Actual exam question from UiPath 's UiADPv1
Question #: 122
Topic #: 1
[All UiADPv1 Questions]

The “arrayOfPointsGainedByParticipant” 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)?

  • A. Value: 4 -
    Data Type: Object
  • B. Value: 7 -
    Data Type: String
  • C. Value: 4 -
    Data Type: String
  • D. Value: 7 -
    Data Type: Object
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
e92a31f
1 day, 7 hours ago
Selected Answer: C
Tested in Studio. Created assign with object array value: new Object(){"7", "4", "1"}. Log message for array(1) was 4. Log message for array(1).GetType was System.String
upvoted 1 times
...
19b3ff8
1 month, 1 week ago
Selected Answer: A
Since it is declared with object[], it naturally returns as object. Same logic as adding ToString() to DataRow
upvoted 1 times
...
airtonpereira
1 month, 2 weeks ago
Selected Answer: A
A - Object array
upvoted 1 times
...
5683e52
4 months ago
@Sanjib40, i have tested in studio, it is C. Furthermore, u are giving lots of wrong answers, can you dont give any comments anymore? Thanks
upvoted 2 times
19b3ff8
1 month, 1 week ago
Once you examine the relationship between the Object type and the String type, you will become more interested in object-oriented.
upvoted 1 times
...
Karthiiii28
2 months, 1 week ago
wrong answer... Answer is A. Tested in studio
upvoted 2 times
...
...
Sanjib40
5 months, 2 weeks ago
A is the correct ans
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago