CWYAlpha

Just another WordPress.com site

Thought this was cool: python 面试必读

leave a comment »


Python Interview Question and Answers( 面试问题与解答 ) 

原文链接: 
http://ilian.i-n-i.org/python-interview-question-and-answers/ 

总结了10道题的考试侧重点,供参考: 
1.How are arguments passed – by reference of by value? 
考的是语法,基本功,虽说python程序员可以不用关心堆栈指针那些头疼的东东,但传引用和传值的区别还是必需清楚的。 

2.Do you know what list and dict comprehensions are? Can you give an example? 
典型的pythonic用法 

3.What is PEP 8? 
是不是有良好的编码习惯 

4.Do you use virtual environments? 
是不是有独立配开发环境的能力 

5.Can you sum all of the elements in the list, how about to multuply them and get the result? 
期待你用pythonic方式解决 

6.Do you know what is the difference between lists and tuples? Can you give me an example for their usage? 
python中两种最基本常用的数据结构 

7.Do you know the difference between range and xrange? 
期待你清楚generator及其是如何使用内存的,generator用法还是典型的pythonic 

8.Tell me a few differences between Python 2.x and 3.x 
希望你对新老产品都有所关注 

9.What are decorators and what is their usage? 
典型的pythonic用法 

10.The with statement and its usage. 
典型的pythonic语法 

# 来源:豆瓣 Django 小组


在微博上关注:
新浪,
腾讯
 
投稿

最新招聘

更多>>


from python.cn(jobs, news): http://simple-is-better.com/news/1006

Written by cwyalpha

五月 8, 2013 在 8:23 上午

发表在 Uncategorized

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: