140 likes | 161 Views
Before you go in for a python interview, there are a few things which you should know and refresh.<br><br>For Better Guidence : https://nareshit.com/python-online-training/
E N D
Before you go in for a python interview, there are a few things which you should know and refresh.
Most of the companies will not have a computer ready for your interview and will ask you to code on a whiteboard or a piece of paper. It seems easy, but it is very hard as the interviewers expect you to write syntactically correct code, without features like syntax highlighting and autocompletion of your favourite text editor and IDE. So make sure you solve all your practice problems on a white board. Familiarity with coding on a white board
You should be familiar with the basics of python like if else statements, for loop, while loop etc etc. These things are quite basic, but if you make a mistake coding these on whiteboard, it is going to give a very bad impression to the interviewer. Practice all the basic examples on whiteboard before your interview. Know basic python control flow
While applying for a python position, it is really important to have used python before and explain the recruiters clearly about them. It is just not enough to solve a few interview questions in python. You need to have a few interesting projects. Few examples are web scraping, pulling restaurant information through API's, programs to perform system tasks such as renaming a lot of files together. For a lot more such project ideas and solutions, visit Mini Projects in python. You should be able to present your projects in an interesting way and explain all the details clearly. Have clarity about past projects
It is a well know fact that most interviewers ask problems from the same question bank in the interviews. Most of these problems are based on basic data structures and algorithms and also a few questions on operating systems and computer networks. These problems do not take a lot of time to prepare for and there are excellent sources out there to help deal with these kind of problems. Have a look at geeksforgeeks and interviewbit and practice all the common problems before the interview. Practice common interview problems
By basic data structures, i mean lists, tuples, dictionaries and sets in python. You need to know what the purpose of each data structure is, how they differ from each other and how to perform common operations on them. Lets take an example of iteration. Many beginners in python have a lot of problems understanding and remembering how to iterate over a dictionary, so they look at examples in stack overflow and solve their problem. But in an interview, you wont have access to any such resources, so it is important you remember how to do them. Another example of such a question is when do you use a tuple instead of a list, why do you use a set, how is data accessed in each data type, what is the strength and weakness of each data type. Also revise all the common methods these data structures offer such that push,pop,append,extend etc for lists, keys,values and get for dictionary etc etc. Consult the python documentation or some introductory pythontutorialsfor refreshing them. Know basic data structures in python and when to use them
Every interview will test how strong you are in writing idiomatic python code. List comprehensions are an important part of it and you must be able to shorten your code with list comprehensions. Apart from this, also go through tuple comprehension, dictionary comprehension and set comprehension. They are very similar to each other and are used all the time. Knowledge about list comprehensions
While writing programs, we deal with a lot of data, all of which can't fit into memory and hence we cannot store it in a data structure like a list. So we make use of a generator. Since this scenario occurs commonly in real world scenario's it is important to be familiar with generators. You should also know the difference between range and xrange and which is used in the current version, the difference between items and iteritems in relation to a dictionary and the use of the yield keyword. Know how to use generators
Python doesn't enforce an object oriented style of programming but it supports it. Most of the time, while scripting in python we do not follow the OOP pattern. But it is quite important in the real world and it is also an important subject for job interviews. I find this article by Jeff Knupp an excellent explanation for OOP in python. Object Oriented Programming
Go through the engineering blog of the company and gather information about what the company does. Think about how they have implemented a feature in their product and ask them during the interview if their implementation is the same as how you thought they implemented it. Also ask them which libraries they use for implementing the feature and why do they prefer it over other alternatives. This can lead to good discussions and also shows the interviewer that you are interested in their company. Ask them python related questions
You are not going to use just python in your job and you need to be familiar with a lot of other technologies too in order to get the job. You should know about basic linux commands and their working, uses of version control systems and basics of git and Github, databases and basic SQL commands and some knowledge of HTML, CSS and Javascript is also appreciated by the interviewers. For all of this, you just need to know the basics and nothing more than that. See the job description and try to know the basics of everything which is listed there. Know the basics of other technologies
• Website : https://nareshit.com/python-online-training/ For Better guidence :