UiPath Advanced RPA Developer (UiARD) — Question 71
A developer is building a workflow that extracts the name of companies based on their IDs and then stores them in a datatable. The workflow contains a String variable that stores the company name, an output argument that stores the Company ID, and a datatable.
What represents an example of a naming convention best practice?
Answer options
- A. String variable name: CompanyName Argument name: CompanyId - Data Table name: Dt_Companydata
- B. String variable name: CompanyName Argument name: out_companyId - Data Table name: companydata
- C. String variable name: company_name Argument name: out_companyId - Data Table name: DT_Companydata
- D. String variable name: CompanyName Argument name: out_CompanyId - Data Table name: dt_CompanyData
Correct answer: D
Explanation
Option D is correct because it follows best practices for naming conventions by using PascalCase for the variable and argument names while keeping the Data Table name consistent with camelCase. Options A and C do not adhere to the common conventions in terms of case sensitivity, and option B uses an inconsistent format for the argument name.