Exam ACD100 All QuestionsBrowse all questions from this 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?

    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
albertcamuOption: D

missing quotes on last line - reason for error