国立东华大学试题.doc
文本预览下载声明
國立東華大學試題
系所:資訊管理學系 科目:資料庫管理
課號: 日期:2005年5月3日 第1頁/共3頁
[Database System Structure] (20%)
繪出Database System Structure, 從user 一直到disk storage之架構圖。(10%)
說明Data Dictionary之功能。(5%)
說明Database Administrator之角色及工作責任 (main functions)。(5%)
[Database System vs. File System] (10%)
Discuss the drawbacks of using file-processing system.
說明為什麼Database System可以解決以上的缺點。
[關於keys] (15%)
請舉例說明 Super key, Candidate key, Primary key 的異同?
請舉例說明何謂Discriminator of the Weak Entity Set
“住址”通常是unique的,它適合當primary key嗎?為什麼?
[Entity Relationship Model] (10%)
(a) 請畫出一個E-R Model 至少要包含兩個Entity Sets, 一個Relationship Sets,
在Entity Sets中至少要有兩個以上的Attributes並標明Primary key.
(b) 並為(a)之E-R Model建Relation Tables (please write out SQL create statements).
國立東華大學試題
系所:資訊管理學系 科目:資料結構
課號: 日期:2004年11月16日 第2頁/共3頁
[Participation Constraints] (15%)
假設某銀行的功能分為Loan(貸款)與Depositor(存款),如下圖,
試以Borrower此Relationship Set當例子說明何謂:
(a) Total Participation(完全參與)。
(b) Partial Participation(部分參與)。
(c) 再另舉一個例子說明Total Participation 與Partial Participation之真正意義。
[Relational Algebra and SQL] (15%)
Assume we have some SQL queries as follows, please write the corresponding “Relational Algebra”.
(a) select loan-numberfrom loanwhere branch-name = ‘Perryridge’ and amount 1200
(b) select customer-name, borrower.loan-number, amount
from borrower, loan
where borrower.loan-number = loan.loan-number
國立東華大學試題
系所:資訊管理學系 科目:資料庫管理
課號: 日期:2005年5月3日 第3頁/共3頁
If we add “Set intersection” operation to six fundamental operations of relational algebra, we do not add any power to the relational algebra, why?
[About VIEW] (15%)
Consider the following Figure about the “view” in relational database:
(a) “Discuss the relationship among V2, B3, B4, and D4.
(b) “View”
显示全部