nerdexam
CIW

1D0-437 · Question #98

Consider the following program code: if ("Apple" gt "Pear") { print("True "); } else { print("False "); } if ("Banana" le "Banana") { print("True "); } else { print("False "); } What is the result…

The correct answer is B. FalseTrue. See the full explanation below for the reasoning.

Question

Consider the following program code:

if ("Apple" gt "Pear") { print("True "); } else { print("False "); } if ("Banana" le "Banana") { print("True "); } else { print("False "); } What is the result of executing this program code?

Options

  • AFalseFalse
  • BFalseTrue
  • CTrueFalse
  • DTrueTrue

How the community answered

(21 responses)
  • A
    19% (4)
  • B
    71% (15)
  • C
    5% (1)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 1D0-437 Practice