UiPath Automation Developer Associate v1 — Question 26
What is a correct description of a dictionary?
Answer options
- A. Dictionaries are collections of key, value pairs, in which the keys are unique.
- B. Dictionaries are collections of item, values, in which no constraints are present over the values of the items.
- C. Dictionaries are collections of unique values.
- D. Dictionaries are collections of item, values, in which the items and values are unique.
Correct answer: A
Explanation
The correct answer, A, accurately describes a dictionary as a collection of key-value pairs where each key is unique. Option B is incorrect because it suggests there are no constraints on values, which is not true for dictionaries. Option C is wrong as it fails to mention keys and only references values. Option D incorrectly states that both items and values must be unique, which is not a requirement for dictionaries.