CIW
1D0-437 · Question #86
Consider the following program code: %employees = ("Lucy", "Accounting", "Armando", "Finance", "Adrienne", "Marketing"); delete($employees{"Lucy"}); Which of the following lines of code has the same…
The correct answer is D. %employees = ("Armando", "Finance", "Adrienne", "Marketing"). See the full explanation below for the reasoning.
Question
Consider the following program code:
%employees = ("Lucy", "Accounting", "Armando", "Finance", "Adrienne", "Marketing"); delete($employees{"Lucy"}); Which of the following lines of code has the same effect as the preceding code?
Options
- A%employees = ("Adrienne", "Marketing");
- B%employees = ("Lucy", "Accounting");
- C%employees = ("Lucy", "Accounting", "Armando", "Finance");
- D%employees = ("Armando", "Finance", "Adrienne", "Marketing");
How the community answered
(40 responses)- A8% (3)
- B5% (2)
- C18% (7)
- D70% (28)
Community Discussion
No community discussion yet for this question.