I met with Tencent in the morning and got 38K, which made me see the basic ceiling.

This year's school recruitment has basically entered the large-scale lottery season. Many friends have done well and got their favorite offers.

In major forums and communities, I have also seen many friends generously sharing common interview questions and eight-part essays. For this reason, we have also organized and classified them here, which can be regarded as a focus.

As the saying goes, stones from other mountains can be used to attack jade. It is helpful to read more and learn from others. Tencent is also recruiting people like crazy this time! After finishing this eight-part article, 40K is enough!

This summary covers a wide range of topics, including 15 technology stacks:

There are software testing basics, MySQL, Linux, Web testing, interface testing, App testing, management tools, Python automation, selenium, performance testing, LordRunner, computer network, composition principles, data structures and algorithms, logic questions, etc.

Software Testing Basics Interview Questions

1. What is software testing?

2. What is the purpose of software testing?

3. Goals of software testing

4. Principles of software testing

5. Testing workflow

6. Responsibilities of test engineers

7. How many categories of software are there?

8. Classification of software

9. Main aspects of testing

10.....

Software testing requirements analysis interview questions

1. When do demand personnel need to participate in demand analysis?

2. What if the needs keep changing?

Test Model Interview Questions

1. What are the common test models?

2. According to the "V" model, please outline the work tasks of testers in the software requirements definition phase, design phase, coding phase, system integration phase and the corresponding generated documents?

3. Description of W model?

4. Draw the V model diagram for software testing.

Test Plan Interview Questions

1. What is the purpose of test planning work? What does the test planning work include? Which of them are the most important?

2. What are the six elements of test plan writing?

3. During the execution of the project version, how do testers control the testing progress?

4. What issues need to be understood before formulating a test plan?

5. What items does the test plan include?

6. How to make a test plan?

7. What are test resources?

8. What are the risks and problems of testing?

Test Type Interview Questions

1. Please list the types of software testing you know, at least 5?

2. What are the differences and connections between black box testing, white box testing, unit testing, integration testing, system testing and acceptance testing?

3. What are the commonly used testing methods for black box testing and white box testing? What are some examples?

4. Briefly describe the advantages and disadvantages of black box testing and white box testing?

5. Is it possible to design a black box test without product specifications and requirements documents?

6. What are the strategies for unit testing and what are the main contents?

7. Briefly describe the process of integration testing

8. What are the criteria for entering and exiting integration testing?

9. What strategies do integration tests usually have?

10. What project documents need to be referenced when designing a system test plan?

11...

Use case design interview questions

1. What is a test case and the basic elements of a test case?

2. How to write test cases

3. Describe the complete process of test case design?

4. What are the characteristics of good test cases?

5. What are the principles for developing test cases?

6. Are test cases included in test baseline management? What is the process for changing test cases? How are test cases identified?

7. When should test cases be written? What is the basis? How to ensure the consistency between test cases and requirements? Is peer review required?

8. How are test cases designed?

9. How to ensure that use cases cover rare defects?

10、...

Defects bug interview questions

1. What is a defect report, the role of a defect report, and the key points of a defect report

2. Priority level of defect reports

3. Briefly outline the defect report

4. What items does a defect report include?

5. 5C principles of software testing defect reporting

6. What is the life cycle of software defects?

7. What should be included in the defect description (report form)?

8. How to improve the quality of defect recording?

9. If a defect is submitted and the developer thinks it is not a problem, what should be done?

10、...

Test Case

1. Given a website, how should you test it?

2. Please design a test case for a paper cup with advertising?

3. How to design a use case for an ID number input box?

4. How to design test cases for the login function?

5. What is the difference between mobile terminal and web terminal testing?

6. Factors to consider when testing a C/S client

7. Test the elevator, please describe in detail

8. Test a ballpoint pen

9. The difference between game testing and software testing

10、...

Liunx interview questions

1. Say more than 10 Linux commands

2. In RedHat, what command is generally used to switch from the root user to the userl user?

3. How to hide files in Linux?

4. In Linux system, the access permission of a file is 755. What does it mean?

5. How to check CPU information?

6. Check the process with the highest CPU usage?

7. How to check the last 50 lines of a file?

8. How to filter the lines containing "ERROR" in the file content?

9. Check a certain port number?

10、...

Liunx exercises

1. How to unmount a mounted file system from the current system

