Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam UiARD All Questions

View all questions & answers for the UiARD exam

Exam UiARD topic 5 question 62 discussion

Actual exam question from UiPath 's UiARD
Question #: 62
Topic #: 5
[All UiARD Questions]

A developer wants to add items to a list of strings using the Invoke Method activity. The list is declared as follows:

The Invoke Method has the following properties:

The Parameters property is as follows:

Based on the information shown in the exhibits, what is the outcome of the Invoke Method activity?

  • A. An exception will be thrown
  • B. "Colors" will contain only "Yellow" items
  • C. "Colors" will contain items in the following order: "Red", "Green"
  • D. "Colors" will contain items in the following order: "Red", "Green", "Yellow"
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Ingvarn
1 year ago
Selected Answer: A
Ans : A, Invoke Method: Value cannot be null. (Parameter 'TargetObject')
upvoted 1 times
Ingvarn
1 year ago
Not because of Value cannot be null. (Parameter 'TargetObject'), The reason is because of list has not been declared before. If the list has been declared - only yellow.
upvoted 1 times
...
...
Alex_RPA
1 year ago
Selected Answer: A
Respuesta es A, el método add no puede agregar elementos a algo vacío.
upvoted 1 times
...
bhaskar5a5
1 year, 2 months ago
Ans : A
upvoted 1 times
...
Mirjalol
1 year, 4 months ago
Selected Answer: A
Invoke Method: Value cannot be null. (Parameter 'TargetObject')
upvoted 1 times
...
soulebi
1 year, 6 months ago
Selected Answer: A
Tried this in studio. There was an error "value cannot be null on TargetObject. " In the problem the List Colors was not instantiated ( new List(of String) ) so there wil be an error. Correct answer is a
upvoted 2 times
...
Engineer24
1 year, 7 months ago
Selected Answer: A
Sorry i wanted to say the correct Answer is A.
upvoted 1 times
...
Engineer24
1 year, 7 months ago
Selected Answer: B
If you test this example in studio will throw an exception on the Invoke method activity. 23.4.0-beta.12701+Branch.release-v23.4.0.Sha.f28ab212a5325cf466c152fb914c55858f5a423c Source: Invoke Method Message: Value cannot be null. (Parameter 'TargetObject') Exception Type: System.ArgumentNullException
upvoted 1 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 ...