I won the Huawei test post in 3 months. If I had known that Huawei was so easy to get in, I would have...

Let me talk about my situation first, a 211 undergraduate majoring in computer science, I worked as a programming teacher in Shenzhen for about half a year, and then transferred back to Changsha internally, and found it a bit difficult after I came back. False promises are very powerful. If you want to give false promises to those parents to deceive them, there is no technical improvement, and the salary will naturally not increase (not to mention the increase, it is lucky if it does not decrease), and then resigned, and then After a period of self-study, I faced Huawei od (in the current environment, I am very satisfied with this situation).

Preparation

Because I also took students to play csp before, it is not difficult for me to do the questions. I passed through Huawei hj103, and I also did some dynamic programming questions.

Afterwards, I asked hr for the link to the computer-based test, went through the previous questions a little bit, found some real questions and did it, and then went to the test. It’s absolutely amazing. Before the exam, I called the people at home and told me not to call me, so as not to affect the exam. As a result, people from the community came to check the natural gas usage that night, knocked on the door, and gave me a lot. a little nervous.

At the same time, I also prepared a software testing video tutorial, which is placed at the end of the article. If you need it, you can watch it directly, or directly click on the small card at the end of the article to get the information document for free

interview process

talk about the topic

first question

It is a mock question. You are given a number n and the next n lines of strings. The strings are attendance records, allowing you to judge which records are abnormal. Just such a question, I don't know if there is a problem with reading the question or what, I can only pass more than 30% of the samples, and after dozens of minutes, I gave up and started to do the second and third questions.

second question

The first character is R, the second is BR, the third is RBBR, and the fourth is RBBRRBBR....... Ask you to give you a number n and a number k, indicating the nth string The kth character, what is this character, if it is B, output blue, if it is R, output red

This is a typical dp, but if it is written directly, the space complexity is 2^n, and it needs to be optimized by binary, which is simple.

third question

Give you a bunch of numbers, and ask you the maximum number of combinations that can form a right triangle, you need to use search backtracking to do it.

The next step is the personality test. You can choose according to optimism, willingness to help others, and willingness to work overtime. Later, you passed the personality test.

After the result, hr said that there was no hc here, and asked me if I would go to Xi'an, and I chose not to go. Later, they told me that there was a hc, and asked me to prepare quickly.

After a while, it feels quite simple. Maybe the interviewer knew that I was changing careers and didn't ask deep questions to embarrass me.

I started the interview and sent a question directly, asking me to do it first.

The topic is this:

Source array a, multiply all elements in a by 2 and add to a, then this a is called a double array, give you an array a, judge whether it is a double array, if it is, output the source array, if not, output empty array.

Ideas:

Accept the input, store it in a, copy one copy and store it in b, open two arrays single and double for storage after filtering, traverse b with i, if i*2 is in a, pop i and i from a *2, and add them to single and double respectively.

After the traversal is completed, if a is empty, it means that all elements have been filtered out, then a is a double array, and single will be output, otherwise an empty array will be output.

Special attention should be paid to the screening of 0, because 0*2 is still 0, you can write a special judgment in advance to deal with it.

After finishing, the interviewer took a brief look and asked me to talk about my thoughts. Then there is self-introduction. I briefly introduced two automation programs I wrote, and a Python program I wrote with students to participate in the competition. The interviewer was satisfied after reading it, saying that it could be combined with testing work, and asked a question later. For the scene topic, when extending the question, I mentioned the connection between my automation skills and testing work.

Asked: What do you think of functional testing, according to your understanding, what does the work include?

To be honest, I feel that this question is too abstract for me, so I answered the test process again. Then the interviewer may feel that the answer is not good, but he doesn't want to give me too negative evaluation, he hesitated and said: Your answer is really basic

Asked: What is the difference between black box testing and white box testing?

This is simple, the black box can see the function and UI, but not the code, and the white box can see the code.

