UiARD Exam QuestionsBrowse all questions from this exam

UiARD Exam - Question 3


Review the following exhibits:

Based on the exhibits, what is the output of the sequence?

Show Answer
Correct Answer: A

When the Invoke Code activity is called, the initial value of the `out_StrPnr` argument is not assigned, so it is blank. The `Console.WriteLine(out_StrPnr)` statement will output a blank line as `out_StrPnr` has no value initially. Then the line `out_StrPnr = 'A2X9k'` assigns the new value to the `strPnr` variable. Lastly, the Write Line activity will output the modified value of `strPnr` which is 'A2X9k'. Therefore, the output sequence will be a blank line followed by 'A2X9k'.

Discussion

18 comments
Sign in to comment
milindkumarOption: A
Sep 22, 2023

Answer provided is wrong

EduardoRamirezOption: A
Oct 4, 2023

Lo importante sucede dentro del Invoke Code. El argumento está vacío al ejecutarse el Console.Write, seguido de sobrescribir lo que contiene la variable StrPnr.

njush
Oct 25, 2023

Hi guys,pls help with the solution for this: You have a yearly calendar for 2022. When you click to expand the calendar into a single monthly view, you always need to click on the 15th of each month and add an event. The following reflects the selector for the Event Date Element activity in March: <wnd app='applicationframehost.exe' title='Month View - Calendar' /> <uia cls='Day' name='15 March 2022' /> How should the selector be modified to ensure it clicks on the 15th of the current month?

MancheOption: A
Nov 3, 2023

The correct answer is A, the argument direction of the invoke code activity is out before printing it is not assigned any value, so it is blank, then assign the value inside invoke code , then print the value.

Shane1407
Sep 25, 2023

Must be A

Engineer24
Oct 5, 2023

The Correct Answer is A.

FonminccOption: A
Oct 28, 2023

Why this answer always wrong...... It's A!!!!

Sameer11
Nov 6, 2023

A is correct because there is no inward argument so it shows blank and out set new assigned value to strpnr

RigaOption: A
Nov 13, 2023

A is correct

MartaloloOption: A
Dec 20, 2023

A is the correct one

MirjalolOption: A
Jan 17, 2024

Answer = 'A', tested in uipath studio

atobonOption: A
Jan 25, 2024

Answer = 'A', tested in uipath studio

phileraeneOption: A
Feb 8, 2024

Successive write line, first non initialised variable, second variable initialised with the invoke output

titanium192Option: A
Feb 29, 2024

Answer = A

nosavotor
Apr 1, 2024

Could someone help me confirm if this is correct

nosavotor
Apr 3, 2024

Is this answer accurate friends

Yash04
Aug 23, 2024

Answer is A. Tested in Uipath

Sharad_BailkarOption: A
Mar 10, 2025

the correct ans is Option -A = blank line " " A2X9k