一起答
单选

设有员工实体Employee(employeeID,name,sex,age,tel,department),其中employeeID为员工号,name为员工姓名,sex为员工性别,age为员工年龄,tel为员工电话(要求记录该员工的手机号码和办公室电话),departID为员工所在部门号(要求参照另一部门实体Department的主码departID)。

Employee实体中存在的派生属性及其原因是(51);对Employee实体中属性departmentID的约束是(52)。

  • A.name,原因是会存在同名员工
  • B.age,原因是用属性birth替换age并可计算age
  • C.tel,原因是员工有多个电话
  • D.departID,原因是实体Department已有departID
参考答案
查看试卷详情
相关试题
  1. (85)

    • A.contained
    • B.competing
    • C.connecting
    • D. completing
  2. (84)

    • A.address
    • B.characteristics .
    • C.page
    • D.links
  3. (82)

    • A.text
    • B.database
    • C.document
    • D. graphic
  4. (83)

    • A.objects
    • B.event
    • C.table
    • D.function
  5. Microsoft's COM is a software(71) that allows applications to be built from binary software components. COM is the underlying architecture that forms the foundation for higher-level software services, like those provided by OLE. COM defines a binary standard for function calling between components, a way for components to dynamically discover the interfaces implemented by other components, and a mechanism to identify components and their interfaces uniquely.

     OLE is a compound(72) standard developed by Microsoft. OLE makes it possible to create(73) with one application and link or embed them in a second application. Embedded objects retain their original format and(74) to the application that created them. Support for OLE is built into the Windows and MacOS Operating Systems. A(75) compound document standard developed mainly by Apple and IBM is called OpenDoc.

    • A.structure
    • B.procedure
    • C.protocol
    • D.architecture
  6. (80)

    • A.修改表5-4的结构,在表5-4中增加一个员工号
    • B.修改表5-5的结构,在表5-5中增加一个部门号
    • C.修改表5-5的结构,在表5-5中增加一个员工号
    • D.修改表5-6的结构,在表5-6中增加一个部门号
  7. 某商场的部门、员工和商品3个实体之间的关系如图5-7所示。假设每个部门有若干名员工,每种商品只能由一个部门负责销售。如果用户要求得到如表5-7所示的结果,则需要(52),并增加关系模式(53)。如果要求查询某部门负责销售的商品,则需要(54)。

    • A.修改表5-4的结构,在表5-4中增加一个员工号
    • B.修改表5-5的结构,在表5-5中增加一个员工号
    • C.修改表5-5的结构,在表5-5中增加一个部门号
    • D.修改表5-6的结构,在表5-6中增加一个部门号
  8. (79)

    • A.Sale_record(员工号,名称,数量)
    • B.Sale_record(员工号,名称,商品号,数量)
    • C.Sale_record(员工号,部门号,数量)
    • D.Sale_record(员工号,部门号,商品号,数量)
  9. (77)

    • A.类O、P和Q的对象都可以访问方法F3
    • B.类O、P和Q的对象都不可以访问方法F3
    • C.类O和Q的对象都可以访问方法F3,但类P的对象不能访问方法F3
    • D.类P和Q的对象都可以访问方法F3,但类Q的对象不能访问方法F3
  10. (76)

    • A.类O、P和Q的对象都可以访问方法F2
    • B.类P和Q的对象都可以访问方法F2
    • C.类O和Q的对象都可以访问方法F2
    • D.只有在类P内才能访问方法F2