New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Appian ACD101 Exam - Topic 5 Question 31 Discussion

Actual exam question for Appian's ACD101 exam
Question #: 31
Topic #: 5
[All ACD101 Questions]

Review the following expression rule:

union(ri!fruit, ri!vegetables)

The rule inputs are configured as text arrays.

What is the expected output?

Show Suggested Answer Hide Answer
Suggested Answer: B

The best practice in Appian for passing values into an interface is to use named parameters, which is demonstrated by Option B. Named parameters make the code more readable and maintainable by clearly specifying which parameter each value is being passed to. In this case, the recordId and firstName parameters are clearly being assigned the values 1 and 'Kyle' respectively. Reference:

Appian Documentation: Passing Parameters to Interfaces


Contribute your Thoughts:

0/2000 characters
Harris
3 months ago
Really? I thought it would just give unique items.
upvoted 0 times
...
Moon
3 months ago
A is correct, all items included, duplicates and all!
upvoted 0 times
...
Mozelle
3 months ago
Wait, are you sure it's not B? That seems off.
upvoted 0 times
...
Mitsue
4 months ago
I think it's C, duplicates should be removed.
upvoted 0 times
...
Shantay
4 months ago
Definitely A, it combines everything!
upvoted 0 times
...
Sol
4 months ago
I feel like I saw something about union in our notes, but I can't recall if it was about keeping duplicates or not.
upvoted 0 times
...
Nieves
4 months ago
I’m a bit confused; I thought union would just list everything, including duplicates, like in option A.
upvoted 0 times
...
Elly
4 months ago
I remember practicing a similar question where the union removed duplicates, so I might lean towards option C.
upvoted 0 times
...
Magdalene
5 months ago
I think the union function combines both arrays, but I'm not sure if it keeps duplicates or not.
upvoted 0 times
...
Katie
5 months ago
Alright, I've got it. The rule is taking the items from ri!fruit and ri!vegetables and combining them, but it's not removing any duplicates. So the output should be all the items from both arrays, including any duplicates. That's option A.
upvoted 0 times
...
Celestina
5 months ago
I'm a little confused by the wording here. Is the rule actually doing a union operation, or is it just combining the two arrays in some way? I'll need to re-read this a few times to make sure I understand what it's asking for.
upvoted 0 times
...
Werner
5 months ago
I think I've got this. The rule is saying "union", so I'm guessing the output will be all the items from both arrays, with any duplicates removed. That sounds like option C to me.
upvoted 0 times
...
Delila
5 months ago
Okay, let's see. The rule is taking two text arrays as input, so I'm guessing the output will be some kind of combination of those two arrays. I'll need to pay close attention to the wording to figure out exactly what it's asking for.
upvoted 0 times
...
Alishia
5 months ago
Hmm, this looks like a tricky one. I'll need to think it through carefully to make sure I understand the rule correctly.
upvoted 0 times
...
Maile
10 months ago
Union? More like 'onion' - this question is making me cry!
upvoted 0 times
Cherelle
8 months ago
C) All items in ri!fruit and ri!vegetables combined, with duplicates removed.
upvoted 0 times
...
Kristian
9 months ago
B) Only items that are in both ri!fruit and ri!vegetables.
upvoted 0 times
...
Annalee
9 months ago
A) All items in ri!fruit followed by items in ri!vegetables, including duplicate values.
upvoted 0 times
...
...
Edwin
10 months ago
Hmm, this is a tricky one. I'm leaning towards B, since the question mentions the rule 'union', which might have a different behavior than a regular union operation.
upvoted 0 times
...
Zoila
10 months ago
I'm going with C. The union operation should remove any duplicate values, so the output should be a combined list of all items from both arrays, without duplicates.
upvoted 0 times
Stephaine
8 months ago
C makes sense to me too.
upvoted 0 times
...
Sherron
8 months ago
I'm not sure, but C sounds logical.
upvoted 0 times
...
Annmarie
9 months ago
I agree, C seems like the right choice.
upvoted 0 times
...
Glendora
9 months ago
I think the correct answer is C.
upvoted 0 times
...
...
Kristofer
10 months ago
I'm not sure about this one. The question talks about a 'rule', so I'm guessing the output might be different from a standard union operation. I'll have to think about it some more.
upvoted 0 times
Shala
9 months ago
I think the answer is A.
upvoted 0 times
...
Dulce
10 months ago
A) All items in ri!fruit followed by items in ri!vegetables, including duplicate values.
upvoted 0 times
...
...
Viola
11 months ago
I think the answer is A. The union operation should combine the contents of the two arrays, even if there are duplicates.
upvoted 0 times
Delila
9 months ago
I believe the correct answer is A as well.
upvoted 0 times
...
Kate
10 months ago
I'm not sure, but I think it might be B.
upvoted 0 times
...
Lennie
10 months ago
I think it's actually C, the duplicates are removed in the output.
upvoted 0 times
...
Precious
10 months ago
I agree, the answer is A.
upvoted 0 times
...
...
Deonna
11 months ago
I'm not sure, but I think the correct answer is B) Only items that are in both ri!fruit and ri!vegetables.
upvoted 0 times
...
Roslyn
11 months ago
I disagree, I believe the expected output is C) All items in ri!fruit and ri!vegetables combined, with duplicates removed.
upvoted 0 times
...
Pok
11 months ago
I think the expected output is A) All items in ri!fruit followed by items in ri!vegetables, including duplicate values.
upvoted 0 times
...

Save Cancel