武汉理工大学数据库答案汇总.docx

上传人:b****8 文档编号:9582777 上传时间:2023-05-20 格式:DOCX 页数:50 大小:1.20MB
下载 相关 举报
武汉理工大学数据库答案汇总.docx_第1页
第1页 / 共50页
武汉理工大学数据库答案汇总.docx_第2页
第2页 / 共50页
武汉理工大学数据库答案汇总.docx_第3页
第3页 / 共50页
武汉理工大学数据库答案汇总.docx_第4页
第4页 / 共50页
武汉理工大学数据库答案汇总.docx_第5页
第5页 / 共50页
武汉理工大学数据库答案汇总.docx_第6页
第6页 / 共50页
武汉理工大学数据库答案汇总.docx_第7页
第7页 / 共50页
武汉理工大学数据库答案汇总.docx_第8页
第8页 / 共50页
武汉理工大学数据库答案汇总.docx_第9页
第9页 / 共50页
武汉理工大学数据库答案汇总.docx_第10页
第10页 / 共50页
武汉理工大学数据库答案汇总.docx_第11页
第11页 / 共50页
武汉理工大学数据库答案汇总.docx_第12页
第12页 / 共50页
武汉理工大学数据库答案汇总.docx_第13页
第13页 / 共50页
武汉理工大学数据库答案汇总.docx_第14页
第14页 / 共50页
武汉理工大学数据库答案汇总.docx_第15页
第15页 / 共50页
武汉理工大学数据库答案汇总.docx_第16页
第16页 / 共50页
武汉理工大学数据库答案汇总.docx_第17页
第17页 / 共50页
武汉理工大学数据库答案汇总.docx_第18页
第18页 / 共50页
武汉理工大学数据库答案汇总.docx_第19页
第19页 / 共50页
武汉理工大学数据库答案汇总.docx_第20页
第20页 / 共50页
亲,该文档总共50页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

武汉理工大学数据库答案汇总.docx

《武汉理工大学数据库答案汇总.docx》由会员分享,可在线阅读,更多相关《武汉理工大学数据库答案汇总.docx(50页珍藏版)》请在冰点文库上搜索。

武汉理工大学数据库答案汇总.docx

武汉理工大学数据库答案汇总

武汉理工大学数据库答案汇总

第一章:

1.1Whatisthepurposeofadatabase?

数据库的目的

Thepurposeofadatabaseistohelppeopletrack(跟踪监测)ofthings.

1.2Whatisthemostcommonlyusedtypeofdatabase?

最常见的数据库类型

Themostcommonlyusedtypeofdatabaseistherelationaldatabase.

1.3Giveanexampleoftworelatedtablesotherthantheexampleusedinthisbook.UsetheSTUDENTandGRADEtablesinFigure1-3asanexamplepattern(模式)foryourtables.Namethetablesandcolumnsusingtheconventionsinthisbook.给一个关联表的例子,参考1-3

 

Answer:

Query1:

学生信息

StudentNumber

LastName

FirstName

EmailAddress

1

Cookie

Sam

1234@OurU.edu

2

Lara

Marcia

1245@OurU.edu

3

Harris

Lou

2453@OurU.edu

4

Greene

Grace

2563@OurU.edu

5

Smith

Anna

4345@OurU.edu

Query2:

宿舍信息

StudentNumber

RoomNumber

RoomInformation

Rent

1

1

5-123

1000

2

3

3-633

1100

3

4

4-466

1200

4

2

2-454

1100

5

5

4-454

1300

1.4ForthetablesyoucreatedinReviewQuestion1.3,whataretheprimarykeysofeachtable?

Doyouthinkthatanyoftheseprimarykeyscouldbesurrogate(代理)keys?

每张表的主码?

这些主码可以是代理码吗?

Query1:

StudentNumber

Query2:

StudentNumber,RoomNumber

Yes,both.

1.5ExplainhowthetwotablesyouprovidedinReviewQuestion1.3arerelated.Whichtablecontainstheforeignkey,andwhatistheforeignkey?

TheprimarykeyofQ1wereaddedtotheQ2withaprimarykeyofStudentNumbertouniquelyidentifyeachrow.

InQ2StudentNumberandRoomNumbereachnowservesasaforeignkey.

1.6ShowyourtwotablesfromReviewQuestion1.3withoutthecolumnsthatrepresenttherelationships.Explainhowthevalueofyourtwotablesisdiminished(减少)withouttherelationships.在你的表中去掉代表关系的列,解释没有关系的表的value如何减少?

1.7Definethetermsdataandinformation.Explainhowthetwotermsdiffer.定义术语data和information,解释它俩的不同。

Answer:

Dataarerecordedfactsandnumbers.

Wecandefineinformationas:

Knowledgederivedfromdata.

Datapresentedinameaningfulcontext.

Dataprocessedbysumming,ordering,averaging,grouping,comparingorothersimilaroperations.

1.8GiveanexampleofinformationthatcouldbedeterminedusingthetwotablesyouprovidedinyouranswertoReviewQuestion1.3.

AnnaSmithlivesin4-454whichtherentis1300.

1.9Giveexamplesofasingle-userdatabaseapplicationandamultiuserdatabaseapplicationotherthantheonesshowninFigure1-5.举例子,单用户和多用户的数据库应用,除表1-5之外。

1.13Howdothee-commercecompaniesusethedatabasesdiscussedinReviewQuestion1.12?

电商公司如何使用数据库?

Answer:

E-commercecompaniesuseWebactivitydatabasestodeterminewhichitemsonaWebpagearepopularandsuccessfulandwhicharenot.

1.14Howdodigitaldashboardanddataminingapplicationsdifferfromtransactionprocessingapplications?

数字仪表板和数据挖掘应用程序在事务处理应用上有何不同?

Answer:

Digitaldashboardandotherreportingsystemsassesspastandcurrentperformance.Dataminingapplicationspredictfutureperformance.

1.15Explainwhyasmalldatabaseisnotnecessarilysimplerthanalargeone.

解释为什么一个小的数据库不一定比大的数据库简单?

Answer:

Supposedwehave2companywhicharedifferentinsalesbuthavesimilardatabase.Thoughthedifferenceinsale,bothhavethesamekindsofdata,aboutthesamenumberoftablesofdata,aboutthesamelevelofcomplexityindatarelationships.Onlytheamountofdatavariesfromonetotheother.Thus,althoughadatabaseforasmallbusinessmaybesmall,itisnotnecessarilysimple.(一句话,麻雀虽小五脏俱全)

1.16ExplainthecomponentsinFigure1-7.解释图1-7的成分要素

Adatabasesystemisdefinedtoconsistoffivecomponents:

users,thedatabaseapplication,StructuredQueryLanguage(SQL),thedatabasemanagementsystem(DBMS),andthedatabase.

a.Usersemployadatabaseapplicationtokeeptrackofthings.Theyuseformstoread,enter,andquerydata,andtheyproducereportstoconveyinformation.

b.AdatabaseapplicationisasetofoneormorecomputerprogramsthatservesasanintermediarybetweentheuserandtheDBMS.

c.StructuredQueryLanguage(SQL),aninternationallyrecognizedstandardlanguagethatisunderstoodbyallcommercialDBMSproducts,indatabaseprocessingandthefactthatdatabaseapplicationstypicallysendSQLstatementstotheDBMSforprocessing.

d.Thedatabasemanagementsystem(DBMS)isacomputerprogramusedtocreate,process,andadministerthedatabase.

e.Thedatabaseisacollectionofrelatedtablesandotherstructures.

 

1.17Whatarethefunctionsofapplicationprograms?

应用程序的功能是什么?

Answer:

•Createandprocessforms

•Processuserqueries

•Createandprocessreports

•Executeapplicationlogic

•Controlapplication

 

1.18WhatisStructuredQueryLanguage(SQL),andwhyisitimportant?

StructuredQueryLanguage(SQL)isaninternationallyrecognizedstandardlanguage.BecauseitnearlycanbeunderstoodbyallcommercialDBMSproducts,indatabaseprocessing,databaseapplicationstypicallysendSQLstatementstotheDBMSforprocessing.(在数据库方法中,数据库应用向DBMS发送SQL语句)

1.19WhatdoesDBMSstandfor?

Databasemanagementsystem

1.20WhatarethefunctionsoftheDBMS?

•Createdatabase、Createtables

•Createsupportingstructures

•Readdatabasedata

•Modify(修改)(insert,update,ordelete)databasedata

•Maintaindatabasestructures

•Enforcerules

•Controlconcurrency(并发控制)

•Providesecurity

•Performbackupandrecovery(备份与恢复)

1.21NamethreevendorsofDBMSproducts.

MySQL,MicrosoftSQLServer,IBM

1.22Definethetermdatabase.(数据库一词的定义)

Adatabaseisaself-describingcollectionofintegratedtables.

1.23Whyisadatabaseconsideredtobeself-describing?

Adatabaseisself-describingbecauseitcontainsadescriptionofitself.Thus,databasescontainnotonlytablesofuserdata,butalsotablesofdatathatdescribethatuserdata.

1.24Whatismetadata(元数据)?

Howdoesthistermpertain(属于)toadatabase?

databasescontainnotonlytablesofuserdata,butalsotablesofdatathatdescribethatuserdata.Suchdescriptivedataiscalledmetadatabecauseitisdataaboutdata.(元数据是描述数据的数据)

