Common software testing pen questions

1, test case design methods What? Please describe the step of determining table design test cases.

A: The equivalence partitioning, boundary value analysis, extrapolation error, cause and effect diagrams, orthogonal table analysis, the scene analysis.

Table of test case design decision step: determining the number of rules; list all operation conditions of the pile and the pile; Condition filled to obtain an initial determination table; simplified merge the similar rule.

 

2, automated testing framework, which has several?

A: The modular frame, frame library; keyword-driven testing framework; data-driven framework.

 

3, the test coverage is divided into several statistical methods? What are they?

A: The code coverage; function module coverage; coverage database; demand coverage.

 

4. What is FMEA?

A: The failure mode and effects analysis, an important method in reliability design of the tower, a variety of risk assessment, analysis, in order to eliminate or reduce these risks to an acceptable level of risk based on existing technology.

 

5, list what you learned EMC testing and environmental testing projects.

A: EMC testing of electronic products is a comprehensive assessment of the size and performance, interference in electric fields, is one of the important indicators of the quality of products, electromagnetic compatibility test site measurement and test instruments have composed. EMC consists of two parts, namely EMI (interference) and EMS (sensitivity, interference).

 

6, how to develop a test plan?

A: The basic product, the demand test, test strategies and records, schedules, issue tracking and evaluation report on the results of the test plan.

 

7, what is effectively equivalent to an effective class, invalid equivalence class?

A: The value of the effective equivalence class specification for the program is reasonable set of input data sense configuration. Effective use of equivalence class may check whether the program to achieve the functions and features of the pre-set specification. Invalid equivalence class means the software specifications for data entry is no meaning and unreasonable collection.

 

8, please describe the process of TCP / IP connection is established

A: The three-way handshake to establish a connection.

First handshake, the client sends syn packets (syn = j) to the server, and enters SYN_SEND state, waiting for the server to confirm;

Second handshake, the server receives syn packets, must confirm the customer SYN (ack = j + 1), and also transmits a syn packet (syn = k), i.e., SYN + ACK packet, then the server enters a state SYN_RECV;

Third handshake, the client receives the SYN + ACK packet to the server, the server sends an acknowledgment packet ACK (ack = k + 1), this packet is sent, the client and server into the EATABLISHED state, complete three-way handshake.

 

9, call a DLL (dynamic link library), which has several ways?

A: One is the programming, direct calls to include a library file. Operating system called directly programmed programs.

Programming for the second time using LoadLibrary, FreeLibrary, GetProcAddress to dynamically load the program. When the programmed programs use the library file, the program is loaded on their own initiative.

 

10, which covers the white-box testing methods have?

A: statement coverage, decision coverage, condition coverage determination / coverage condition, a combination of coverage, path coverage.

 

11, the difference between processes and threads?

A: The thread execution unit is a process, the process can also scheduling entity.

The difference with the process:

(1), address space: an execution unit within the process; the process has at least one thread, they share the process's address space, and the process has its own separate address space;

(2), it has the resources: resource allocation and process is owned units, resources within the same process threads share the process;

(3), the thread is the basic unit processor scheduling process is not;

(4), both of which can be executed concurrently.

Guess you like

Origin www.cnblogs.com/kongtongshu/p/11235696.html