海归网首页   海归宣言   导航   博客   广告位价格  
海归论坛首页 会员列表 
收 藏 夹 
论坛帮助 
登录 | 登录并检查站内短信 | 个人设置 论坛首页 |  排行榜  |  在线私聊 |  专题 | 版规 | 搜索  | RSS  | 注册 | 活动日历
主题: 台湾大学博士班入学考试试题 (转贴) -- 借本试题做海归黄埔军校入学考试, 高人大比武现在开始!
回复主题   printer-friendly view    海归论坛首页 -> 海归商务 -> 海归黄埔军校           焦点讨论 | 精华区 | 嘉宾沙龙 | 白领丽人沙龙
  阅读上一个主题 :: 阅读下一个主题
作者 台湾大学博士班入学考试试题 (转贴) -- 借本试题做海归黄埔军校入学考试, 高人大比武现在开始!   
所跟贴 台湾大学博士班入学考试试题 (转贴) -- 借本试题做海归黄埔军校入学考试, 高人大比武现在开始! -- 安普若 - (3376 Byte) 2003-9-28 周日, 11:57 (1675 reads)
安普若
[博客]
[个人文集]




头衔: 海归元勋

头衔: 海归元勋
声望: 大师
性别: 性别:男
加入时间: 2004/02/21
文章: 26038
来自: 中国美国的飞机上
海归分: 4196257





文章标题: 國立台灣大學八十七 學年度博士班入學考試試題: 計算機理論 (473 reads)      时间: 2003-9-28 周日, 12:28   

作者:安普若海归黄埔军校 发贴, 来自【海归网】 http://www.haiguinet.com

國立台灣大學 八十七 學年度 博士班入學考試試題

科目:計算機理論


1. (25 points) (1) Starting at point 0, you can either move one unit to the right, one unit to the left, or stay put. What is the number of ways you can reach the point m after n moves, where 0 < m < n. (For simplicity, you may assume m + n is even here.) (2) Write down a “compact” rational function in x (a generating function, so to speak) such that the coefficient of xm (m = ..., -2, -1, 0,1, 2.... ) is precisely the answer to (1)


2. (25 points) (1) Take an economy in which an asset price moves in the following manner. At a price of p, an integer, it has probability 1/2 of moving to p + 1 and probability 1/2 of staying at p. Suppose the price starts at 0 at time zero. What is its expected price, E, at time n? (2) If you have $1 at time zero, is there a way to invest in the above-mentioned asset so that you end up with more than E dollars on the average at time n? Argue your points. Note that you have a total of n decisions to make and your strategy should be such that it does not know future prices.


3. (25 points) Briefly explain why the lower bound for various sorting techniques based only on comparisons between input elements is Ω(nlogn). (Hint: Use Stirling's approximation n! > (n/e)n, where e @ 2.71828....) Then, informally describe a sorting algorithm that needs time in an order strictly less than 0(nlogn).


4. (25 points) Consider the problem of making change for n cents using the least number of coins.

(a) (5 points) Give a greedy algorithm to make change for the coin system consisting of quarters (25 cents), dimes (10 cents), nickels (5 cents), and pennies (I cent). Prove that your algorithm yields an optimal solution.


(b) (10 points) Do you think that the above greedy algorithm always works for any coin system. (where a coin system is a set of coins with different values)? Why? If yes, prove your answer. If not, characterize some properties of the coin system that would invalidate the greedy algorithm.

(c) (10 points) Suppose our coin system has a set of coins with the following values: c0, cl...., ck for some integers c > I and k > 1. Show that the greedy algorithm always yields an optimal solution.



作者:安普若海归黄埔军校 发贴, 来自【海归网】 http://www.haiguinet.com









相关主题
《海归黄埔军校》课程《市场营销学》第三章《价格定位》:奢侈品含义的管理学界... 海归黄埔军校 2009-10-06 周二, 00:16
由“捐款门”事件看风险控制和公关(可以作为海归黄埔军校的风险控制和公共关系... 海归主坛 2009-6-02 周二, 15:42
《海归黄埔军校》课程《中美比较财务会计学》:什么是盈余公积金surplus... 海归黄埔军校 2009-4-09 周四, 05:31
《海归黄埔军校》课程《中美比较财务会计学》:《上市公司章程指引(2006年... 海归黄埔军校 2008-1-06 周日, 13:42
《海归黄埔军校》课程《中美比较财务会计学》:上市公司治理之一:股东与股东大会 海归黄埔军校 2008-1-06 周日, 11:53
《海归黄埔军校》课程《中美比较财务会计学》课外阅读材料:复旦大学教授李若山... 海归主坛 2007-8-24 周五, 12:41
《海归黄埔军校》课程《中美比较财务会计学》第三章《会计处理》:上市公司送股... 海归主坛 2007-6-28 周四, 02:01
《海归黄埔军校》课程《市场营销学》第四章《品牌的创立,开发和管理》:品牌延... 海归黄埔军校 2006-6-04 周日, 12:57

返回顶端
阅读会员资料 安普若离线  发送站内短信 发送电子邮件 浏览发表者的主页 QQ号码什么是QQ号码? MSN
显示文章:     
回复主题   printer-friendly view    海归论坛首页 -> 海归商务 -> 海归黄埔军校           焦点讨论 | 精华区 | 嘉宾沙龙 | 白领丽人沙龙 所有的时间均为 北京时间


 
论坛转跳:   
不能在本论坛发表新主题, 不能回复主题, 不能编辑自己的文章, 不能删除自己的文章, 不能发表投票, 您 不可以 发表活动帖子在本论坛, 不能添加附件不能下载文件, 
   热门标签 更多...
   论坛精华荟萃 更多...
   博客热门文章 更多...


海归网二次开发,based on phpbb
Copyright © 2005-2024 Haiguinet.com. All rights reserved.