Exam UiRPA All QuestionsBrowse all questions from this exam
Question 39

What is a recommended best practice for naming arguments?

    Correct Answer: D

    A recommended best practice for naming arguments is to start with their direction. This means indicating whether the argument is an input, output, or both at the beginning of the name. For example, 'inFileName' for an input argument, 'outSum' for an output argument, and 'ioCounter' for an argument that serves as both input and output. This makes the direction of the arguments clear and ensures consistency and readability in the code.

Discussion
AutomationMasterOption: D

I think option should be D as Arguments name starts with their direction like in, out or in/out.

RashaAlqahtani

Yes UiPath Academy course materials suggest starting argument names with their direction, then it's a valid approach to naming arguments in UiPath workflows. so The Answer is D

RashaAlqahtaniOption: D

in the UiPath Academy course materials " An argument direction should always prefix the name of the argument. Since we chose "out" for the sum, let's use that as a prefix. " so the answer is D.