Record a Python Web backend development phone interview, python backend

Source: Internet
Author: User

Record a Python Web backend development phone interview, python backend

The telephone interview was completed on Wednesday afternoon the day before yesterday. Originally, I wanted to communicate on the other end of the phone at that time, but I chose another appointment time after I learned that I had no time for the interviewer that night, so I changed it to on Saturday ~ .

 

I don't know what happened yesterday. It may have been a long time to stare at the screen at the company. When I came back, I found my right eye was full of blood. After dinner, my eyes hurt too much, so I fell asleep at over 8 o'clock. I woke up at midnight and found that I couldn't sleep. When I played the game, I re-adjusted the alarm clock on my cell phone for fear of oversleeping. Fortunately, I woke up at and got ready to answer the phone at around. I was busy sending the book Flask Web development over half an hour, I thought that the interviewer would focus on asking me to talk about the details of the project. Fortunately, the phone interview was just about technology and I didn't ask any details about my project.

 

Without knowing it, I waited for ten minutes and thought that this time I was put up with a pigeon, and the phone number was still there at 10:06. As usual, I checked whether I was myself and then reported to the House.

 

Then I briefly asked what my current company is doing and why I want to change jobs. I have answered two questions: the first is that the embedded industry is already going downhill, and the second is that it prefers the Internet industry compared with embedded itself. When I graduated, I chose embedded because I didn't know what I really liked, the major is communication engineering, which is closer to this. In fact, these two points can be counted as one point, and the interviewer did not continue to ask me.

 

Then I asked technical questions, when did I start to learn Python, and answered questions from the end of last year to the beginning of this year, I am familiar with this project again.

 

Then, I asked how much Python has learned. The answer may be worse than that of C, but after a project is created, I found that it is okay to assume the project independently. Then there is a question about the C language. How does one know the number of bytes free after malloc () in C, however, the question may be forced by the method of asking... then I paused and said that I only knew that malloc () was implemented through the linked list.

 

# For this question, Stack Over Flow has the answer above: http://stackoverflow.com/questions/1518711/how-does-free-know-how-much-to-free

 

 

 

Then, we can say that Python requires manual memory management than C, how Python manages memory, or how garbage collection is performed. Then I replied to the reference counting method for garbage collection, and the interviewer seemed not satisfied. Then I asked if there were any other questions, and then I was instantly overwhelmed, after a pause, I thought about it and replied that in addition to the active garbage collection by reference counting, the active memory is also released through del object.

 

Then there is the network protocol section. First, I asked what network protocols I had, indicating that I didn't understand what the interviewer really wanted to ask. I thought I wanted to ask the OSI Layer-7 model of the network. Then the interviewer said no, then I said it was the network protocol at the application layer. I only answered HTTP and FTP, and the interviewer did not ask much. Then I wrote on my resume that I was familiar with the LAMP architecture, and then asked about the architecture besides the LAMP architecture .... I may not quite understand what the interviewer meant. Then I am talking a bunch of things about P, PHP, Python, Apache, Nginx, and Node. js, Ruby on Rails ....

 

Then, what are the HTTP request methods? GET/POST/PUT/DELTE/OPTIONS... spit these out in one breath. After that, the interviewer does not want to let me continue. Then what is the difference between GET and POST? The answer is: GET data is transmitted through URL, while POST data is transmitted through HTTP body, which provides better security for POST, the interviewer continues to ask if there are any questions. After the pause, I had to answer questions that I didn't expect .... sad.

 

# On the Difference Between GET and POST, after reading this article: http://www.cnblogs.com/hyddd/archive/2009/03/31/1426026.html# briefly summarizes the difference between GET and POST: #1. Power. GET is the request data, with no side effects. Each request has the same effect. POST is used to modify data, which is less secure than GET (because data needs to be modified ). #2. Security. GET transfers data through URL, so it is easy to leave private data in historical records and so on. It is not good for concealment and not for POST. #3. length limit. Generally, data is transmitted in GET mode. Due to Web Server and browser restrictions, the URL length limit is limited for data transmission (depending on the Web Server configuration and browser, generally 2 kb ~ 8 KB), while the POST can usually ignore the limit (in fact, there is still a limit based on the Web Server configuration, usually 2 GB ). Reference Stack Over Flow answer: http://stackoverflow.com/questions/2659952/maximum-length-of-http-get-request
# Another comprehensive induction is W3CSchools: http://www.w3schools.com/tags/ref_httpmethods.asp#, one of the differences is that GET transmission data type can only be ASCII code, and POST can also transmit binary data.

 

  

The last question is the HTTP status code, of course, the most common 200 OK, then 301 Moved Permanently, 302 Moved Temporarily (Found), then the interviewer asked 303 (See Other), and then he was forced, the answer is transfer. What is transfer... then 404 was completely destroyed. Not Found ah, except 200, the most common status code was turned into Forbidden by me, and then I explained a series of things .... 401 is the result of Forbidden. The more I explain it, the more I explain it. The interviewer says 403 is Forbidden. I also know, but the answer is wrong, I forgot what 401 is (401 Unauthorized ).....

 

Then I went to the question stage and asked about the company's technology stack. Python + Django + MySQL is quite consistent with my technology stack, then the interviewer said that he had waited for an email appointment.

 

The entire telephone interview process lasted for 16 minutes. This seems to be my first phone interview in my life, and the first interview after I started looking for a position in Python. I feel that today's interview is a series of awesome jobs, and the performance is not perfect, but the overall performance is okay, if you have more than one aspect, you will not be able to renew it.

 

-EOF-

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.