文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 求职/职场 > 求职/面试 > python面试题
侵权投诉

python面试题




While I haven't interviewed precisely for Python, I've been
on the other (interviewing) end and can offer a few of the
sorts of things I ask. I don't expect perfect answers to
all of them, but they show me a range of what the
interviewee knows. I try and give a scattershot of
questions from the following areas to try and narrow down
where they fall in terms of pythonability, and then grill
more deeply around the edges that I find.

Basic Python:
=============
- do they know a tuple/list/dict when they see it?

- when to use list vs. tuple vs. dict. vs. set

- can they use list comprehensions (and know when not to
abuse them? :)

- can they use tuple unpacking for assignment?

- string building...do they use "+=" or do they build a list
and use .join() to recombine them efficiently

- truth-value testing questions and observations (do they
write "if x == True" or do they just write "if x")

- basic file-processing (iterating over a file's lines)

- basic understanding of exception handling

Broader Basic Python:
=====================
- questions about the standard library ("do you know if
there's a standard library for doing X?", or "in which
library would you find [common functionality Y]?") Most
of these are related to the more common libraries such as
os/os.path/sys/re/itertools

- questions about iterators/generators

- questions about map/reduce/sum/etc family of functions

- questions about "special" methods (__<foo>__)

More Advanced Python:
=====================
- can they manipulate functions as first-class objects
(Python makes it easy, but do they know how)

- more detailed questions about the std. libraries (such as
datetime/email/csv/zipfile/networking/optparse/unittest)

- questions about testing (unittests/doctests)

- questions about docstrings vs. comments, and the "Why" of
them

- more detailed questions about regular expressions

- questions about mutability

- keyword/list parameters and unpacked kwd args

- questions about popular 3rd-party toolkits (BeautifulSoup,
pyparsing...mostly if they know about them and when to use
them, not so much about implementation details)

- 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:
===============
- decorators added in which version?

- "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 web frameworks
(knowing a few names is usually good enough, though
knowledge about the frameworks is a nice plus) such as
Django, TurboGears, Zope, etc.

- what do they know about various Python GUI framewo

第1页

你可能喜欢

  • 自行测试题
  • python面试题
  • 测试题库
  • 面试逻辑测试题
  • 面试测试题
  • A测试题
  • 面试智力测试题

热门文档

相关文档

  • Python经典面试题

    Python经典面试题_IT/计算机_专业资料。Python经典面试题1:Python 如何实现单例模式? Python 有两种方式可以实现单例模式,下面两个例子使用了不同的方式实现单 例...

  • Python面试题

    Python面试题_面试_求职/职场_实用文档。1:Python 如何实现单例模式? Python 有两种方式可以实现单例模式,下面两个例子使用了不同的方式实现单 例模式: 使用 ...

  • Python 复习题

    喜欢此文档的还喜欢 可爱的python习题答案 42页 免费 python试卷 4页 免费 python习题 51页 免费 python学习总结 16页 免费 Python经典面试题 11页 1下载券...

  • python试卷

    Python面试题 11页 免费 Python 复习题 44页 1下载券 Python测试题 4页 1下载券 可爱的python习题答案 42页 免费 Python经典面试题 11页 1下载券...

  • 可爱的python习题答案

    Python面试题 13页 1下载券可爱的python习题答案 暂无评价0人阅读0次下载举报文档 可爱的...

  • 软件测试面试题

    软件测试面试题整理 32页 1下载券 数据结构面试题(含答案) 暂无评价 9页 免费 Python 必晓知识点-精简... 6页 1下载券软件测试面试...

  • python

    解释器负责的,开发人员可以从内存管理事务中解放出来, 致力于应用程序的开发,这样就使得开发的程序错误更少,程序更健壮,开发周期更短 9:Python 文件操作的面试题 1...

  • 面试题集合

    面试题集合_求职/面试_求职/职场_应用文书。不多说,好东西。...语言家族的习惯(包括 C, C++, C#, Java, JavaScript, Perl, Python 等) 。...

  • 面试题(一)

    公安机关招警面试题及参... 16页 2下载券喜欢此文档的还喜欢...但注意:提供给你的机器上只有python 2.4/perl 5.8/gcc[g++] 4.1...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email