Software testing interview preparation work

1. What is a database?

A: The database is organized according to a certain data model and stored in the secondary memory the data set.

2. What is a relational database?

A: The establishment of a database is a relational database in the relational database model on the basis of data in the database by means of a set of concepts and methods of algebra. Currently there are mainstream relational database: oracle, SQL, DB2, sqlserver, access, sybase and so on.

3, the advantages and disadvantages of primary key, foreign key role, the index?

A: Primary key: uniquely identifies key table. Action: to ensure the integrity of the entity; speed up operations of the database; table adding new records, the database will automatically retrieve the new primary key of the record, which does not allow duplicate primary key values ​​recorded in the table other; databases by the primary key display order of the values ​​of the recording, if the primary key is not set, the display order of the input records press.

Foreign key: the dependent primary key, represents the link between the two tables. Role: foreign key to avoid redundancy.

Index of advantages:

1, through the creation of a unique index, the table can guarantee uniqueness of the data;

2, data retrieval speed is accelerated;

3, to speed up the connection between the table and the table;

4, when a packet data retrieval and sorting can be significantly retrieve the packet and the time ordering;

5, hidden in the process of optimizing the use of query to provide system performance.

Disadvantages:

1, it takes time to create the index, and with the increase in the amount of data increases;

2, index requires additional physical space;

3, when the data in the table to be modified, but also dynamically maintains an index, reduced data rate maintenance.

4. What type of test?

A: The black box testing, white box testing, unit testing, integration testing, functional testing, system testing, load testing, performance testing, compatibility testing, usability testing, install | uninstall testing, recovery testing, security testing, comparison test, Alpha test , Beta testing, end to end testing, sanity testing, failure test, tested, cumulative comprehensive test.

5, black box and white box definitions and differences? Several stages test points? Differences and connections between these stages?

A: The black box testing: do not care about the internal structure of the software, only care about input and output, the main test is based on the requirements document;

White-box testing: Focus on internal structures and procedures of software design and implementation, the main test is based on design documents;

Differences: white box only consider testing software products, he does not guarantee the completeness of requirements specifications are met;

Only consider the black-box testing requirements specification, it does not guarantee that all parts of the test to be implemented;

Black box testing will find the missing defects, pointed out that some of the specifications of which have not been completed;

Acting in the white-box testing will find defects, which pointed out that to achieve some wrong.

Test points: unit testing, integration testing, system testing and acceptance testing.

Unit testing: testing typically employed by the whitebox development team, the main test unit meets the requirements of the detailed design specifications.

Integration Testing: boundary between the unit and system testing, act as a "bridge", typically by the development team or teams test using white box + black box way to test, test the overall functionality of the major modules and interfaces integration, validation and outline design specification of conformity.

Test system: typically by an independent test panel using a black box approach to testing, the main test system meets the requirements of the requirements specification.

Acceptance Testing: Very similar to the system testing, the main difference is the different testers, user acceptance testing is performed by or on behalf of the end user.

6, test case design methods are there?

Black box test case design are: equivalence partitioning, boundary value, cause analysis and error guessing FIGS;

White box test case design are: statement coverage, decision coverage, condition coverage determination / condition coverage, multiple condition coverage.

7, test case design methods are there?

Black box test case design are: equivalence partitioning, boundary value, cause analysis and error guessing FIGS;

White box test case design are: statement coverage, decision coverage, condition coverage determination / condition coverage, multiple condition coverage.

8, performance testing process?

1. Test Requirements Analysis 2. Test planning and test case design and development review 3. 4. 5. test execution and monitoring analysis of test results

6. Develop performance test report 7. Test Experience.

9, a test, B test definitions?

Testing is a software development company within the organization, simulate all kinds of users, software products are immediately available for testing, trying to find errors and fix process.

β test is a test conducted multiple user software in actual use environment, these user-related error message is returned to the developer.

10, elements of the test case?

With Example No., name of the test, significance level, pre-conditions, the test input, the steps, expected results.

11, stress testing and load testing?

Load testing: normal operation time is short, and gradually pressurized in the system, until the performance index is saturated (such as response time than expected requirements, such as high utilization of system resources) to verify the expected system performance goals, corresponding time Wait.

Stress Test: long-running, gradually increasing overload (concurrent, looping, multi-user, etc.), until the system is abnormal and abnormality processing capability to verify the reliability of the system, to find bottlenecks in the system. ** Microsoft experience stress test is 72 hours. **

12. What is regression testing?

Regression Testing: After the defect correction, execute test cases meet certain conditions to ensure the correction of defects in the software without introducing new defects that may exist in the software module being tested, it may also be related or unrelated in the other software modules. When the software environment is altered or the use of software changes, the need for regression testing.

13, briefly bug's life cycle?

1, recording effectively BUG

2, using the template BUG

3, the priority and severity evaluation BUG

4, BUG life

5, database maintenance BUG

14, defect record shall contain?

Defect identification, defect type, defect severity, the possibility of defects, defect priority, defect status, defect origin, the source of defects, defect reason;

Reproduced in: https: //www.jianshu.com/p/d94acd3ad54a

Guess you like

Origin blog.csdn.net/weixin_34162629/article/details/91161260