数据库技术vf课后题答案.docx
- 文档编号:3241113
- 上传时间:2022-11-20
- 格式:DOCX
- 页数:13
- 大小:26.51KB
数据库技术vf课后题答案.docx
《数据库技术vf课后题答案.docx》由会员分享,可在线阅读,更多相关《数据库技术vf课后题答案.docx(13页珍藏版)》请在冰豆网上搜索。
数据库技术vf课后题答案
Chapter1
1.Whataretheapplicationsofdatabasesystems?
什么是数据库应用系统
∙Banking
∙Airlines
∙Universities(forexample:
Addnewstudents,instructors,andcourses.Registerstudentsforcourses,andgenerateclassrosters.Assigngradestostudents,computegradepointaverages(GPA)andgeneratetranscripts.)
∙Creditcardtransactions
∙Telecommunications
∙Sales
∙Manufacturing
∙Humanresources
•银行
•航空公司
•大学(例如:
添加新的学生,教师,以及课程。
学生注册课程,并产生的班级花名册。
计算指定年级的学生,平均成绩(学分)和产生的成绩单。
)
•信用卡交易
•电信
•销售
•制造
•人力资源
2.ListfoursignificantdifferencebetweenfileprocessingsystemandDBMS.orListanyfouradvantagesofdatabasemanagementsystems(DBMS)overfile-processingsystems?
列出四显着差异的文件处理系统和dbms.or列出四大优势的数据库管理系统(数据库管理系统)在file-processing系统?
Dataredundancyandinconsistency:
Variousfilesarelikelytohavedifferentformatsandtheprogramsmaybewritteninseveralprogramminglanguages.Moreover,thesameinformationmaybeduplicatedinseveralplaces(files).Theredundancyleadstohigherstorageandaccesscost.Inaddition,itmayleadtodatainconsistency;thatis,thevariouscopiesofthesamedatamaynolongeragree.Forexample,achangedcustomeraddressmaybereflectedinsavings-accountrecordsbutnotelsewhereinthesystem.数据冗余和不一致:
不同的文件可能不同的格式和程序可能是写在多种编程语言。
此外,同样的信息可以被复制在几个地方(文件)。
冗余导致更高的存储和访问代价。
此外,它可能导致数据不一致的;即,各份相同的数据可能不同意。
例如,一个改变客户的地址可能是反映在savings-account记录,但没有其他方面的系统。
Difficultyinaccessingdata:
Conventionalfile-processingenvironmentsdonotallowneededdatatoberetrievedinaconvenientandefficientmanner.•数据访问困难:
传统的file-processing环境不允许所需的数据检索的方便和有效的方式了。
Dataisolation:
Becausedataarescatteredinvariousfiles,andfilesmaybeindifferentformats,writingnewapplicationprogramstoretrievetheappropriatedataisdifficult.••数据隔离:
由于数据分散在不同的档案和文件,可在不同的格式,编写新的应用程序检索相应的数据是很困难的…
Integrityproblems:
Thedatavaluesstoredinadatabasemustsatisfycertaintypesofconsistencyconstraints.Forexample,thebalanceofabankaccountmayneverfallbelowaprescribedamount(say,$25).However,whennewconstraintsareadded,itisdifficulttochangetheprogramstoenforcethem.Theproblemiscompoundedwhenconstraintsinvolveseveraldataitemsfromdifferentfiles.•诚信问题:
数据值存储在数据库中必须满足某些类型的一致性约束。
例如,一个银行账户余额不低于规定的数额(比如说,25美元)。
然而,当新的约束加入,这是很难改变的程序执行。
问题是加剧时,限制涉及几个项目的数据从不同的文件。
Atomicityproblems:
Failuresmayleavedatabaseinaninconsistentstatewithpartialupdatescarriedout.E.g.transferoffundsfromoneaccounttoanothershouldeithercompleteornothappenatall.Thatis,thefundsmustbeatomic-itmusthappeninitsentiretyornotatall.Itisdifficulttoensureatomicityinaconventionalfileprocessingsystem.•原子问题:
失败可能使数据库处于不一致的状态进行局部更新。
例如资金从一个帐户转移到另一个要么完全或根本不会发生。
那是,资金必须atomic-it必须发生在其全部或没有在所有。
很难保证原子在一个传统的文件处理系统。
Concurrentaccessanomalies:
Concurrentaccessedneededforperformance.Uncontrolledconcurrentaccessescanleadtoinconsistencies.E.g.twopeoplereadingabalanceandupdatingitatthesametime.•并发访问异常:
并发访问的性能需要。
不受控制的并发访问会导致不一致。
例如,人们读平衡和更新它在同一时间。
3.explaintheterms:
instanceschemaentityrelationshipattributesDDLDMLDBADBMSandquery.3.explain术语:
实例架构实体关系属性数据库管理员数据库和查询数据操纵语言。
Instance:
Thecollectionofinformationstoredinthedatabaseataparticularmomentiscalledinstanceofthedatabase.实例:
收集的信息存储在数据库中某一特定时刻被称为数据库实例。
Schema:
Theoveralldesignofthedatabaseiscalledthedatabaseschema.架构:
整体设计的数据库被称为数据库模式
Entity:
Anobjectintheminiworldaboutwhichinformationistobestored.实体:
物体的迷你世界哪些资料存储
Relationship:
Arelationshipisaconnectionbetweentwoormoreentitysets关系:
一个关系之间的连接两根或两根以上的实体集
Attribute:
Apropertyorfeatureofanentity(orrelationship)属性:
一个属性或特征的一个实体(或关系)
DDL:
Wespecifyadatabaseschemabyasetofdefinitionsexpressedbyaspeciallanguagecalledadata-definitionlanguage介绍:
我们指定一个数据库模式的一套定义表达的一种特殊的语言称为数据定义语言
DML:
Data-manipulationlanguage(DML)isalanguagethatenablesuserstoaccessormanipulatedataasorganizedbytheappropriatedatamodel数据操纵语言数据操纵语言(语言)是一种语言,使用户能够访问和操纵数据组织的适当的数据模型
DBA:
Adatabaseadministrator,apersonwhohassuchcentralcontroloverthesystem.数据库:
数据库管理员,一个人有这样的中央控制系统。
DBMS:
Adatabase-managementsystem(DBMS)isacollectionofinterrelateddataandasetofprogramstoaccessthosedata.数据库管理系统数据库管理系统(数据库管理系统)是一个相关的数据集合和访问这些数据的程序。
Query:
Aqueryisastatementrequestingtheretrievalofinformation.查询:
查询语句请求的信息检索。
4.List7programminglanguagesthatareproceduraland3thatarenonprocedural.Whichgroupiseasiertolearn?
Explain(大家自己随便编上点就行了)
Procedural:
Nonprocedural:
5.IntheFig.1.4,e/rdiagramidentifytheentitiesentitysetsattributesandrelationships.
矩形内的entitysets是菱形内的是relationships椭圆形内的是attributes
6.What’stheresultinfigure1.5?
答案:
500,900
Chapter2
1.Whatarethedifferenttypesofattributes?
Explainwithexamples.什么是不同类型的属性?
举例说明
AttributeTypes:
Anattrib
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数据库技术 vf 课后 答案