程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Interviewed 20k Python engineers and talked about these 26 questions, all of which are classics!

編輯:Python


Hello everyone, this is the programmer Wanfeng.

I have a friend who was interviewing for a job as a Python developer recently. Expected salary: 18-20k,

From some of the interview questions he gave me, I selected 26 worthwhile questions to share with you.

If you have any questions, you can discuss with me in the comment area~

I will also organize the detailed answers to all the questions in this article in the Python reader circle in our knowledge planet

I. Python related

  1. What are the request context and application context in flask?

  2. Talk about your understanding of metaclass programming

  3. What are green coroutines?

  4. The key of the python dictionary, what are the characteristics?

  • Cannot be repeated
  • Value keys must be immutable hashable types such as strings, numbers or tuples.So: a list cannot be used as a dictionary key
  1. Talk about decorators and their usage in real work

  2. The relationship between generators and iterators

  3. The difference between django and flask

  4. The difference between f query and q query in django

  5. What classes does drf in django inherit from?

  6. How does python implement multi-process, multi-thread, coroutine?

  7. Which coroutine frameworks have you used and have you learned about FastAPI?

Second, general skills

  1. Please tell me about the L3 cache of the operating system

  2. How to maintain data consistency in multithreading

  3. Have you used k8s?

  4. Cluster, distributed, master-slave, high concurrency, please introduce these concepts respectively

  5. cqrs read-write separation

  6. What is your naming convention for redis at work?

  7. Please tell us about your understanding of DDD

  8. What does the leftmost prefix of a database index mean?

  9. Writing a web framework, what aspects would you consider?

  10. Quicksort, recursive logic and usage scenarios.

  • The book, memorize it: "Algorithms Illustrated" by Bar Gava
  1. What parts does a token consist of in jwt?What is the verification principle?

  2. Processes and threads are related in memory

  3. In the design of menu permissions, do you use a 3-table structure or a 5-table structure, why?

Third, other

  1. How did you learn technology outside of work?
  • No answer for this one.
  1. Have you ever done an open source project?
  • Same as above.
  • My open source project on GitHub: python-office


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved