nerdexam
Oracle

1Z0-876 · Question #37

Frank is writing a ksh script. How does he indicate the beginning and end of a block of statements in a while loop?

The correct answer is C. Using do and done. See the full explanation below for the reasoning.

Question

Frank is writing a ksh script. How does he indicate the beginning and end of a block of statements in a while loop?

Options

  • AUsing { and }
  • BUsing [ and ]
  • CUsing do and done
  • DUsing if and fi

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    83% (25)
  • D
    10% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-876 Practice