一起答
单选

● 假设某医院诊疗科、医生和患者各实体对应的关系模式如下:

诊疗科(科室代码,科室名称,电话)

医生(医生代码,姓名,科室代码)

患者(病历号,姓名,年龄,性别,病情,就诊日期,医生代码)

其中诊疗科允许有多部电话,则电话属性为 (33) 。若医生只属于一个诊疗科,并且同一天可为多位患者看病,而患者也可在不同的科室治疗,则医生和患者之间是(34)联系。患者关系模式的主键是(35),该关系属于(36) 的问题。  

(33)

  • A. 组合属性     
  • B. 派生属性        
  • C. 多值属性      
  • D. 单值属性    (34)
  • A. 1:1           
  • B. 1:n              
  • C. n:1            
  • D. n:m    (35)
  • A. 病历号                             
  • B. 病历号,病情,就诊日期
  • C. 病历号,就诊日期,医生代码         
  • D. 病情,就诊日期,医生代码    (36)
  • A. 3NF,无冗余、无插入异常和删除异常
  • B. 2NF,无冗余,但存在插入异常和删除异常
  • C. 2NF,存在冗余,但不存在修改操作的不一致
  • D. 2NF,存在冗余和修改操作的不一致,以及插入异常和删除异常
参考答案
查看试卷详情
相关试题
  1. ● POP3服务默认的TCP 端口号是(70)。

    (70)

    • A. 20       
    • B. 25       
    • C. 80       
    • D. 110
  2. ● Observe that for the programmer, as for the chef, the urgency of the patron (顾客)may govern the scheduled completion of the task, but it cannot govern the actual completion. An omelette(煎鸡蛋), promised in two minutes, may appear to be progressing nicely. But when it has not set in two minutes, the customer has two choices—waits or eats it raw. Software customers have had  (71) choices.  

    Now I do not think software  (72)   have less inherent courage and firmness than chefs, nor than other engineering managers. But false  (73)   to match the patron's desired date is much more common in our discipline than elsewhere in engineering. It is very (74)   to make a vigorous, plausible, and job risking defense of an estimate that is derived by no quantitative method, supported by little data, and certified chiefly by the hunches of the managers.  

    Clearly two solutions are needed. We need to develop and publicize productivity figures, bug-incidence figures, estimating rules, and so on. The whole profession can only profit from  (75) such data. Until estimating is on a sounder basis, individual managers will need to stiffen their backbones and defend their estimates with the assurance that their poor hunches are better than wish derived estimates.

    (71)

    • A. no                         B. the same
    • C. other                     D. lots of    (72)
    • A.testers                     B. constructors
    • C. managers              D. architects    (73)
    • A. tasks                      B. jobs          
    • C. works                     D. scheduling    (74)
    • A. easy                       B. difficult
    • C. simple                   D. painless    (75)
    • A. sharing                    B. excluding
    • C. omitting                   D. ignoring 
  3. ● 以下 HTML代码中,创建指向邮箱地址的链接正确的是(69)。

    (69)

    • A . test@test.com
    • B. test@test.com
    • C. test@test.com
    • D. test@test.commailto:test@test.com">test@test.com>
  4. ● 联机分析处理(OLAP)与联机事务处理(OLTP)的区别是(65)。

    (65)

    • A. OLAP 针对数据库,OLTP 针对数据仓库
    • B. OLAP 要求响应时间合理,OLTP 要求响应时间快
    • C. OLAP 主要用于更新事务,OLTP 用于分析数据
    • D. OLAP 面向操作人员,OLTP 面向决策人员
  5. ● IP 地址块 222.125.80.128/26 包含了(66)个可用主机地址,其中最小地址是(67),最大地址是(68)。

    (66)

    • A. 14        
    • B. 30      
    • C. 62        
    • D. 126    (67)
    • A. 222.125.80.128         
    • B. 222.125.80.129    
    • C. 222.125.80.159         
    • D. 222.125.80.160    (68)
    • A. 222.125.80.128         
    • B. 222.125.80.190    
  6. ● 对象关系数据库中,员工(工号,姓名,性别,联系电话)表中的联系电话为多值属性,则员工属于(62),在SQL99标准中可以使用(63)来实现。

    (62)

    • A. 非1NF关系  
    • B. 1NF关系      
    • C. 2NF关系           
    • D. 3NF关系    (63)
    • A. 集合类型     
    • B. CLOB 类型   
    • C. BLOB 类型         
    • D. 结构类型
  7. ● 不属于数据库访问接口的是(64)。

    (64)

    • A. ODBC     
    • B. JDBC     
    • C. ADO       
    • D. HTML
  8. ● 分布式数据库允许部分数据存在多个复本,而用户不必知道这些复本的存在,称为(61)。

    (61)

    • A. 分片透明   
    • B. 复制透明   
    • C. 位置透明    
    • D. 全局共享
  9. ● 关于分布式数据库,下列描述正确的是(60)。

    (60)

    • A. 客户机是分布在不同场地的
    • B. 多个数据库服务器间的数据交互通过客户端程序来实现
    • C. 数据的物理存储分布在不同的服务器上,而用户只关心访问的逻辑结构
    • D. 每个服务器上必须运行相同的DBMS
  10. ● 某高校的管理系统中有学生关系为:学生(学号,姓名,性别,出生日期,班级),该关系的数据是在高考招生时从各省的考生信息库中导入的,来自同一省份的学生记录在物理上相邻存放,为适应高校对学生信息的大量事务处理是以班级为单位的应用需求,应采取的优化方案是(59)。

    (59)

    • A. 将学号设为主码              
    • B. 对学号建立UNIQUE 索引
    • C. 对班级建立CLUSTER 索引    
    • D. 对班级建立UNIQUE 索引