- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
?▓中山大学本科生期末考试试卷?▓ 中山大学软件学院本科生期末考试 考试科目:《数据库系统原理》(A卷) 学年学期:2014学年第3学期 姓 名: 学 院/系:软件学院 学 号: 考试方式:开卷 年级专业: 考试时长:120分钟 班 别: 警示 《中山大学授予学士学位工作细则》第八条:“考试作弊者,不授予学士学位。” 以下为试题区域,共7道大题,总分100分,考生请在答题纸上作答 1. (10 marks) Let R = {A, B, C, D, E, F, G} and F = {AB?C, A?C, A?E, B?C, EF?EG, G?F}. Answer the following three questions. (4 marks) Compute the minimal cover of F. B?C A?C A?E EF?G G?F (4 marks) Decompose R into 3NF relations. {B, C}, {A, C, E}, {E, F, G} and {A, B, D, F} (OR {A, B, D, G}) (2 marks) Is the composition in (b2) in BCNF? Briefly explain your answer. No. For {E, F, G} and G?F, G is not a candidate key. 2. (10 marks) Assume there is an employee database Employee (eid: 8 bytes, ename: 16 bytes, did: 4 bytes, email: 12 bytes), where eid and ename are respectively the id and name of an employee and did is the id of the department in which the employee works. Suppose there are 50,000 employee records and 500 departments (i.e. each department has 100 employees on average). A page size is 1,000 bytes and a pointer costs 4 bytes. (4 marks) Assume that the employee file is sorted sequentially on did and there is no index. Estimate the page access cost for retrieving the records of all employees working in a department with a given did. (You should show your argument and the main steps of the estimation clearly in the answer.) Answer Record size = 40 bytes, 25 records per page, 2,000 pages. Finding the first record requires log22000 + 3 more pages to search the remaining records (each dept has 100 employees which are distributed in 4 pages). (6 marks) Assume only 20 pages of main memory are available for running the external sorting of the employee file on did. How many PASSes are needed for the external sorting? In each PASS, how many runs are created? What is the total cost of the sorting in terms of pages? Answer: 3 PASSe
您可能关注的文档
最近下载
- 汽车制造工艺学 第3版 教学课件 作者 王宝玺 贾庆祥吉林工大 主编_ 第二章 工件的装夹和机床夹具.ppt VIP
- 抛丸防腐专项施工方案.pdf VIP
- 上海初中历史世界历史第二册练习册参考答案.pdf VIP
- 征兵工作培训课件.ppt VIP
- 苏教版三年级上册数学期末复习应用题专项练习.pdf VIP
- 台达伺服刀库刀塔方案应用说明书-台达电子.pdf VIP
- 机械制图习题集 第3版胡建生课后习题答案解析.docx
- Q/GDW 1799.1-2013《电力安全工作规程(变电部分)》及编制说明.docx VIP
- 市政燃气管道吊装专项方案.doc VIP
- 汽车制造工艺学 第3版 作者 王宝玺 贾庆祥吉林工大 主编 第五章 尺寸链原理与应用.ppt VIP
有哪些信誉好的足球投注网站
文档评论(0)