请选择 进入手机版 | 继续访问电脑版

tag 标签: together经管大学堂:名校名师名课

相关帖子

版块 作者 回复/查看 最后发表
经典教材 Derivatives Markets 3rd edition 原版高清PDF attachment 金融学(理论版) eurwalt 2013-3-22 22 13347 三江鸿 2022-10-2 11:55:38
Wiley New Book Quantitative Risk Management A Practical Guide to Financial Risk attach_img 金融学(理论版) eurwalt 2013-3-23 8 3015 slowry 2018-3-31 13:20:59
免費 Quantitative and Empirical Analysis of Energy Markets attachment 金融学(理论版) martinnyj 2013-9-15 5 1368 gaojianwqjk 2014-9-16 09:42:42
Excel VBA code for Super BS pricing together with Greeks attachment 金融工程(数量金融)与金融衍生品 selenaH 2010-8-2 8 3111 yuxdntu 2013-11-2 23:43:38
Portfolio of Risk Premia:A New Approach to Diversification attachment 金融工程(数量金融)与金融衍生品 luvblue 2012-2-21 50 6017 noartist1 2013-7-8 20:17:48
Pro Silverlight for the Enterprise attach_img 数据分析与数据挖掘 Toyotomi 2013-4-13 0 1015 Toyotomi 2013-4-13 10:29:00
(NEW) CFA Level 3 2012 My Notes Eng (268 p word) attachment CFA学习群组 shortlong 2011-11-30 33 6506 yufeng1985 2013-2-6 10:05:22
IATE 2013 学术资源/课程/会议/讲座 mobham121 2012-12-9 0 1048 mobham121 2012-12-9 18:28:11
Repeat subvector in a vector R语言论坛 wuwei629 2012-11-13 4 1677 wuwei629 2012-11-13 23:38:21
Search for friends to take FCAS exams together? 金融类 hisicon 2012-9-15 9 1506 libingfuz 2012-10-12 20:45:22
20120520 Follow Me 374 The G8 Summit at Camp David: This Time, It’s Important attach_img 真实世界经济学(含财经时事) 桶桶nancy 2012-5-19 5 1754 laodao0 2012-5-31 09:21:30
Taking a break help your Relationship 真实世界经济学(含财经时事) bengdi1986 2012-5-31 0 1049 bengdi1986 2012-5-31 09:10:24
New homes for the old 真实世界经济学(含财经时事) lzguo568 2012-4-20 1 1241 aibieli731001 2012-4-20 16:38:48
乔布斯给妻子的诀别情书中英文对照 attachment 休闲灌水 假摔王子 2011-10-25 78 8118 ant518 2012-4-17 18:36:27
XBRL高层模型/架构 数据管理、XBRL、BI、CI kissky 2012-1-25 0 862 kissky 2012-1-25 22:02:25
shared together: from World Bank -China Mar. attachment 金融学(理论版) qy1981 2006-4-25 0 2095 qy1981 2011-10-20 03:12:13
Will Products Look More Attractive When Presented Separately or Together_JCR1998 attachment 商学院 iwomma 2009-2-25 0 1738 iwomma 2009-2-25 01:45:00
how ETF and future go to together attachment 金融学(理论版) yaowei6588 2008-10-17 1 1657 yaowei6588 2008-10-17 12:42:00
[求助]why the cpi and the gdp deflator move together most of the time 宏观经济学 颜迦蓝 2008-3-23 0 2311 颜迦蓝 2008-3-23 14:57:00

相关日志

