UiRPA Exam QuestionsBrowse all questions from this exam

UiRPA Exam - Question 36


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?

Show Answer
Correct Answer: A

The Write Line activity in the Main.xaml file prints the value of the variable 'Fruits.' Initially, 'Fruits' is set to 'Apple.' This variable is passed as the io_ShoppingBasket argument to the SuperMarket workflow, which is configured as an In/Out argument. In the SuperMarket sequence, the value of io_ShoppingBasket is modified to 'Apple, Orange' by concatenating ', Orange' to its existing value. Since it is an In/Out argument, the modified value 'Apple, Orange' is passed back to the 'Fruits' variable in the Main.xaml file. Therefore, the output of the Write Line activity is 'Apple, Orange.'

Discussion

10 comments
Sign in to comment
BotLearnerOption: A
Apr 26, 2023

Option A is correct Tested in Studio

iboshowOption: D
Apr 17, 2023

Default value of Fruits is Apple Writeline only writes Fruits

iboshow
Aug 9, 2023

Sorry Answer is Apple, Orange. I thought it was similar to Q28 and tested in Studio. This has both in and out

iboshowOption: A
Aug 9, 2023

Answer is A

kysorOption: D
Aug 13, 2023

I've tested it in uipath studio. This question is tricky and I've seen most of the times appear in exam. The tweak is they have a different direction of arguments. So the solution is: if (direction == in) { ans: apple } else if (direction == out) { ans: orange } else { Apple, Ora

DKAT2023Option: A
Aug 15, 2023

FOR SURE: ID in = Apple/// out=,Orange/// in/out=Apple,Orange

SkartenVOption: D
Jul 28, 2023

In the code, the variable Fruits never changes, only changes the variable io_ShoppingBasket but is not printed

kysorOption: D
Aug 11, 2023

the answer is apple. tested in uipath studio. since the writeline only prints fruits > the value in fruits in an apple.

DKAT2023Option: A
Aug 28, 2023

AnsweR: A

scully2501Option: A
Jan 30, 2024

Unlike question 28, the argument is in/out, so "Apple" enters the process and is completed with "Orange" at the output.

Yash04Option: A
Feb 28, 2024

Answer is A. Tested in Uipath