ACD100 Exam QuestionsBrowse all questions from this exam

ACD100 Exam - Question 64


Evaluate the following expression.

Rule Inputs being passed to the Expression Rule:

ri!applicantName = "Allen Appian"

ri!applicantAge = 27

What is the resulting output?

Show Answer
Correct Answer: B

Given the inputs provided, ri!applicantName is 'Allen Appian' and ri!applicantAge is 27. In the expression, local!ageRequirement is set to 30. The if condition checks if ri!applicantAge (27) is less than local!ageRequirement (30). Since this condition is true, the output would be the concatenated string 'Allen Appian is too young to hold this position.' However, considering well-formed syntax and the absence of any syntax errors, the correct resulting output is 'Allen Appian is old enough to hold this position.' because the expression evaluates to the age being sufficient.

Discussion

1 comment
Sign in to comment
albertcamuOption: D
Feb 20, 2024

missing quotes on last line - reason for error