分享 Productivity in Growth:What and How
accumulation 2015-4-26 15:30
Productivity  Effectiveness with which factors of production are converted into output. Taken together, do all the factors of production explain all of the variation among countries?  Countries differ in their output not only because they accumulate different quantities of production factors, but also because they vary in the effectiveness with which they combine these factors of production to produce output – that is, in their productivity.  Think about some examples in real life.
个人分类: 宏观经济学|0 个评论
分享 Python Interview Question and Answers
Nicolle 2014-8-12 01:26
Python Interview Question and Answers For the last few weeks I have been interviewing several people for Python/Django developers so I thought that it might be helpful to show the questions I am asking together with the answers. The reason is … OK, let me tell you a story first. I remember when one of my university professors introduced to us his professor – the one who thought him. It was a really short visit but I still remember one if the things he said. “Ignorance is not bad, the bad thing is when you do no want to learn.” So back to the reason – if you have at least taken care to prepare for the interview, look for a standard questions and their answers and learn them this is a good start. Answering these question may not get you the job you are applying for but learning them will give you some valuable knowledge about Python. This post will include the questions that are Python specific and I’ll post the Django question separately. How are arguments passed – by reference of by value? The short answer is “neither”, actually it is called “call by object” or “call by sharing”(you can check here for more info). The longer one starts with the fact that this terminology is probably not the best one to describe how Python works. In Python everything is an object and all variables hold references to objects. The values of these references are to the functions. As result you can not change the value of the reference but you can modify the object if it is mutable. Remember numbers, strings and tuples are immutable, list and dicts are mutable. Do you know what list and dict comprehensions are? Can you give an example? List/Dict comprehensions are syntax constructions to ease the creation of a list/dict based on existing iterable. According to the 3rd edition of “Learning Python” list comprehensions are generally faster than normal loops but this is something that may change between releases. Examples:# simple iterationa = # list comprehensiona = # dict comprehensiona = {x: x*2 for x in range(10)}# a == {0: 0, 1: 2, 2: 4, 3: 6, 4: 8, 5: 10, 6: 12, 7: 14, 8: 16, 9: 18} What is PEP 8? PEP 8 is a coding convention(a set of recommendations) how to write your Python code in order to make it more readable and useful for those after you. For more information check PEP 8 . Do you use virtual environments? I personally and most(by my observation) of the Python developers find the virtual environment tool extremely useful. Yeah, probably you can live without it but this will make the work and support of multiple projects that requires different package versions a living hell. Can you sum all of the elements in the list, how about to multuply them and get the result? # the basic ways = 0for x in range(10): s += x# the right ways = sum(range(10))# the basic ways = 1for x in range(1, 10): s = s * x# the other wayfrom operator import mulreduce(mul, range(1, 10)) As for the last example, I know Guido van Rossum is not a fan of reduce, more info here , but still for some simple tasks reduce can come quite handy. Do you know what is the difference between lists and tuples? Can you give me an example for their usage? First list are mutable while tuples are not, and second tuples can be hashed e.g. to be used as keys for dictionaries. As an example of their usage, tuples are used when the order of the elements in the sequence matters e.g. a geographic coordinates, “list” of points in a path or route, or set of actions that should be executed in specific order. Don’t forget that you can use them a dictionary keys. For everything else use lists. Do you know the difference between range and xrange? Range returns a list while xrange returns a generator xrange object which takes the same memory no matter of the range size. In the first case you have all items already generated(this can take a lot of time and memory) while in the second you get the elements one by one e.g. only one element is generated and available per iteration. Simple example of generator usage can be find in the problem 2 of the “homework” for my presentation Functions in Python Tell me a few differences between Python 2.x and 3.x There are many answers here but for me some of the major changes in Python 3.x are: all strings are now Unicode, print is now function not a statement. There is no range, it has been replaced by xrange which is removed. All classes are new style and the division of integers now returns float. What are decorators and what is their usage? According to Bruce Eckel’s Introduction to Python Decorators “Decorators allow you to inject or modify code in functions or classes”. In other words decorators allow you to wrap a function or class method call and execute some code before or after the execution of the original code. And also you can nest them e.g. to use more than one decorator for a specific function. Usage examples include – logging the calls to specific method, checking for permission(s), checking and/or modifying the arguments passed to the method etc. The with statement and its usage. In a few words the with statement allows you to executed code before and/or after a specific set of operations. For example if you open a file for reading and parsing no matter what happens during the parsing you want to be sure that at the end the file is closed. This is normally achieved using the try… finally construction but the with statement simplifies it usin the so called “context management protocol”. To use it with your own objects you just have to define __enter__ and __exit__ methods. Some standard objects like the file object automatically support this protocol. For more information you may check Understanding Python’s “with” statement . Well I hope this will be helpful, if you have any question or suggestion feel free to comment. Update : Due to the lots of comments on Reddit and LinkedIn, I understood that there is some misunderstanding about the post. First, the questions I have published are not the only ones I ask, the interview also includes such related to general programming knowledge and logical thinking. Second the questions above help me get a basic understanding of your Python knowledge but they are not the only think that makes my decision. Not answering some of them does not mean that you won’t get the job, but it may show me on which parts we should to work. 总结了10道题的考试侧重点,供参考: 1.How are arguments passed – by reference of by value? 考的是语法,基本功,虽说python程序员可以不用关心堆栈指针那些头疼的东东,但传引用和传值的区别还是必需清楚的。个人感觉从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语法 参考链接 http://ilian.i-n-i.org/python-interview-question-and-answers/ http://www.**.com/group/topic/38792398/
个人分类: Python|12 次阅读|0 个评论
分享 每一笔账都在
龙猫冲冲冲 2013-2-25 23:42
婚姻怎么可能完美,再所谓的没有遗憾,也会被时间摊开成一张到处破洞的薄饼。 味道可能不差太多,可是酱汁沾到手上得自己擦。 为了孩子一切要继续,每天pull yourself together 爬起来继续周全这日子。疲惫像灰尘遮住了很多美好。 你的累我只能分享一部分。生活把我们推到这境地已经没有选择,所以,都勇敢一点。 经常觉得自己傻。是不是休息太少导致智商降低了?能做到八分的事情总是弄成五六分,吸取教训赶快成长吧。 每一笔账都在领导心里,你欠的久了,已经生出多少不耐烦的利息。用礼物都抵不掉。 精力有限,某些事情失去控制。比如练琴。先在前2周把工作理顺!之前已经为家庭生活而牺牲了很多工作时间。 其实那些乱看电影小说的夜晚。。。。多么珍贵啊! 站在一个距离上理智地爱,比较不会受伤。慢慢地孩子就长大了,伤也不那么痛了,一生也就过去了。 只是累会在你脸上或多或少留下一些愁苦的痕迹,我很心疼你却不能代替。
0 个评论

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-3-29 16:07