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
- Self-introduction item (important)
- The biggest challenge in the project, the project that took the longest time, and the thing with a sense of accomplishment
- The most impressive bug in the project
- Is there anything you want to ask?
- Suitable for business testing or technical testing
- Why Byte
- Describe your strengths and weaknesses in 3 words
test
- Understanding of test development, why you want to do test development, understanding of test development
- Classification of software
- What is interface testing
- Test cases for WeChat red envelopes
- Test case for WeChat comment function
- Test the Alipay payment code and design test cases
- black box testing method
- white box testing approach
- The process of software testing
- How to design test cases for the login function?
- How to test online bank transfer, design a test case.
- Given a website, how should you test it?
- A paper cup with an advertisement, please design a test case?
- Imagine a login box, including ID, password, login, cancel, remember password (check box), write as many test points as you can think of?
- Test case for testing Taobao shopping cart
- Design a test case for Douyin sliding video up and down
- Design Douyin app user login test
- interrupt test
- Test in a scene and recommend filters
- Circle of friends like comment test case
Situational questions
- If many users in one area of Douyin cannot download videos
- 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?
- Enter a url, what happened?
- How to implement a user login function
- Reduce performance consumption caused by transactions under high concurrency?
- If an API interface has an unstable bug, how to determine it?
- If you submit a bug and the developer tells you that it does not exist, what should you do?
- Reasons why visiting pages load slowly and how to fix them
- If you disagree with your leader, what will you do
- If the image upload fails, analyze the reason
- For the comment function, how do you design the interface, and what are the main parameters that need to be passed?
- What is the reason for the white screen on the app page?
- 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?
- Design a system for buying train tickets, input the departure station and arrival station, and return all possible results
- What happens after the add to cart request
- 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
- Python's memory pool mechanism
- The difference between python arrays and lists
- Which packages do you use in python, the standard library
- Difference between procedural and object oriented languages
- reflection
- python data structure
- The underlying implementation of dict and list
- python decorator, function, usage
- Advantages of compiled and interpreted languages
- garbage collection mechanism
- GIL lock
- is and ==
- The difference between __new__ and __init__
- Write multithreading in python, print 123 in a loop
operating system
- Read-write locks, differences, application scenarios
- What is the difference between thread and process
- What is a deadlock, the conditions of a deadlock
- How to prevent deadlock,! Avoid deadlocks, checks for deadlock occurrences
- What is the difference between the heap and the stack and the storage mode?
- Memory Leaks and Memory Overflows
- Multithreading and multiprocessing, and application scenarios
- Process communication method
- How does multithreading work
- How computer memory is managed
- Process Scheduling Method
- What are Linux user mode and kernel mode
- What is the difference between process state, process state ready and waiting state
- What is virtual memory for?
- Thread Pool
- Implementation of thread safety
- Process and thread context switching
- coroutine
computer network
- TCP three-way handshake, four-way wave process
- Why does the client wait for a period of time in the TIME_WAIT state
- CLOSING state
- If the server does not receive the third ack, but receives the data sent by the client, what will the server do?
- Talk about get and post
- http status code
- TCP and UDP
- The process of an HTTP request (the whole process from entering the URL to returning)
- http和https
- stateless and connectionless
- OSI seven-layer model, what protocols are there in each layer
- HTTP protocol request message structure
- How does TCP ensure reliable transmission and how to deal with packet loss
- Talk about sliding windows
- What is the difference between SYN and ACK packets in the TCP three-way handshake, and what is included
- How to implement RUDP if UDP wants to be reliable
- semi-join attack
- TCP sticky packet and unpacking
- What are cookies and sessions, why use cookies and sessions
- DNS protocol and function
- DNS query method
- Function and working mode of ARP protocol
- What is the maximum size of an Ethernet packet
- Are there security issues during the three-way handshake? Describe what security issues exist? How to defend against such security issues?
- web attack, CSRF attack
- How does TCP perform congestion control? How does congestion control determine congestion?
- How does TCP fast retransmission determine the loss?
- Where is the https certificate stored?
- Long connection and short connection and their respective applicable scenarios
database
- 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
- Database engines and their differences InnoDB MyISAM MEMORY:
- How to query mysql log
- (Multiple) Reasons for slow query speed and how to solve it
- What is a database transaction? how to use
- The meaning and difference of primary key, foreign key and index
- The characteristics of transactions (ACID), talk about the meaning of each characteristic
- type of index
- What is a clustered index and what is a non-clustered index
- What is the data structure of the index
- prefix index
- MySQL/MongoDb port number
- The database has several forms of joins between tables (left join, right join, inner join, full join)
- Talk about the data structure and application scenarios in redis
- three paradigms
- database isolation level
- Why use b+ tree index instead of hash
Linux
- 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
- How to prevent newcomers from misuse rm -rf
- Find the process with process number 199 ls -ef|grep 199
- The number of lines containing keywords in a file grep -c "key" ./file
- 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
- 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?
- 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?
- 25 horses and 5 tracks, ask for the top three
- 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