nerdexam
Oracle

1Z0-409 · Question #133

View the Exhibit. What does the case statement do in the script? (Choose two.)

The correct answer is B. executes like a series of if-then-else statements D. executes the last echo statement if 0 is supplied as the input. See the full explanation below for the reasoning.

Question

View the Exhibit. What does the case statement do in the script? (Choose two.)

Exhibit

1Z0-409 question #133 exhibit

Options

  • Aexits the script if 0 is supplied as the input
  • Bexecutes like a series of if-then-else statements
  • Cprints all output of all commands on standard output
  • Dexecutes the last echo statement if 0 is supplied as the input

How the community answered

(43 responses)
  • A
    16% (7)
  • B
    74% (32)
  • C
    9% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice