当前位置:网站首页>Test and open basic daily question brushing (continuous updating...)
Test and open basic daily question brushing (continuous updating...)
2022-07-27 02:13:00 【Yu Xiaohe】
1. The following procedure requires at least ( ) Test cases , To meet the judgment coverage
if(x && y){....}
else{....}
2 Time Determining coverage requires that each branch be executed at least once , namely Y,N Must be executed once , There is only one decision in this question , So twice
2. Which of the following are not features of top-down incremental integration testing ( )

Top down test : It starts from the initial module of the program .
(1) This method can detect the top-level errors at an early stage .
(2) Early program frameworks can be demonstrated
(3) Need to develop pile module auxiliary test . Some even need multiple pile modules , Increased the original error impact of the pile module .
(4) After testing an upper module , Which module to choose as the next test module , And the order of testing has no unique criteria .
advantage : The main control and judgment points were verified earlier ; According to depth first, a complete software function can be realized and verified first ; The function was confirmed earlier , Bring confidence ; Just one driver , Reduce the cost of drive development ; Support fault isolation .
shortcoming : There is a large amount of development of columns ; The underlying validation was delayed ; Inadequate testing of underlying components .
Bottom up test : It starts from the bottom module of the program .
(1)I/O The operation can be tested in advance , Better submit test cases .
(2) It is easier to observe the output after the test .
(3) Need to develop driver module .
(4) Until the last module is submitted , The program can complete the system test .
advantage : Early verification of underlying component behavior ; Work can initially be integrated in parallel , More efficient than top-down ; It reduces the workload of piles ; Support fault isolation .
shortcoming : Driving development is a lot of work ; The verification of the high level was delayed , Design mistakes can't be found in time .
3. Which of the following tests has the largest granularity


4. The following is not a software testing step

5. Greater than 、 Less than 、 be equal to 、 It's not equal to 、 really 、 False comparison and wrong judgment are likely to be boundary condition problems , Comparative judgment and control flow are often closely related , Consider whether there are problems when designing test cases, excluding ( )

Comparative judgment and control flow are often closely related , Pay attention to the following errors during the test :
1. Compare objects of different data types ;
2. Incorrect use of logical operators or priorities ;
3. Due to the limitations of computer representation , Two quantities that are theoretically equal but actually unequal are expected to be equal ;
4. Error in comparison operation or variable ;
5. Loop termination conditions may or may not occur ;
6. You cannot exit while iterating ;
7. Incorrectly modified the loop variable .
6. The process of integration testing includes which of the following ?
System integration testing mainly includes the following process :1. The validation process of the build . 2. Patch validation process . 3. System integration test team submission process . 4. Test case design process . 5. Test the code writing process . 6. Bug The process of reporting . 7. Once a week / Every two weeks of the build process . 8. Point to point testing process . 9. In group training process .
7. Which of the basic standards of software testing is correct ?()
(1) All tests should be traced back to user requirements .
(2) Should be “ Do software testing early and continuously ” As a motto .
(3)pareto principle : Of the mistakes found in the test 80% It probably originated in 20% In the module .
(4) It's impossible to test completely , The test needs to be terminated .
(5) The test shall be constructed by an independent third party .
(6) Pay attention to the clustering phenomenon in the test .
(7) Try to avoid random testing .
(8) Give consideration to reasonable input and unreasonable input data .
(9) After the program is modified, it needs regression test .
(10) Use cases should be retained for a long time , Until the system is abandoned .
( To be continued ... ...)
边栏推荐
- HCIA基础知识(1)
- [详解C语言]一文带你玩转选择(分支)结构
- SQL anti injection regular expression
- [MySQL] MySQL startup and shutdown commands and some error reports to solve problems
- Unity Huatuo hot update environment installation and sample project
- 7.13 蔚来提前批笔试
- 6.28同花顺笔试
- HCIA(网络初级综合实验练习)
- FID index reproduction step on the pit to avoid the pit text generation image FID quantitative experiment whole process reproduction (FR é Chet inception distance) quantitative evaluation experiment s
- Text to image paper intensive reading rat-gan: recursive affine transformation for text to image synthesis
猜你喜欢

解决方案:炼丹师养成计划 Pytorch+DeepLearning遇见的各种报错与踩坑避坑记录(三)

IS指标复现 文本生成图像IS分数定量实验全流程复现 Inception Score定量评价实验踩坑避坑流程

初识C语言(2)

科学计算库 —— Matplotlib

C语言实现小游戏【三子棋】注释详细 逻辑清晰 快来看看吧!!

left join 、inner join 、right join区别
![[explain C language in detail] this article takes you to know C language and makes you impressed](/img/37/205c1c6eb2ba704941e48ff89c6268.png)
[explain C language in detail] this article takes you to know C language and makes you impressed

Is index reproduction text generation image is score quantitative experiment whole process reproduction inception score quantitative evaluation experiment step on the pit and avoid the pit process

二层封装技术(HDLC、PPP--PAP\CHAP、GRE)实验练习
![[explain C language in detail] takes you to play with the choice (Branch) structure](/img/ca/7ee9f62a2478785c97684c7a0cc749.png)
[explain C language in detail] takes you to play with the choice (Branch) structure
随机推荐
解决方案:读取两个文件夹里不同名的文件,处理映射不对应的文件
shell课程总结
[MySQL] MySQL startup and shutdown commands and some error reports to solve problems
ospf协议概述以及基础概念
HCIA基础知识(1)
ACM模式输入输出练习
left join 、inner join 、right join区别
Realize data interaction between two apps through fileprovider
Run NPM run dev to run 'NPM audit fix' to fix them, or 'NPM audit' for details
Timestamp conversion Greenwich mean time
Solution to high collapse
解决方案:炼丹师养成计划 Pytorch+DeepLearning遇见的各种报错与踩坑避坑记录(二)
初识C语言(1)
Text to image论文精读DF-GAN:A Simple and Effective Baseline for Text-to-Image Synthesis一种简单有效的文本生成图像基准模型
Pseudo class of a element
6.28同花顺笔试
Solution: various error reports and pit stepping and pit avoidance records encountered in the alchemist cultivation plan pytoch+deeplearning (II)
Enumerated valueof() method stepping on the pit
uuid和索引建立规则
VLAN原理简述、具体实验配置