nerdexam
Adobe

9A0-127 · Question #76

What is the value of the variable output when the following code executes? <cfset output = "There is no answer" /> <cfif 1 eq true> <cfset output = "The answer is one" /> <cfelseif 0 eq true> <cfset…

The correct answer is A. "The answer is one". See the full explanation below for the reasoning.

Question

What is the value of the variable output when the following code executes? <cfset output = "There is no answer" /> <cfif 1 eq true> <cfset output = "The answer is one" /> <cfelseif 0 eq true> <cfset output = "The answer is two" /> <cfelse> <cfset output = "The answer is three" /> </cfif>

Options

  • A"The answer is one"
  • B"The answer is two"
  • C"The answer is three"
  • D"There is no answer"

How the community answered

(27 responses)
  • A
    78% (21)
  • B
    11% (3)
  • C
    7% (2)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 9A0-127 Practice