Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54633

Re: Python Interview Questions

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!panix!roy
From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: Python Interview Questions
Date Mon, 23 Sep 2013 09:06:45 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Lines 30
Message-ID <roy-9EDED5.09064523092013@news.panix.com> (permalink)
References <1193768041.349129.26350@v3g2000hsg.googlegroups.com> <mailman.658.1193771958.13605.python-list@python.org> <dc293747-f96a-40fc-a39c-07b4a702cc02@googlegroups.com>
NNTP-Posting-Host localhost
X-Trace reader1.panix.com 1379941605 23730 127.0.0.1 (23 Sep 2013 13:06:45 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Mon, 23 Sep 2013 13:06:45 +0000 (UTC)
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Xref csiph.com comp.lang.python:54633

Show key headers only | View raw


Somebody, whose identity has been lost in three-deep quoting, said:
> > > 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.

We have a standard list of about 2 dozen screening questions we use that 
cover a broad but shallow swath of CS, Unix, and Python.  I'm not going 
to share the exact questions, but here's some of the Python topics we 
cover:

The ramifications of string immutability.

How default function arguments work, especially how they interact with 
mutable objects.

How booleans and various ways of testing for equality work.

A question about subclassing a built-in type.

List comprehensions vs. generator expressions.

We don't expect everybody to get every question, but it gives us a quick 
first cut to evaluate applicants before we decide to bring them in for 
an interview or not.

We also want to see that you understand some basic computer science.  If 
nothing else, you need to understand, what O(n) means, and be able to 
give some examples of Python code which exhibit various orders of 
complexity.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Python Interview Questions elisha.java@gmail.com - 2013-09-22 20:58 -0700
  Re: Python Interview Questions Roy Smith <roy@panix.com> - 2013-09-23 09:06 -0400

csiph-web