Courseiva
Control Flow →mediumMultiple Select

UiPath-ADAv1 Control Flow Practice Question

A developer is configuring a Switch activity. Which THREE data types are valid for the 'TypeArgument' property? (Select THREE)

⚠ Common exam trap

Test-takers often confuse supported basic data types with complex structures or UI element types when configuring the TypeArgument property of a Switch activity.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Int32

The Switch activity is versatile and supports various data types for its evaluation expression. The TypeArgument property defines what kind of data the activity will compare. Common types include Int32, String, and Boolean. By selecting the correct TypeArgument, developers can ensure that the case values are correctly typed and compared against the input expression, allowing for flexible logic based on different types of process data.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Int32

    Why this is correct

    The Int32 type is a standard selection for Switch activities, often used for status codes, counts, or menu selections. It allows the developer to define cases based on whole numbers. This is one of the most efficient types for the Switch activity to process because numeric comparisons are computationally simple and very common in programmatic decision-making logic.

  • ✓

    String

    Why this is correct

    String is a highly common TypeArgument for Switch activities in UiPath. It allows for branching based on text values like 'Success', 'Failed', or specific category names. This provides high readability for developers. The activity performs a case-sensitive or case-insensitive comparison based on the string values provided in each defined Case within the activity designer.

  • ✓

    Boolean

    Why this is correct

    While an If activity is typically used for booleans, the Switch activity also supports the Boolean TypeArgument. This allows for two cases: True and False. Although less common than using an If activity, it is a valid configuration that can be useful in certain architectural designs where a Switch is preferred for consistency across other multi-path logic blocks.

  • ✗

    DataTable

    Why it's wrong here

    A DataTable is a complex object and cannot be used as a TypeArgument for a Switch activity. The Switch activity requires a type that can be evaluated to a single value for comparison against discrete cases. Since a DataTable represents an entire structure of rows and columns, it cannot be directly compared to a case value in a standard logical branching activity.

  • ✗

    Dictionary

    Why it's wrong here

    Dictionaries are collections of key-value pairs and are not suitable for the TypeArgument property of a Switch activity. The Switch activity needs a scalar value or a simple object to perform an equality check. You can use a value retrieved FROM a dictionary as the expression, but the dictionary itself cannot be the type used for case matching logic.

About these practice questions

One of 285 original UiPath-ADAv1 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official UiPath exam blueprint

This UiPath-ADAv1 practice question is part of Courseiva's free UiPath certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the UiPath-ADAv1 exam.