nerdexam
CompTIA

CAS-003 · Question #831

An aircraft manufacturer is developing software that will perform automatic flight control (auto- pilot). Given the high safety criticality of the software, the developer can BEST prove software…

The correct answer is C. test harnesses. For safety-critical aviation software, test harnesses provide a structured, repeatable framework that systematically verifies software behavior against every requirement in the specification.

Research, Development and Collaboration

Question

An aircraft manufacturer is developing software that will perform automatic flight control (auto- pilot). Given the high safety criticality of the software, the developer can BEST prove software correctness to a requirement’s specification by employing:

Options

  • Astatic code analyzers
  • Bformal methods
  • Ctest harnesses
  • Ddynamic analysis methods

How the community answered

(48 responses)
  • A
    10% (5)
  • B
    6% (3)
  • C
    56% (27)
  • D
    27% (13)

Why each option

For safety-critical aviation software, test harnesses provide a structured, repeatable framework that systematically verifies software behavior against every requirement in the specification.

Astatic code analyzers

Static code analyzers identify defects and violations in source code but do not verify that the software satisfies its functional requirements or prove behavior against a specification.

Bformal methods

Formal methods provide mathematical proof of correctness and are highly valued in safety-critical contexts, but for demonstrating compliance to a requirements specification in a certifiable manner under standards like DO-178C, test-based verification with harnesses is the required and accepted method.

Ctest harnessesCorrect

Test harnesses for safety-critical software - as governed by standards like DO-178C - create controlled environments where every software requirement is mapped to a specific test case, enabling traceability from specification to verified behavior. This structured approach allows developers to demonstrate to certification authorities that each functional and safety requirement has been exercised and confirmed correct, which constitutes proof of correctness to the specification.

Ddynamic analysis methods

Dynamic analysis methods are broad execution-time observation techniques that generate data about runtime behavior but lack the structured requirement-to-test traceability that constitutes proof of specification compliance.

Concept tested: Safety-critical software verification using structured test harnesses

Source: https://www.faa.gov/aircraft/air_cert/design_approvals/air_software/cast/cast_papers/media/cast-10.pdf

Topics

#safety-critical software#formal methods#software correctness#avionics security

Community Discussion

No community discussion yet for this question.

Full CAS-003 Practice