nerdexam
Oracle

1Z0-804 · Question #143

Given the directory structure that contains three directories: company, Salesdat, and Finance: Company - Salesdat Target.dat - Finance Salary.dat * Annual.dat And the code fragment: If Company is…

The correct answer is C. Prints only Annual.dat, Salary.dat, Target.dat. See the full explanation below for the reasoning.

Question

Given the directory structure that contains three directories: company, Salesdat, and Finance:

Company

  • Salesdat
  • Target.dat
  • Finance
  • Salary.dat
  • Annual.dat

And the code fragment:

If Company is the current directory, what is the result?

Exhibit

1Z0-804 question #143 exhibit

Options

  • APrints only Annual.dat
  • BPrints only Salesdat, Annual.dat
  • CPrints only Annual.dat, Salary.dat, Target.dat
  • DPrints at least Salesdat, Annual.dat, Salary.dat, Target.dat

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    78% (21)
  • D
    15% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-804 Practice