Choice "D" is correct. Appraisal includes the cost of statistical quality control.
Choice "a" is incorrect. Statistical quality control may indicate internal failures but is a cost of appraisal.
Choice "b" is incorrect. Training costs are a part of prevention.
Choice "c" is incorrect. Statistical quality control happens after prevention measures.