nerdexam
Cisco

200-901 · Question #517

Refer to the exhibit. Which code should be added at the snippet to perform a unit test? A. B. C. D.

Sign in or unlock 200-901 to reveal the answer and full explanation for question #517. The question stem and answer options stay visible for context.

Software Development and Design

Question

Refer to the exhibit. Which code should be added at the snippet to perform a unit test? A. B. C. D.

Exhibit

200-901 question #517 exhibit

Options

  • Aself.assertIsInstance (send_message ("hello"), "hello", "Should be the same")
  • Bself.assertIs (send_message ("hello"), "hello", "Should be the same")
  • Cself.assertCompare (send_message ("hello"), "hello", "Should be the same")
  • Dself.assertEqual (send_message ("hello"), "hello", "Should be the same")

Unlock 200-901 to see the answer

You've previewed enough free 200-901 questions. Unlock 200-901 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Unit Testing#Software Testing#Code Testing#Programming Best Practices
Full 200-901 Practice