nerdexam
CIW

1D0-437 · Question #43

1D0-437 Question #43: Real Exam Question with Answer & Explanation

The correct answer is C. %passwds = (denise=> "pass1", robert=> "pass2", yolanda=> "pass3");. See the full explanation below for the reasoning.

Question

Which of the following choices demonstrates the correct syntax for creating a hash?

Options

  • A%passwds = ("denise", "robert", "yolanda") => ("pass1", "pass2", "pass3");
  • B%passwds() = ("denise", "pass1", "robert", "pass2", "yolanda", "pass3");
  • C%passwds = (denise=> "pass1", robert=> "pass2", yolanda=> "pass3");
  • D%passwds{3} = ("denise", "robert", "yolanda") => ("pass1", "pass2", "pass3");

Community Discussion

No community discussion yet for this question.

Full 1D0-437 Practice