文档详情

!!!数据库考试题及答案.pdf

发布:2019-04-14约5.39万字共32页下载文档
文本预览下载声明
习题 一、 [12 分] 用英文解释 1、 DBMS 2、Data Dictionary 3、Transaction[10 分] 二、单项选择题 1.There may be instances where an attribute has a set of values for a specific entity. This type of attribute is said to be 【】 A .single valued attribute B .multivalued attribute C.simple attribute D .composite attribute 2 .In a particular bank, a loan can belong to only one customer, and a customer can have several loans, then the relationship set fromcustomer to loan is 【】 A .one to many B .many to many C.many to one D .one to one 3.A 【】contains metadata ─ that is, data about data. A .table B.view C.data dictionary D .trigger 4 .The phrase ―greater than at least one ‖ is represented in SQL by【】 A .all B .all C.some D .some 5.In general, all aggregate functions except 【】ignore null values in their input collection. A .sum B .avg C.min D .count 6 .If a schedule S can be transformed into a schedule S ‘by a series of swaps of non-conflicting instructions, we say that S and S e 【】 ‘ ar A .non-conflicting equivalent B .conflict equivalent C.non-conflicting serializable D .conflict serializable 7.The fundamental operations in the relational algebra are【】。 A . ∪,-, ×, π和 σ B . ∪,-,∞, π和 σ C. ∪, ∩,×, π和 σ D . ∪, ∩,∞, π和 σ 8.In SQL, =some is identical to in, and 【】is identical to not in。 A .some B.=all C.all D .=some 9.The result of true and null is 【】。 A .null B .true C.false D .not null 10.The function sum applied on the collection {1,1,3,4,4,11} returns the value 【】. A .24 B .6 C.4 D .11 1 三、 [10 分] 设有 Course(课程 )、Teacher(教师 )、Student(研究生 ),其中: Course 有属性 cno(课程号 ) 、cname(课程名 )和 mark(学分 ); Teacher有属性 tno(教师编号 )、tname(教师姓名 )和 major(专业属
显示全部
相似文档