当前位置:网站首页>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 ... ...)
边栏推荐
- 选择器的使用语法与场景以及背景图片大小、文字盒子阴影、过度效果的使用方法
- Specify that SQL only supports select syntax
- Autojs learning - realize image cutting
- [daily question] 565. Array nesting
- Js九九乘法表
- Beyond hidden display ellipsis
- JS -- first understand the naming rules and data types of JS and variables
- ACM模式输入输出练习
- Text to image intensive reading df-gan:a simple and effective baseline for text to image synthesis
- Enumerated valueof() method stepping on the pit
猜你喜欢

Unity Huatuo example project source code analysis and inspiration

7.13 蔚来提前批笔试

初识C语言(1)

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

Flink1.13.6详细部署方式
![[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

Freytek central computing platform 360 degree sensing system solves the challenges behind NOA mass production

事务数据库及其四特性,原理,隔离级别,脏读,幻读,不可重复读?

mysql一个select语句的执行过程
![[explain C language in detail] takes you to play with functions](/img/44/53cdac9b9cf0d3f77e5da05956c3dc.png)
[explain C language in detail] takes you to play with functions
随机推荐
Introduction to network - Introduction to home networking & basic network knowledge
Pseudo class of a element
Js九九乘法表
TCP的三次握手与四次挥手(简述)
解决方案:读取两个文件夹里不同名的文件,处理映射不对应的文件
引用的通俗讲解
The gradient descent method and Newton method are used to calculate the open radical
Text to image paper intensive reading ssa-gan: text to image generation with semantic spatial aware Gan
Text to image论文精读RAT-GAN:文本到图像合成中的递归仿射变换 Recurrent Affine Transformation for Text-to-image Synthesis
dlib安装失败解决办法
7.7 SHEIN希音笔试
[FPGA tutorial case 29] the second DDS direct digital frequency synthesizer based on FPGA - Verilog development
[explain C language in detail] this article takes you to know C language and makes you impressed
HCIA(网络初级综合实验练习)
三种能有效融合文本和图像信息的方法——特征拼接、跨模态注意、条件批量归一化
Difference between fat AP and thin AP & advantages and disadvantages of networking
Flink1.13.6详细部署方式
OSPF的重发布及路由策略
科学计算库 —— Numpy
静态综合实验(静态路由、环回接口、缺省路由、空接口、浮动静态的综合练习)