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

Exam UiRPA All Questions

View all questions & answers for the UiRPA exam

Exam UiRPA topic 1 question 28 discussion

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

A developer has created an automation process that includes:
1. Main.xaml file:

2. Variables in the Variable panel in the Main.xaml file:

3. Main.xaml file invokes the SuperMarket workflow using the following argument:

4. Detailed SuperMarket sequence and right-hand side expression shown below:

Based on the information shown in the exhibits, what is the output of the Write Line activity in the Main.xaml file?

  • A. Apple, Orange
  • B. Orange
  • C. Apple
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
rolles
Highly Voted 1 year, 8 months ago
The default value on the variable "Fruits" is "Apple" in the Main.xaml file. We are looking for the output in the Write Line activity so I believe the answer is "Apple"
upvoted 6 times
...
PrasaanthS
Highly Voted 1 year, 4 months ago
The answer is ", Orange" because the direction of the argument is "out" If the direction is "in" the answer is "apple" If the direction is "in/out" the answer is "apple, orange"
upvoted 5 times
...
Yash04
Most Recent 9 months ago
Selected Answer: B
B is correct answer proved in practical
upvoted 1 times
...
scully2501
10 months ago
Selected Answer: B
I've created the code in UIPATH and the output is ",Orange" so the answer is "B". Because it's the fruit variable that defaults to "Apple" before entering the sequence, "Apple" is automatically deleted by the output variable.
upvoted 1 times
...
LarsMartinJ
1 year, 1 month ago
The default value of "Fruits" is "Apple", but this is never passed into the shopping basket workflow (as the argument only goes "Out"). So the Assign in the shopping basket adds ", Orange" to the empty out_Shoppingbasket argument and passes this out of the workflow. This overwrites the default value "Apple" in the existing variable "Fruits". Thus, the Write Line should be ", Orange".
upvoted 1 times
...
DKAT2023
1 year, 2 months ago
Selected Answer: B
Correct answer is ",Orange"
upvoted 3 times
...
nalinnishant
1 year, 3 months ago
Selected Answer: B
Orange is answer because we are getting output from the second file.
upvoted 1 times
...
DKAT2023
1 year, 3 months ago
Correct answer is ",Orange"
upvoted 3 times
...
nitinv0078
1 year, 3 months ago
Selected Answer: B
", Orange" is the answer
upvoted 1 times
...
PM2
1 year, 4 months ago
correct answer should be "Apple"
upvoted 1 times
...
[Removed]
1 year, 4 months ago
I tested all three directions 'in, out, in/out' and the result was the same: 'Apple'
upvoted 1 times
...
Rag_123
1 year, 5 months ago
Selected Answer: B
Tested in Studio
upvoted 2 times
...
MarioEmanuel88
1 year, 5 months ago
I build this on test studio and the answer is just ,Orange (because you have a comma in the output message)> if the argument is IN the answer is Apple, if the argument is in/out the answer is apple.orange
upvoted 1 times
...
BotLearner
1 year, 7 months ago
Correction should e Orange (B) Actually the result appear as ,Orange as the comma is added in the called workflow verified in studio
upvoted 2 times
...
iboshow
1 year, 7 months ago
Selected Answer: C
Answer is Apple as writeline only writes the Fruits value which has a default value of Apple
upvoted 2 times
...
AutomationMaster
1 year, 7 months ago
Correct option should be ,Orange
upvoted 3 times
...
fletchm58c
1 year, 8 months ago
I believe the correct answer should be ",Orange", the argument is direction OUT
upvoted 4 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 ...