Asked: Suppose our company is developing a software version 1.0 similar to WeChat, and now we want you to test this function: open the chat window, enter text, limit the number of characters to 200 characters, and ask you how to extract test points.

I didn't answer this scene question very well. I thought of using the equivalence class division method to design test samples. The effective equivalence class is to open the chat window and enter a text within 200 characters. The invalid equivalence class includes opening In the chat window, enter non-text information, such as trying to paste pictures; open the chat window, enter text information, and the number of characters exceeds 200;

Later, the interviewer reminded me that I need to do a compatibility test to test whether the functions are normal on different systems, pc and mobile terminals, and there are preconditions to ensure that the network is normal.

Then continue to ask: How do you think the automation skills you will be connected with this test scenario, and how to do automated testing.

Because one of the automation programs I just showed is to automatically reply to WeChat messages, which is very similar to this one, so I answered that the program just now can be used for this test with a slight modification. In addition, the function that needs to be added should be to read The data in the excel sheet is used for testing.

Asked: what tools do you know about interface testing

I don't know much about this, so I said a postman and jmeter

Then there is the question-and-answer session, asking me what I want to ask.

I asked, for the position of software testing, what else do I need to improve.

If you are hired, what measures does our company take to help and supervise the growth of newcomers?

Will there be a salary increase as technology improves?

In general, I think I performed well in the link of doing the questions and showing my code, but the answers to some questions that are more closely related to the test are not particularly good.

Oh yes, there is another episode, asking me a linux command

Ask what command to use if you want to move a file to another folder

I opened my mouth and came: rm! ! !

After I finished speaking, I felt that the other party seemed to be stunned.

I realized it myself, and I said something wrong, so I immediately corrected it and said it was move, and the command was mv

Should I say it or not, the little oolong in the interview is too funny!

interview notes

I also compiled a set of the latest software testing system learning tutorials for you, including testing theory, Linux basics, MySQL basics, Web testing, interface testing, App testing, Python basics, Selenium related, performance testing, LordRunner related, etc.

1. Fundamentals of software testing

What are the steps of software testing?
How to record test scripts?
How to test the test method should be considered How to
estimate the test workload?
Problems in test design
When errors occur in the test process, what are the solutions?
Test execution problems
Test evaluation The goal
How to improve the test?
The advantages and disadvantages of the C/S mode
The advantages and disadvantages of the B/S mode
...

3c82f41158444bcda15c822e5f8601ba.png

Two, Linux  

What is the difference between grep and find? What are the usages of grep?
Check the IP address?
Create and delete a multi-level directory? Find the haha.txt
file in the current user's home directory?
Linux command?
Dynamically view log files?
View system hard disk space commands?
View all ports of the current machine listen?
 …

85b07614953a449583a02dee5352f86c.png

3. Python  

Count the number of lines of code in the python source code file, remove comments, blank lines, and output?
Python calls cmd and returns the result?
Bubble sort
1, 2, 3, 4 How many different and How much are the three-digit numbers without repetition?
Please use python to print out symmetric numbers within 10000 (symmetry number features: numbers are symmetrical left and right, such as: 1, 2, 11, 121, 1221, etc.)
Given an integer N, and a 0 The number K of -9 is required to return the number of occurrences of the number K in 0-N.
Determine how many prime numbers there are between 101-200, and output all the prime numbers.
A function that inputs a triangle. After input, the output can form a triangle, the type of triangle, Please use the equivalence class-partition method to design test cases
...

4d29dda5375c46b49727deb0f22a4b1b.png

4. Database

Which Mysql engine do you use? What is the difference between each engine?
How to optimize the query command?
Database optimization?
Mysql database operation?
Optimize the database? Improve the performance of the database?
What is data integrity?
..... .

8d0e3f2061714bb783e83dba438289bb.png

5. Packet capture and network protocol

