Python programmer interview, these questions you must prepare in advance!

Source: Internet
Author: User
Tags generator prepare shallow copy asymmetric encryption

with the Python language becoming more and more popular in recent years, more and more people choose the Python language as their career direction. How to get good results in the right company's interview, and finally successfully get an offer is every Python developer to be careful of things, the following is the author of the Python programmer in the interview often asked questions, for your reference, not the topic, welcome message to Add.

These interview questions can be broadly divided into four categories: what? How do I do it? Say the difference/talk about superiority (difference) and practical operation (practice).

What?


1. What is Python?

2. What is Python introspection?

3. What is a pep?

4. What are pickling and unpick?

5. What is a python adorner?

6. What is a Python namespace?

7. What is a dictionary derivation and a list derivation?

8. What is a lambda function?

9. What is the *argos,**warthogs parameter?

10. What is a pass statement?

What is UnitTest?

11. What is a builder?

What is a. doc string?

13. What is a negative index?

14. What are modules and packages?

15. What is garbage collection?

What is CSRF?

How?

1. How to make your program more readable?

2. How is python interpreted?

3. How do I copy an object in Python?

4. How do I delete a file in Python?

5. How do I convert a number to a string?

6. How is Python managed in memory?

7. How do I implement duple and list conversions?

8. How do I generate random numbers in Python?

9. How to set a global variable in a function

How does python implement singleton mode? How do the other 23 design pattern Python implementations work?

How is deepcopy implemented?

12. How is algorithm sequencing optimized in the worst case scenario?

13. How can I tell if there is a ring in a one-way list?

14. How do I traverse an internal unknown folder?

15. How is the database partitioned, divided into tables?

16. How to optimize the query command?

17. How to understand open source?

18. How do I use the MVC/MTV cache?

How did Mys's deadlock occur?

How is SQL injection generated and how do I prevent it?

How does XXS prevent?

22. How do I generate a shared secret key? How to guard against man-in-the-middle attacks

23. How do I manage different versions of the code?

Different

1. What is the difference between an array and a tuple?

2. What is the difference between _new_ and _init_?

3. What is the difference between a single underline and a double down line in Python?

4. What is the difference between a shallow copy and a deep copy?

5. What is the difference between a single case using an adorner and a single case using other methods in subsequent use?

6. What is the difference between multi-process and multithreading?

7. What is the difference between select and Epoll?

8. What is the difference between TCP and UDP? What are the differences between edge triggering and horizontal triggering?

9. HTTP connection: What is the difference between get and post?

What is the difference between varchar and char?

What is the difference between a. Btree index and a hash index?

12. What is the difference between the type and the Constance function when judging if the object is a class instances?

What is the difference between primary key and unique?

What is the difference between ECB and CBC mode?

15. What is the difference between symmetric and asymmetric encryption?

What is the difference between Staticmethod and adorners?

What is the difference between xrange and range?

What is the difference between deepcopy and copy?

What is the difference between Os.path and Sys.path?

20. What is the difference between a generator (generator) and a function?

What is the difference between OS and SYS modules?

What is the difference between NoSQL and relational databases?

Practice


This kind of practical Operation class topic is more rich and diverse, the following analogy is more common:

1. Add the missing code, for example:

2. What is the output of the following code? Please explain. For example:

3. Can the following code be run? Please explain? For example:

4. Sort the function according to the efficiency of execution and prove that your answer is correct. For example:

......

The above is a small compilation of Python interview common problems, for the vast number of Python programmers reference, hoping to provide a little help. I wish every Python programmer can get the ideal offer! soon.

Welcome to my public number: Aireport






Python programmer interview, these questions you must prepare in advance!

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.