nerdexam
Microsoft

98-379 · Question #230

98-379 Question #230: Real Exam Question with Answer & Explanation

Sign in or unlock 98-379 to reveal the answer and full explanation for question #230. The question stem and answer options stay visible for context.

Question

You are writing tests for an application that tracks model rocket launches. The application includes a function named Velocity that calculates the velocity of a launch, as shown in the following code. (Line numbers are included for reference only.) You need to test that the Velocity function: - Throws an exception if the launch is null - Returns epsilon if the time is below the measurement threshold - Returns zero if the launch did not result in any movement - Returns the velocity as distance divided by total seconds Which type of tests must you write?

Options

  • AEnd-to-end
  • BUnit
  • CIntegration
  • DPerformance

Unlock 98-379 to see the answer

You've previewed enough free 98-379 questions. Unlock 98-379 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.

Full 98-379 Practice