Why is the monthly salary only 3K for the students to study python for the interview? Interviewer Problem Resolution!

Source: Internet
Author: User

Many people think the Python language is simple (is it really that simple?). Grammar concise does not mean easy to learn), all go to self-learning Python programming language, and then thinking about going out to find a good job, the majority of students. So this set of questions I randomly cite a few, at the end of the tip.

General interviewer to see the first-class students, he will not ask you how many years of development experience, at most he will only mention you are self-study or systematics, familiar with what framework? The face of the question will be relatively simple, but the salary will also be greatly reduced, it is human nature.

There are always some tricks in the face of large enterprises to show their differences. Paradoxically, it feels easy, and you really can't answer it! This is the effect they want, they will say that the basic Python knowledge points you can not answer and so on ... Thus lowering your monthly salary.

The following interview questions are mainly related to the Python language itself, not which modules and frameworks, each face is actually a tutorial, some of the questions will even involve a number of programming areas. This is an amulet for your future interview.

1. What is Python programming? He will encourage you to make comparisons with other languages.

Answer:

    • Python is interpreted as an object-oriented language. Unlike other packaged languages such as C, there is no need to compile before running Python code.
    • Python is a dynamic type language, and when declaring a variable, you do not need to describe the type of the variable. For example, x = 111 The program will not error, but in other languages is not necessarily.
    • Python code is concise, so writing is fast, but it is slower than the compiled language. But Python can be programmed with C language embedded, so we can solve this problem. Example: The NumPy module runs very fast, but its arithmetic operations are not implemented by Python.
    • Python is very versatile, crawler, web, operations, big data, artificial intelligence, and so on, can help other languages and components to improve the health, so called "glue language."
    • Python has a rich third-party library where programmers can focus on algorithms and data structures without having to deal with the underlying details.

I don't think it's necessary to explain why the interviewer asked this question.

2. Supplement the missing Code section in the following code

Answer

    • Let you write code, of course, on the one hand, you can detect how rigorous the code. Whether the naming specification is uniform, etc.
    • Recursive functions need not only recursion but also termination, otherwise there will be no endless call stacks to see if you understand the principles.
    • Interact with OS modules and operating systems to cross-platform. Code Schildpath = spath + '/' + Schild, will be an error on the Windows system.
    • When you don't know what the code needs to do, you can ask it boldly, or you won't be able to answer it.

Recursion is important in python, and it tests whether the knowledge points that your operating system interacts with are mastered.

3, what is the final value of A0,A1 to an

The meaning of the problem:

    • List resolution is a significant improvement in efficiency, but it is also a learning disability for many people.
    • Some of the Python code is intentionally written in a strange way, to let you know that your colleague might be.

4, what is the multi-threading of Python? Examples of ways in which Python code runs in parallel.

Python's multi-threading is fundamentally different from other languages. Python does have a multi-threaded package, but there is a Gil in Python that will allow you to have only one execution in multiple threads, so there is no point in improving the efficiency of your code.

But when we want to do some tasks at the same time, without considering the efficiency problem, it is very convenient to use the threading package.

This is a key issue: Many of the other programming language developers, always do not believe multi-threaded chicken, do not touch the south wall does not look back, in fact, it is to see what level you are.

5, look at the code, write out the results

Answer

The results of the output are indicated by annotations:

Why ask this question:

The object-facing understanding is at the heart of Python programming, and tests whether you understand the use of the super function in the inheritance and Python.

6. Have you had any experience of failure?

Wrong answer

Never, Matchless.

Human Nature test:

Companies need to be able to admit mistakes, be responsible for their own mistakes, and learn from their mistakes. If you do not have a failure, you may need to make a story when you answer the question.

7, whether the independent use of Python development projects, even if not asked, you must add yourself.

It's true?

Having done a personal project indicates that your skill level is higher than the average person and willing to pay more effort, even if you really love python. At the same time you have to maintain your Python personal project, this is a matter outside the work, the implication is that you also insist on programming outside the work, to this, understand.

This Python face question I take is the simplest, is the real student interview question, why I do not take the difficulty high? Because a lot of engineers face test questions generally netizens can not do it! If you can answer it all, then you can really go to the interview, but I would like to practice a little more time python, because the question indicates that your salary is not too high.

Why is the monthly salary only 3K for the students to study python for the interview? Interviewer Problem Resolution!

Related Article

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.