1.25Whatadvantageisthereinstoringmetadataintables?

Youcanexamine(调查)metadatatodetermineifparticulartables,columns,indexes,orotherstructuresexistinadatabase.

可以通过调查元数据得知某些特定的结构是否存在于数据库中

1.26Listthecomponentsofadatabaseotherthanusertablesandmetadata.除了用户表和元数据以外的其他数据库组件。

•Indexes

•Storedprocedures

•Triggers

•Securitydata

•Backup/recoverydata

1.27IsMicrosoftAccessaDBMS?

Whyorwhynot?

No,MicrosoftAccessisnotjustaDBMS.Becauseitisapersonaldatabasesystem:

aDBMSplusanapplicationgenerator.AlthoughMicrosoftAccesscontainsaDBMSenginethatcreates,processes,andadministersthedatabase,italsocontainsform,report,andquerycomponentsthataretheMicrosoftAccessapplicationgenerator.(应用程序生成器)

1.28-1.35了解就好,太偏太细,感觉不会考

1.28DescribethecomponentsshowninFigure1-15.

ComponentsofaMicrosoftAccessDatabaseSystem

MicrosoftAccesscontainsaDBMSenginethatcreates,processes,andadministersthedatabase,italsocontainsform,report,andquerycomponentsthataretheMicrosoftAccessapplicationgenerator.

1.29WhatisthefunctionoftheapplicationgeneratorinMicrosoftAccess?

Theapplicationgeneratorconsistsofapplicationscomponentsthatcreateandprocessforms,reports,andqueries.

1.30WhatisthenameoftheDBMSenginewithinMicrosoftAccess?

Whydowerarelyhearaboutthatengine?

ThecurrentDBMSenginewithinMicrosoftAccessiscalledtheAccessDatabaseEngine(ADE).ADEisaMicrosoftOfficespecificversionofMicrosoft’sJointEngineTechnology(JETorJet)databaseengine.ButyouseldomhearaboutJetbecauseMicrosoftdoesnotsellJetasaseparateproduct.

ADE是Jet引擎的一个版本,很少听说是因为Jet不是一个独立销售的产品

1.31WhydoesMicrosoftAccesshideimportantdatabasetechnology?

Becauseitisaneffectivestrategyforbeginnersworkingonsmalldatabases

1.32WhywouldsomeonechoosetoreplacethenativeMicrosoftAccessDBMSenginewithSQLServer?

YouwoulddothisifyouwantedtoprocessalargedatabaseorifyouneededtheadvancedfunctionsandfeaturesofMicrosoftSQLServer.

1.33Namethecomponentsofanenterprise-classdatabasesystem.

1.34Nameanddescribethefourcategoriesofdatabaseapplicationsthatwoulduseanenterprise-classdatabasesystem.

client/serverapplications:

theapplicationprogramisaclientthatconnectstoadatabaseserver.Client/serverapplicationsoftenarewritteninprogramminglanguagessuchasVB.NET,C++,orJava.

e-commerceapplications:

runonaWebserver

reportingapplications:

publishtheresultsofdatabasequeriesonacorporateportalorotherWebsite.

XMLWebservicesapplications:

useacombinationoftheXMLmarkuplanguageandotherstandardstoenableprogram-to-programcommunication.

1.35Howdodatabaseapplicationsreadandwritedatabasedata?

AllofthesedatabaseapplicationsgetandputdatabasedatabysendingSQLstatementstotheDBMS.

1.35Howdodatabaseapplicationsreadandwritedatabasedata?

(数据库应用程序是如何读写数据库数据的?

PPT:

FirstclassP23)

Answer:

theapplicationprogramfirstqueriestheDBMSfordata(againusingSQL).Theapplicationthenformatsthequeryresultsasareport.(首先在DBMS中使用SQL查询数据,然后将查询结果作为报表显示)

1.36NamethefiveDBMSproductsdescribedinthischapter,andcomparethemintermsofpower,features,anddifficultyofuse.(列出本章中5个DBMS产品,并比较他们的功效、特性和使用的难易程度PPT:

secondclassp39)

Answer:

MicrosoftAccess,MySQL,SQLServer,DB2,andOracleDatabase.(这已经是按比较顺序来的了)

 

1.37Listseveralconsequencesofapoorlydesigneddatabase.(列出几个数据库设计不良的后果)

Answer:

(1)TheymayrequireapplicationdeveloperstowriteoverlycomplexandcontrivedSQLtoget–wanteddata.(开发人员需要编写过于复杂的SQL来获取数据)

(2)theymaybedifficulttoadapttonewandchangingrequirements.(很难适应新的不断

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 表格模板 > 合同协议

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2