I successfully joined ByteDance with 27K, and this "Software Testing Interview Notes" has benefited me a lot

It has been two weeks since my friend joined the company , and the overall working environment is still very satisfactory! So this time I deliberately took the time to write this interview question for me, and I will share it with my friends, interview & entry experience!

It was probably in mid-May that he told me to submit his resume. In July, he received an offer after three rounds of interviews. Got 27K

Today, I will share with you all the possible questions that I sorted out at the beginning.

In addition, the interview questions here can be shared with everyone. In order not to affect everyone's viewing, I put down the method of obtaining at the end of the article!

personal information

  1. Self-introduction item (important)
  2. The biggest challenge in the project, the project that took the longest time, and the thing with a sense of accomplishment
  3. The most impressive bug in the project
  4. Is there anything you want to ask?
  5. Suitable for business testing or technical testing
  6. Why Byte
  7. Describe your strengths and weaknesses in 3 words

test

  1. Understanding of test development, why you want to do test development, understanding of test development
  2. Classification of software
  3. What is interface testing
  4. Test cases for WeChat red envelopes
  5. Test case for WeChat comment function
  6. Test the Alipay payment code and design test cases
  7. black box testing method
  8. white box testing approach
  9. The process of software testing
  10. How to design test cases for the login function?
  11. How to test online bank transfer, design a test case.
  12. Given a website, how should you test it?
  13. A paper cup with an advertisement, please design a test case?
  14. Imagine a login box, including ID, password, login, cancel, remember password (check box), write as many test points as you can think of?
  15. Test case for testing Taobao shopping cart
  16. Design a test case for Douyin sliding video up and down
  17. Design Douyin app user login test
  18. interrupt test
  19. Test in a scene and recommend filters
  20. Circle of friends like comment test case

Situational questions

  1. If many users in one area of ​​Douyin cannot download videos
  2. If the user receives a text message from the bank indicating that the deduction has been successful, but the merchant has not received the money, what do you think will be the problem?
  3. Enter a url, what happened?
  4. How to implement a user login function
  5. Reduce performance consumption caused by transactions under high concurrency?
  6. If an API interface has an unstable bug, how to determine it?
  7. If you submit a bug and the developer tells you that it does not exist, what should you do?
  8. Reasons why visiting pages load slowly and how to fix them
  9. If you disagree with your leader, what will you do
  10. If the image upload fails, analyze the reason
  11. For the comment function, how do you design the interface, and what are the main parameters that need to be passed?
  12. What is the reason for the white screen on the app page?
  13. During the full-link stress test, it was found that the CPU load rate of a certain server was 100%, and the disk and memory usage were normal. How would you analyze the possible cause?
  14. Design a system for buying train tickets, input the departure station and arrival station, and return all possible results
  15. What happens after the add to cart request
  16. Reasons why Taobao users fail to pay

If you have many puzzles in the software testing industry, welcome to communicate and discuss with me in the industry's communication group. There are free tutorial materials and testing resources at each stage in the group, hoping to help you break through the bottleneck in front of you

Python basics

  1. Python's memory pool mechanism
  2. The difference between python arrays and lists
  3. Which packages do you use in python, the standard library
  4. Difference between procedural and object oriented languages
  5. reflection
  6. python data structure
  7. The underlying implementation of dict and list
  8. python decorator, function, usage
  9. Advantages of compiled and interpreted languages
  10. garbage collection mechanism
  11. GIL lock
  12. is and ==
  13. The difference between __new__ and __init__
  14. Write multithreading in python, print 123 in a loop

operating system

  1. Read-write locks, differences, application scenarios
  2. What is the difference between thread and process
  3. What is a deadlock, the conditions of a deadlock
  4. How to prevent deadlock,! Avoid deadlocks, checks for deadlock occurrences
  5. What is the difference between the heap and the stack and the storage mode?
  6. Memory Leaks and Memory Overflows
  7. Multithreading and multiprocessing, and application scenarios
  8. Process communication method
  9. How does multithreading work
  10. How computer memory is managed
  11. Process Scheduling Method
  12. What are Linux user mode and kernel mode
  13. What is the difference between process state, process state ready and waiting state
  14. What is virtual memory for?
  15. Thread Pool
  16. Implementation of thread safety
  17. Process and thread context switching
  18. coroutine

