Exam UiPath-ADAv1 Topic 15 Question 376 Discussion
Actual exam question for UiPath's UiPath-ADAv1 exam
Question #: 376
Topic #: 15
Question #: 376
Topic #: 15
Data from an Excel file is read into a data table named "dtEmployee", as displayed in the following graphic:

A developer needs to filter the data table to obtain all rows representing employees from the Finance and IT departments with a Salary under 30,000. Which expression yields the desired outcomes?

A developer needs to filter the data table to obtain all rows representing employees from the Finance and IT departments with a Salary under 30,000. Which expression yields the desired outcomes?
Suggested Answer: C Vote an answer
This expression filters the data table to obtain all rows representing employees from the Finance and IT departments with a Salary under 30,000. The expression uses the Select method of the data table, which returns an array of data rows that match a specified condition. The condition is written as a string that follows the syntax and rules of the DataColumn.Expression property. The condition uses parentheses to group the logical operators OR and AND, which have different precedence levels. The OR operator returns true if either operand is true, while the AND operator returns true only if both operands are true. The condition also uses single quotes to enclose the string values of the Department column, and the less than operator to compare the numeric values of the Salary column. (UiPath Studio documentation1) References:
1: DataTable.Select Method (System.Data) | Microsoft Docs.
1: DataTable.Select Method (System.Data) | Microsoft Docs.
by Steven at Mar 30, 2025, 02:52 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).