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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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: A 🗳️

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 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 5 times
...
PrasaanthS
Highly Voted 9 months, 1 week 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 1 month, 3 weeks ago
Selected Answer: B
B is correct answer proved in practical
upvoted 1 times
...
scully2501
2 months, 3 weeks 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
6 months, 2 weeks 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
7 months, 4 weeks ago
Selected Answer: B
Correct answer is ",Orange"
upvoted 3 times
...
nalinnishant
8 months, 1 week ago
Selected Answer: B
Orange is answer because we are getting output from the second file.
upvoted 1 times
...
DKAT2023
8 months, 2 weeks ago
Correct answer is ",Orange"
upvoted 3 times
...
nitinv0078
8 months, 2 weeks ago
Selected Answer: B
", Orange" is the answer
upvoted 1 times
...
PM2
9 months ago
correct answer should be "Apple"
upvoted 1 times
...
[Removed]
9 months ago
I tested all three directions 'in, out, in/out' and the result was the same: 'Apple'
upvoted 1 times
...
Rag_123
10 months, 1 week ago
Selected Answer: B
Tested in Studio
upvoted 2 times
...
MarioEmanuel88
10 months, 4 weeks 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
12 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 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 ago
Correct option should be ,Orange
upvoted 3 times
...
fletchm58c
1 year, 1 month 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 ...