Newsgroups: comp.lang.python
From: Tim Chase <python.l...@tim.thechases.com>
Date: Tue, 30 Oct 2007 14:24:04 -0500
Local: Tues, Oct 30 2007 3:24 pm
Subject: Re: Python Interview Questions
> I have used Python for a couple of projects last year and
> I found it extremely useful. I could write two middle size > projects in 2-3 months (part time). Right now I am a bit > rusty and trying to catch up again with Python. > > I am now appearing for Job Interviews these days and I am > wondering if anybody of you appeared for a Python > Interview. Can you please share the questions you were > asked. That will be great help to me. While I haven't interviewed precisely for Python, I've been Basic Python: - when to use list vs. tuple vs. dict. vs. set - can they use list comprehensions (and know when not to - can they use tuple unpacking for assignment? - string building...do they use "+=" or do they build a list - truth-value testing questions and observations (do they - basic file-processing (iterating over a file's lines) - basic understanding of exception handling Broader Basic Python: - questions about iterators/generators - questions about map/reduce/sum/etc family of functions - questions about "special" methods (__<foo>__) More Advanced Python: - more detailed questions about the std. libraries (such as - questions about testing (unittests/doctests) - questions about docstrings vs. comments, and the "Why" of - more detailed questions about regular expressions - questions about mutability - keyword/list parameters and unpacked kwd args - questions about popular 3rd-party toolkits (BeautifulSoup, - questions about monkey-patching - questions about PDB - questions about properties vs. getters/setters - questions about classmethods - questions about scope/name-resolution - use of lambda Python History: - "batteries included" SQL-capible DB in which version? - the difference between "class Foo" and "class Foo(object)" - questions from "import this" about pythonic code Python Resources: - what do they know about various Python GUI frameworks and - where do they go with Python related questions (c.l.p, Other Process-releated things: - do they write automated tests for their code Touchy-feely things: - reason for choosing Python - choice of editor/IDE Good luck with your interviewing and hope this helped, -tkc You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||