单选题 Black-Box and White-Box testing method are often used in software testing phase,in which,the White-Box is mainly used to test software's(    ).  
   A.reasonableness of structure
   B.correctness of a program
   C.external function of a program
   D.internal logic of a program
【正确答案】 D
【答案解析】软件的白盒测试是对软件的过程性细节做细致的检查。这一方法是把测试对象看作一个打开的箱子,它允许测试人员利用程序内部的逻辑结构及有关信息,设计或选择测试用例,对程序所有逻辑路径进行测试。通过在不同点检查程序的状态,确定实际的状态是否与预期的状态一致。因此白盒测试又称“为结构测试”或“逻辑驱动测试”。白盒测试的主要目的是检验程序内部逻辑的正确性。