nerdexam
iSQI

CTFL_SYLL_4.0 · Question #95

Given the following requirement: The system shall compute the car's position using the following equation: new_distance_traveled + old_position Which type of testing should be implemented to help…

The correct answer is A. Functional. Functional testing is correct because it directly verifies that the system behaves according to a specific, defined requirement - in this case, that the position calculation uses new_distance_traveled + old_position. Functional tests validate what the system does by checking…

Test Analysis and Design

Question

Given the following requirement:

The system shall compute the car's position using the following equation: new_distance_traveled + old_position Which type of testing should be implemented to help ensure this requirement is met?

Options

  • AFunctional
  • BReliability
  • CPerformance
  • DMaintainability

How the community answered

(30 responses)
  • A
    93% (28)
  • B
    3% (1)
  • D
    3% (1)

Explanation

Functional testing is correct because it directly verifies that the system behaves according to a specific, defined requirement - in this case, that the position calculation uses new_distance_traveled + old_position. Functional tests validate what the system does by checking outputs against expected results for given inputs.

Reliability (B) is wrong because it measures how consistently and dependably a system performs over time, not whether a specific calculation is implemented correctly. Performance (C) is wrong because it concerns speed, throughput, and resource usage - not the correctness of a formula. Maintainability (D) is wrong because it evaluates how easy the system is to modify or understand, which has nothing to do with verifying a specific computation.

Memory tip: If the requirement describes what the system shall do (a behavior, calculation, or output), the answer is almost always Functional - think "function = feature = behavior to verify."

Topics

#functional testing#requirements-based testing#test types#black-box testing

Community Discussion

No community discussion yet for this question.

Full CTFL_SYLL_4.0 Practice