2. Which command is used to mount all file systems defined in /etc/fstab?

3. What kind of permissions does the user need to run a script?

4. Which of the following commands can copy f1.txt to f2.txt?

5. The command to display the last few lines of a file is:

6. How to quickly switch to the home directory of user John?

7. How to search and display all lines starting with "*" in a file?

8. What parameters are used in the ps command to display the processes of all users?

9. What symbol should be added at the end of a line to indicate that it is not over and will continue on the next line?

10、...

MySQL interview questions

1. What is a database?

2. What is a relational database, what are primary keys, foreign keys, and indexes?

3. Write the SQL syntax for adding, deleting, modifying and querying the table

4. What are the table connection methods in SQL?

5. What are the table connection query methods and what are the differences?

6. What are the three paradigms?

7. What is the complete execution sequence of SQL select statements?

8. Tell me about the principle of Mysql database storage?

9. What are the characteristics of the transaction?

10. Briefly describe what are stored procedures and triggers?

11. What is a database index?

12. How to optimize query efficiency in database?

13. Which Mysql engine are you using? What are the differences between the engines?

14. How to optimize query commands?

15. Database optimization?

16. How does Sql injection occur and how to prevent it?

17. What is the difference between NoSQL and relational database?

18. What is the most basic difference between MySQL and MongoDB?

19. How to implement paging in Mysql database?

Summary of classic interview questions for Wannian students

1. Add records to the student table and score table

2. Query all records in the student table

3. Query records 2 to 4 of the student table

4. Query the student number (id), name (name) and department (department) information of all students from the student table

5. Query the information of students in the Computer Department and English Department from the student table

6. Query the information of students aged 18~22 from the student table

7. Query how many people there are in each department from the student table

8. Query the highest score of each subject from the score table

9. Calculate the average score of each exam subject

10. Sort the computer test scores from high to low

11、....

Database enterprise real questions

1. Please write the SQL statement:

2. Write the following SQL statement

3. Write SQL

4. Use a SQL statement: Query the names of students whose scores are greater than 80 in each class (surface: TestScores)

5. SQL test questions

6. How to query the first 10 rows of a certain table in MySQL/Oracle

7. SQL interview questions

8. Database interview questions

9. Based on the SQL knowledge you have learned, write the following corresponding SQL statements, and the result returned by the database is: Delete the redundant student information that is the same except for the automatic number.

10. SQL questions:

11. The existing emp table has the following structure and data:

12. SQL writing questions

13. Write the SQL for question 1.2 based on the table structure:

14. Write SQL

15. There are three tables below:

16. Database interview questions

17. Group query

web testing interview questions

1. Describe the process of accessing http://www.baidu.com using a browser

