期末试题-数据库技术与应用.doc
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《期末试题-数据库技术与应用.doc》由会员分享,可在线阅读,更多相关《期末试题-数据库技术与应用.doc(11页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、 班级: 学号: 姓名:北京邮电大学20072008学年第一学期数据库技术与应用期末考试试题考试注意事项一、学生参加考试须带学生证或学院证明,未带者不准进入考场。学生必须按照监考教师指定座位就坐。二、书本、参考资料、书包等与考试无关的东西一律放到考场指定位置。三、学生不得另行携带、使用稿纸,要遵守北京邮电大学考场规则,有考场违纪或作弊行为者,按相应规定严肃处理。四、学生必须将答题内容做在专用答题纸上,做在试卷、草稿纸上一律无效。考试课程数据库技术与应用考试时间 年 月 日题号一二三四五六七八总分满分2030103010得分阅卷教师True-False Questions(20)题号123456
2、78910答案题号11121314151617181920答案Multiple Choice Questions(30)题号12345678910答案题号11121314151617181920答案题号21222324252627282930答案Fill in the Blank Questions(10)题号答案12345678910Essay Questions(30)12345Give your suggestion about this course(10)True-False Questions(1point*20)1. The purpose of a database is to
3、 help people keep track of things.2. The relational model was first proposed in 1970 by E. F. Codd at IBM.3. A relation is a three-dimensional table.4. An asterisk (*) following the SELECT verb means that all columns are to be obtained.5. The SQL keyword GROUP BY instructs the DBMS to group together
4、 those rows that have the same value in a column.6. In an E-R model, the three types of maximum cardinality are 1:1, 1:N and N:M.7. A null value is an attribute value that has been set to zero.8. A data constraint is a limitation on data values.9. In a relational database design, all relationships a
5、re expressed by creating a foreign key.10. A transaction is a group of alternative database actions from which the database can choose to perform only one of them.11. Two-phased locking has a growing phase and a shrinking phase.12. Repeatable Reads isolation is the most restrictive level of isolatio
6、n.13. A database save is used to mark the end of a transaction.14. To add a NULL column to a table, we simply use the MODIFY TABLE statement.15. Deleting tables and relationships is basically a matter of dropping foreign key constraints and then dropping the tables.16. The SQL keyword DELETE is used
7、 to delete a tables structure.17. Joins that show only matching rows from the joined tables in their results are called inner joins.18. An SQL virtual table is called a view.19. SQL triggers are used for providing default values, validity checking, updating views, and performing referential integrit
8、y actions.20. Stored procedures have the advantage of greater security, decreased network traffic, SQL optimized by the DBMS compiler, and code sharing.Multiple Choice Questions(1 point*30)1. A database stores:a.)data.b.)relationships.c.)metadata.d.)a and be.)a, b and c2. A program whose job is to c
9、reate, process and administer databases is called the _.a.)Database Modeling Systemb.)Database Management Systemc.)Data Business Model Systemd.)Relational Model Managere.)Data Business Management Service3. A database is considered self-describing because _ .a.)all the users data is in one placeb.)it
10、 reduces data duplicationc.)it contains a description of its own structured.)it contains a listing of all the programs that use ite.)All of the above.4. A very popular development technique used by database professionals for database design is known as _ .a.)data martsb.)normalizationc.)data modelsd
11、.)entity-relationship data modelinge.)data migration5. In an SQL query, which SQL keyword is used to state the condition that specifies which rows are to be selected?a.)EXISTSb.)FROMc.)SELECTd.)SETe.)WHERE6. In an SQL query, which of the following symbols is used by ANSI SQL to represent a single un
12、specified character?a.) (underscore)b.)? (question mark)c.)* (asterisk)d.)% (percent)e.)# (pound)7. Given a table with the structure: EMPLOYEE (EmpNo, Name, Salary, HireDate), which of the following would find all employees whose name begins with the letter S using standard SQL?a.)SELECT *FROM EMPLO
13、YEEWHERE Name IN S;b.)SELECT EmpNoFROM EMPLOYEEWHERE Name LIKE S;c.)SELECT *FROM NameWHERE EMPLOYEE LIKE S*;d.)SELECT *FROM EMPLOYEEWHERE Name LIKE S%;e.)None of the above.8. Given a table with the structure: EMPLOYEE (EmpNo, Name, Salary, HireDate), which of the following is not a valid ANSI SQL co
14、mmand?a.)SELECT *FROM EMPLOYEEWHERE Name LIKE Ja%;b.)SELECT COUNT(*)FROM EMPLOYEEWHERE Salary 30000;c.)SELECT COUNT(EmpNo)FROM EMPLOYEE;d.)SELECT HireDate, COUNT(*)FROM EMPLOYEEWHERE Salary 30000;e.)SELECT HireDate, COUNT(*)FROM EMPLOYEEGROUP BY HireDate;9. A relation _ .a.)has rows containing data
15、about an entityb.)has columns containing data about attributes of the entityc.)has cells that hold only a single valued.)has no two identical rowse.)All of the above.10. Which of the following is true about the functional dependency A (X, Y)?a.)X is functionally dependent on A.b.)A determines Y.c.)A
16、 is a determinant.d.)X and Y are functionally dependent on A.e.)All of the above.11. A relation is in fourth normal form if it is in BCNF and it has no _ .a.)transitive dependenciesb.)multivalued dependenciesc.)partial dependenciesd.)deletion dependenciese.)referential integrity conflicts12. The adv
17、antages of normalization include _ .a.)the elimination of modification anomaliesb.)the elimination of duplicated datac.)more complex SQL for multitable subqueries and joinsd.)a and be.)a, b and c13. To check for null values in a column in a table, use the SQL phrase _ .a.)ISb.)IS NOTc.)IS NULLd.)COU
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 期末 试题 数据库技术 应用
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内