Exam UiRPA All QuestionsBrowse all questions from this 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?

    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
BotLearnerOption: A

Option A is correct Tested in Studio

DKAT2023Option: A

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

kysorOption: D

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

iboshowOption: A

Answer is A

iboshowOption: D

Default value of Fruits is Apple Writeline only writes Fruits

iboshow

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

Yash04Option: A

Answer is A. Tested in Uipath

scully2501Option: A

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

DKAT2023Option: A

AnsweR: A

kysorOption: D

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

SkartenVOption: D

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