How to use the packet capture tool?
How to grab https packages? How to grab the phone's package?
What are the request methods?
What is the difference between get and post requests? The difference between http and https?
 …

afb3982076954fcb94b86a2b1e6d2d33.png

6. Interface Test

What is an interface?
If the module request is changed from http to https, how should the test plan be formulated and modified?
What is the commonly used HTTP protocol debugging agent I? Detailed description of the setting process for capturing the HTTPS protocol?
Describe the hierarchical structure of the TCP/IP protocol, and each -The important protocol
jmeter in the layer, the response result of an interface is as follows:
how to clean up the garbage data generated by the interface, how to
deal with the third-party interface,
where do you put the test data?
What is data-driven, how to parameterize?
……

192c573a99754dd1a76b9a64b563b5d4.png

Seven, interface automation

Why do interface automation? 
How many interface automation use cases have you written?
For example, the request parameters of your interface need to be encrypted. What encryption method do you use, and how do you encrypt it? If you query and return the result 
is ciphertext, how do you test the ciphertext?
 …

67fbc0acd74346a88d0b4ddea23bbaa0.png

8. UI automation and app testing

How to test UI automation?
What is the setup of the automated testing environment? 
What functions have been used in the seleniun library?
What are the 8 methods for positioning elements?
css positioning method?
What is the role of adb? 
How does App stability work? How does Monkey use p (App stability test)?
How does App weak network test work?
 …

d8c5f03dd09747d9baace68c9ace64d6.png

60cccc09eeb14b8b80542ada7a598767.png

Nine, Pytest framework and Unittest framework

What are the components of the Unittest framework? 
How to use the Unittet st framework? 
How does the pytest framework generate test reports?
How does bytes run multiple files or the entire directory? How does the pytest
framework run the last failed test case?
What are there? 
 …

d46ee47614e446e4883dc5627805052b.png

d3cb4f9f23884541a12340ccafe279f8.png

10. Performance test

What do you think is the purpose of performance testing? What is the key to doing a good job in performance testing?
From what angles are server-side performance analysis performed?
How to understand stress testing, negative testing and performance testing?
How to judge whether there is a memory leak and Indicators of concern?
Describe the causes of memory leaks in the software and the inspection methods. (It can be described in combination with a development language) Briefly
describe what is value transfer, what is address transfer, and what is the difference between the two?
What is the system bottleneck?
...

7fd51d29aa264bdeaef4f9a23ab30bd8.png

  
11. Human resources 

What is your testing career progression? What do you think are the advantages of doing testing?
Why should we admit you?
Please tell us about your personal best feature.
What qualities and skills should a test engineer possess?
Why did you choose to test this line?
If I hire you, what contribution can you bring to the department?
...

c0eafbcdb42742cbbfbee4e75c2ff530.png

The entire document has a total of nearly 200 pages . It is definitely unrealistic to show you all. In order not to affect your reading experience, only part of the content is shown. I hope you will understand and hope to help you review before the interview and Find a good job, and save everyone's time searching for information on the Internet to learn!

Where to watch the video tutorial:

[Software Test] Use 300 interview questions to help you log in, brush it once a day, let you directly enter the job, and get your favorite offer_哔哩哔哩_bilibili [Software Test] use 300 interview questions to help you log in, brush it once a day, let You directly join the job and get a total of 200 videos of your favorite offer, including: Interview explanation 1——Meituan Zhenti 1—Given a scenario, talk about your test case design ideas, a complete set of software testing materials and learning routes, interview explanation 2—— Meituan Zhenti 2 - Let’s talk about the difference between session and token verification, etc. For more exciting videos from the UP master, please follow the UP account. https://www.bilibili.com/video/BV1SY4y1p7k6/?vd_source=74d0257ec7066cc4f9013524f0bb7013#reply175533904208

784b1896e9b943e188e13e5b8514aeab.jpeg

Guess you like

Origin blog.csdn.net/HUA1211/article/details/132145974