问题 单项选择题

软件测试可分为静态测试和动态测试,______不属于静态测试。

A.代码检查

B.代码质量度量(圈复杂分析等)

C.静态结构分析

D.覆盖率分析

答案

参考答案:D

解析:软件测试按照不同的划分方法,有不同的分类。按照程序是否执行,可以分为静态测试和动态测试;按照测试用例的设计方法,可以分为白盒测试和黑盒测试;按照开发阶段划分,可以分为单元测试、集成测试、确认测试、系统测试和验收测试等等。 静态测试的主要特征是在用计算机测试源程序时,计算机并不真正运行被测试的程序。静态测试包括代码检查、静态结构分析、代码质量度量等。它可以由人工进行,也可以借助软件工具自动进行。 动态测试的主要特征是计算机必须真正运行被测试的程序,通过输入测试用例,对其运行情况进行分析,判断期望结果和实际结果是否一致。动态测试包括功能确认与接口测试、覆盖率分析、性能分析、内存分析等。 覆盖率分析属于动态测试。

完形填空
完形填空。
     "I've been writing a book, John. Do you think anyone would be interested in   1    it?" said the old
lady.
     John took over the papers from her shaking hand and   2    her in chair. He remembered her rich   3   
 in the early days of the Old West. He looked through the papers. "It's good, Grandma," he said gently.
Then realizing that she   4    hear him, he shouted into her ears, "I think it's very good. I'll   5    it to a
publisher."
     Ten days later, he reported that the publisher had had time to read only a few    6   . But he was so
impressed that he had sent $ 100 for an option (版权).  7    money would be given as an advance.
Every month John   8    $100 for her with a letter from the publisher telling about the progress of the book.
     One morning, three months after her 100th birthday, Grandma didn't get up. The doctor told her that
she couldn't   9    more than a few days. She was ready to go, but she first wanted her book to be in print. John promised that she could get it very soon.
     Grandma held on until the day the book came into her hands with the title and her name on the cover.
Though she couldn't see it, she could touch it . She proudly traced (探查) her name with her fingers, tears
in her eyes. Two hours later, she died peacefully,   10   holding her book.
     Her granddaughter took up the book and opened it. "Why, it's just blank pages!" she cried in _11  .
John's face turned   12  . Then the girl understood. There never was a book. Grandma couldn't hear the
little bell when the typewriter came to the  13   of the line. She would keep on working, not   14   the
whole sentences and sometimes the paragraphs were missing. John did not tell her, for he couldn't take
away her only hope. It was John himself who had written the letters and sold his car to pay the advance.
(      )1. A. buying  
(      )2. A. sat     
(      )3. A. sufferings
(      )4. A. couldn't
(      )5. A. throw   
(      )6. A. words   
(      )7. A. Some   
(      )8. A. brought  
(      )9. A. die     
(      )10. A. still
(      )11. A. anger
(      )12. A. white
(      )13. A. middle  
(      )14. A. writing
B. publishing  
B. put       
B. experiences
B. needn't    
B. put        
B. sentences  
B. Much        
B. took        
B. stay        
B. yet        
B. joy        
B. red        
B. last        
B. knowing    
C. reading
C. placed   
C. thoughts 
C. mustn't
C. send     
C. pages   
C. Enough   
C. gave     
C. last     
C. always   
C. surprise
C. gray     
C. end     
C. thinking
D. lending    
D. seated    
D. family     
D. doesn't
D. lift      
D. books      
D. More      
D. carried    
D. remain    
D. then      
D. tears      
D. pale      
D. beginning  
D. wanting    

单项选择题