2. Take the JD.com homepage as an example to design a use case framework. (Pay attention to the framework design logic, regional divisions, special tests, etc. No details are required..

3. How to test the purchase order and return process

4. What is SQL injection, what is cross-site scripting, and what is cross-site request forgery?

5. How to test a website for you?

6. How to test the e-commerce payment module?

7. How to conduct compatibility testing?

8. What are nginx and tomcatapache?

9. What is the difference between apache and nginx?

10. What are the methods of positioning elements in Selenium?

Interface testing interview questions

1. What is an interface?

2. If the module request changes from http to https, how should the test plan be formulated and modified?

3. What are the commonly used HTTP protocol debugging proxy tools? Detailed description of the setting process for capturing the HTTPS protocol?

4. Describe the hierarchical structure of the TCP/IP protocol and the important protocols in each layer

5. jmeter, the response result of an interface is as follows:

6. How to clean up the garbage data generated by the interface

7. How to deal with interfaces that rely on third parties

8. Where do you put the test data?

9. What is data-driven and how to parameterize it?

10. The request parameters of the next interface depend on the return data of the previous interface.

11. How to handle connections that depend on login

12. What are the steps for interface testing?

13. How to test interfaces that rely on login status in interface testing?

14. How to test interfaces that rely on third-party data?

15. Explain what is SOAP?

16. Explain what is REST API?

17. What types of bugs are discovered by API testing?

18. Which category does the interface we test belong to?

19. Where are cookies stored?

20. What are the request methods of HTTP?

21. What is the process of interface automation testing?

22. What are the key points in writing interface test cases?

23. Mention the key difference between UI level testing and API testing?

24. How HTTPS works

25. What are the advantages of HTTPS?

26. Disadvantages of HTTPS

27. The main differences between HTTPS and HTTP are as follows:

28. What is the difference between POST and GET?

APP test interview questions

1. What are the four major components of Android?

2. When you click the APP icon to start the program, what processes will occur?

3. What does APP testing mainly include and how to carry it out?

4. What content is considered in Android compatibility testing?

5. Write test points for the installation function of the App?

6. Commonly used ADB commands?

7. How to save the content to a local file when viewing the logcat command log?

8. App crashes (flashback), what may be the cause?

9. How to test and monitor the app’s memory usage, CPU consumption, and traffic usage?

10. How to test weak network

11. What does "//*[contains(@text,"Login")]" mean

12. What are the startup methods for Appium?

Python interview questions

1. Find N in the Pebonacci sequence?

2. Output the string in reverse order?

3. Determine palindrome?

4. Count the number of lines of code in the Python source code file, remove comments, blank lines, and output?

5. Does python call cmd and return the result?

6. Bubble sorting

7. How many different and non-repeating three-digit numbers can be formed from the four numbers 1, 2, 3, and 4? How many are they?

8. Given an integer N and a number K from 0 to 9, it is required to return the number of occurrences of the number K from 0 to N.

9. 1.1.1 Please use python to print out symmetric numbers within 10000 (characteristics of symmetric numbers: numbers are symmetrical, such as: 1, 2, 11, 121, 1221, etc.)

10. Determine how many prime numbers there are between 101-200 and output all prime numbers.

input and output

1. What problems will occur when modifying immutable data in the code? What exception will be thrown?

2. What underlying method in Python does print call?

3. Briefly describe your understanding of the input0 function?

4. How to extract the elements of the second level from a two-level list in python

Conditions and Loops

1. Read the code below and write the final values ​​of A0, A1 to An?

2. What is the difference between range and xrange?

3. Consider the following Python code. If the execution ends, what is the result on the command line?

4. Considering the following code, what is the result after running it?

dictionary

1. What is a dictionary?

2. The existing dictionary d={'a:24, 'g':52, individuals:12, k:33}. Please sort by the value in the dictionary?

3. Tell me the difference between dictionary and json?

4. What are mutable and immutable types?

5. Is the data stored in the dictionary sorted?

6. Dictionary derivation?

7. The existing dictionary d={ 'a' :24, ’g' :52,’I' :12, ’K :33}, please sort by the value in the dictionary?

string character

1. What is a Python string?

2. How to understand the \ character in strings in Python?

3. Please reverse the string "aStr"?

4. Please sort the elements in the alist according to their age from large to small.

list

1. What is a list in Python?

2. List added

3. Get and modify values: list name [index]: get the value based on the subscript.

4. Delete del list name [index]: delete the data at the specified index.

5. List name.remove(data): Delete the first specified data that appears.

6. List name.pop0: Delete the data at the end. Return value: Return the deleted element.

7. List name.pop(index): Delete the data at the specified index and return the deleted element.

8. List name.clear0: Clear the elements of the entire list.

9. Sort list name.sort0: Sort in ascending order from small to large.

10. List name.sort(reverse=True): Sort in descending order from large to small.

11. List name.reverse0: reverse the order of the list.

12. len (list name): Get the length of the list.

13. List name.count(data): the number of times data appears in the list.

14. List name.index(data): The index when the data first appears in the list. If it is not found, an error will be reported.

gather

1. What is a collection?

2. Quickly remove duplicate elements from the list

3. Intersection: shared parts

4. Union: the total part

5. Difference set: the part that is not in another set

6. Symmetric difference set (in a or b, but not both at the same time)

File operations

1. How to read 5G data from 4G memory? (2018-3- 30-bxy)

2. Now we need to process a file with a size of 10G, but the memory is only 4G. If we only modify the get.lines function and other...

3. read. What is the difference between readline and readlines?

function

1. When calling a Python function, is the parameter passed by value or by reference?

2. Understanding of default parameters?

3. Why can function names be used as parameters?

4. What is the function of pass statement in Python?

built-in functions

1. Map function and reduce function?

2. What are the conditions for the recursive function to stop?

3. How do callback functions communicate?

4. What are the main built-in data types of Python? What is the output of printdir( 'a ”)?

5. What is the output of printlist(map(lambda x:x * x, [y for y in rang(3)])?

Lambda

1. What is a lambda function? What are its benefits?

2. What is a lambda function? What are its benefits? Write an anonymous function to find the sum of two numbers?

object-oriented

1. What are the characteristics, advantages and disadvantages of structured programming and object-oriented programming?

2. Mutable objects and immutable objects in Python?

3. What is the difference between is and == in Python?

4. Python’s magic method?

5. How to implement read-only attributes in object-oriented?

6. Talk about your understanding of object-oriented?

selenium interview questions

1. What is Selenium?

2. What is Selenium Webdriver

3. What is elenium IDE?

4. Based on the operating principles of commonly used automated testing tools, write a piece of code for element search?

5. How to build an automated testing framework?

6. How to design automated test cases:

7. How does webdriver open and exit a browser?

8. What is an automated testing framework?

9. What is Selenium and what are the popular versions?

10. How do you start Selenium RC from the command line?

11. Port 4444 on my machine is not free. How can I use another port?

12. What is Selenium Server and how is it different from Selenium Hub?

13. How do you connect to the database from Selenium?

14. How do you verify that an object exists on multiple pages?

15. What is the difference between single slash and double slash in XPath?

16. How to write user extensions for Selenium IDE/RC?

17. How to verify the existence of an element after the page loads successfully?

Performance testing interview questions

1、性能测试有哪些分类

2、你认为性能测试的目的是什么?做好性能测试的工作的关键是什么?

3、服务端性能分析都从哪些角度来进行?

4、如何理解压力测试,负载测试以及性能测试?

5、如何判断是否有内存泄漏及关注的指标?

6、描述软件产“生内存泄露的原因以及检查方式。(可以结合一 种开发语言进行描述)

7、简述什么是值传递,什么是地址传递,两者区别是什么?

8、什么是系统瓶颈?

Loadrunner 面试题

1、LoadRunner的工作原理是什么?

2、LoadRunner分哪三部分?

3、LoadRunner进行测试的流程?

4、什么是并发?在lordrunner中,如何进行并发的测试?集合点失败了会怎么样?

5、LoadRunner脚本如何录制和编写?

6、LoadRunner中的Think Time有什么作用?

7、在搜索引擎中输入汉字就可以解析到对应的域名,请问如何用LoadRunner进行测试?

8、一台客户端有三百个客户与三百个客户端有三百个客户对服务器施压,有什么区别?

9、客户交付一个性能测试项目,请阐述你的实施流程。

10、解释5个常用的性能指标的名称与具体含义。

11、写出5个Loadrunner中常用函数,并对其中2个举例说明用法。

12、简述LoadRunner的工作原理?

13、什么是集合点?设置集合点有什么意义? LoadRunner 中设置集合点的函数是哪个?

14、HTML-based script与URL based script的脚本有什么区别?

15、如何设置LaodRunner才能让集合点只对一半的用户生效?

16、LoadRunner的Controller组件中Pacing 参数的作用是什么?

17、LoadRunner中如何监控Windows资源?

18、如果让QALoad模拟LoadRunner中只对关注的性能点进行迭代测试,你有什么好方法?

19、什么是负载测试?

20、什么是性能测试?

21、说明负载测试过程?

22、我们什么时候做负载和性能测试?

计算机网络基础 面试题

1、什么是局域网和广域网

2、DNS是什么,它是如何工作的?

3、描述TCP/IP协议的层次结构,以及每一层中重要协议。

4、请简述ip地址,网关,子网掩码的含义.

5、简述子网掩码的用途。

6、一台计算机的 IP 是 192.168.10.71 子网掩码 255.255.255.64 与 192.168.10.201 是同一局域网吗?

7、请简述DNS.活动目录、域的概念。

8、10M兆宽带是什么意思?理论下载速度是多少?

9、什么是IP地址?

10、OSI七层网络模型的划分?

11、TCP和UDP有什么不同?

12、HTTP属于哪一层的协议?

13、HTTP和HTTPS的区别?

14、cookies和session的区别?

总结:

所有的面试题目都不是一成不变的,上面的面试题只是给大家一个借鉴作用,最主要的是给自己增加知识的储备,有备无患。上面分享的2023最新1000+软件测试面试题的答案都整理成了PDF文档。有需要的朋友可以点赞+私信关键词“资料”免费获取!

Guess you like

Origin blog.csdn.net/a448335587/article/details/134818147