computer network

  1. TCP three-way handshake, four-way wave process
  2. Why does the client wait for a period of time in the TIME_WAIT state
  3. CLOSING state
  4. If the server does not receive the third ack, but receives the data sent by the client, what will the server do?
  5. Talk about get and post
  6. http status code
  7. TCP and UDP
  8. The process of an HTTP request (the whole process from entering the URL to returning)
  9. http和https
  10. stateless and connectionless
  11. OSI seven-layer model, what protocols are there in each layer
  12. HTTP protocol request message structure
  13. How does TCP ensure reliable transmission and how to deal with packet loss
  14. Talk about sliding windows
  15. What is the difference between SYN and ACK packets in the TCP three-way handshake, and what is included
  16. How to implement RUDP if UDP wants to be reliable
  17. semi-join attack
  18. TCP sticky packet and unpacking
  19. What are cookies and sessions, why use cookies and sessions
  20. DNS protocol and function
  21. DNS query method
  22. Function and working mode of ARP protocol
  23. What is the maximum size of an Ethernet packet
  24. Are there security issues during the three-way handshake? Describe what security issues exist? How to defend against such security issues?
  25. web attack, CSRF attack
  26. How does TCP perform congestion control? How does congestion control determine congestion?
  27. How does TCP fast retransmission determine the loss?
  28. Where is the https certificate stored?
  29. Long connection and short connection and their respective applicable scenarios

database

  1. The sql statement takes the id group within one month and takes the name of the youngest student in each class in a grade. The grade table outputs the grades of the top three, and the last three. Copy the data of table A to table B to query that each subject has a score greater than 80 Screen out the records for each hour by the name of the students. Investigate where. Investigate the difference between the aggregation function where and having. Query the number of repetitions in a database SQL query. Query the student ID and average score of students who failed the average score (below 60) in the student score sheet. The name of the person with the highest score Usage of the user id limit who has logged in three times within a period of time in the user table
  2. Database engines and their differences InnoDB MyISAM MEMORY:
  3. How to query mysql log
  4. (Multiple) Reasons for slow query speed and how to solve it
  5. What is a database transaction? how to use
  6. The meaning and difference of primary key, foreign key and index
  7. The characteristics of transactions (ACID), talk about the meaning of each characteristic
  8. type of index
  9. What is a clustered index and what is a non-clustered index
  10. What is the data structure of the index
  11. prefix index
  12. MySQL/MongoDb port number
  13. The database has several forms of joins between tables (left join, right join, inner join, full join)
  14. Talk about the data structure and application scenarios in redis
  15. three paradigms
  16. database isolation level
  17. Why use b+ tree index instead of hash

Linux

  1. Common commands to view process ps view all processes long format ps -ef print current folder file ls -al a all files l detailed information soft link ln -sa target hard link ln create directory mkdir modify permissions chmod view files: move files mv can also rename copy file cp delete file rm -r recursive delete -f delete read-only file wildcard? Single character, *multiple characters, [az] character set grep regular search display line number -n query number -c reverse selection -v view specified process ps -ef | grep pid view command history history view disk space df -hl view file Size du Find files find [directory] Find by name -name "h*" Terminate a process starting with h kill -9 pid
  2. How to prevent newcomers from misuse rm -rf
  3. Find the process with process number 199 ls -ef|grep 199
  4. The number of lines containing keywords in a file grep -c "key" ./file
  5. The number of lines in the files ending in .log that contain keyword a but not keyword b grep "a" ./file | grep -cv "b"

puzzle

  1. A gold bar needs to be paid every day for a week and cut twice. How can I cut the gold bar into 1/7, 2/7, 4/7 and give change every day?
  2. 100 football teams will compete for a championship team in two matches. How many times should they play at least one team will be eliminated in each game, so 99 games are required?
  3. 25 horses and 5 tracks, ask for the top three
  4. 100 beans, 5 prisoners, whoever takes the most or the fewest beans will be executed, whoever has a higher probability of survival

Here I share my interview information with you for free, hoping to help you better break through and improve yourself!

These materials should be the most comprehensive and complete for friends who do [software testing], including many interview questions in the testing industry. Now share them with everyone for free

Guess you like

Origin blog.csdn.net/jiangjunsss/article/details/130084962