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…
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)- A93% (28)
- B3% (1)
- D3% (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
Community Discussion
No community discussion yet for this question.