题目详情

某集团公司拥有多个大型连锁商场,公司需要构建一个数据库系统以方便管理其业务运作活动。

【需求分析结果】

(1)商场需要记录的信息包括商场编号(编号惟一)、商场名称、地址和联系电话。某商场信息如表3-4所示。

表3-4 商场信息表

中级软件设计师,模拟考试,2021年软件设计师模拟题6

(2)每个商场包含不同的部门,部门需要记录的信息包括部门编号(集团公司分配)、部门名称、位置分布和联系电话。某商场的部门信息如表3-5所示。

表3-5 部门信息表

中级软件设计师,模拟考试,2021年软件设计师模拟题6

(3)每个部门雇佣多名员工处理日常事务,每名员工只能隶属一个部门(新进员工在培训期不隶属于任何部门)。员工需要记录的信息包括员工编号(集团公司分配)、姓名、岗位、电话号码和工资。员工信息如表3-6所示。

表3-6 员工信息表

中级软件设计师,模拟考试,2021年软件设计师模拟题6

(4)每个部门的员工中有一名是经理,每个经理只能管理一个部门,系统需要记录每个经理的任职时间。

【概念模型设计】

根据需求阶段搜集的信息,设计实体联系图(如图3-17)和关系模式(不完整)。

中级软件设计师,模拟考试,2021年软件设计师模拟题6

【关系模式设计】

商场(商场编号,商场名称,地址,联系电话)

部门(部门编号,部门名称,位置分布,联系电话,(a))

员工(员工编号,员工姓名,岗位,电话号码,工资,(b))

经理((c),任职时间)

【问题1】

根据问题描述,补充4个联系,完善图3-17所示的实体联系图。联系名可用联系1、联系2、联系3和联系4代替,联系的类型分为1:1、1:n和m:n。

【问题2】

根据实体联系图,将关系模式中的空(a)-(c)补充完整,并分别给出部门、员工和经理 ?关系模式的主键和外键。

【问题3】

为了使商场有紧急事务时能联系到轮休的员工,要求每位员工必须且只能登记一位紧急联系人的姓名和联系电话,不同的员工可以登记相同的紧急联系人。则在图3-17中还需添加的实体是(1),该实体和图3-17中的员工存在(2)联系(填写联系类型)。给出该实体的关系模式。

正确答案及解析

正确答案
解析

【问题1】完整的实体联系图如图3-18所示。

中级软件设计师,模拟考试,2021年软件设计师模拟题6

【问题2】

(a)所在商场编号

(b)所在部门编号 (c)员工编号

中级软件设计师,模拟考试,2021年软件设计师模拟题6

中级软件设计师,模拟考试,2021年软件设计师模拟题6

【问题3】

(1)紧急联系人

(2)1:n

关系模式为:紧急联系人(紧急联系人编号,姓名,联系电话)。

包含此试题的试卷

你可能感兴趣的试题

单选题

Advancements in ( )have contributed to the growth of the automotive industry through the creation and evolution of self-driving vehicles.

  • A.Artificial Intelligence
  • B.Cloud Computing
  • C.Internet of Things
  • D.Big Data
查看答案
单选题

In project human resource management , ( )is not a source of power for the project manager.

  • A.referent power
  • B.expert power
  • C.reward power
  • D.audit power
查看答案
单选题

At the project establishment stage , the feasibility study mainly includes techinical feasibility analysis , ( ), operation environment feasibility analysis and other aspects of feasibility analysis.

  • A.detail feasibility analysis
  • B.opportunity analysis
  • C.economic feasibility analysis
  • D.risk analysis
查看答案
单选题

( )is a grid that shows the project resources assigned to each work package.

  • A.Stakeholder engagement assessment matrix
  • B.Requirements traceability matrix
  • C.Probability and impact matrix
  • D.Responsibility assignment matrix
查看答案
单选题

Xinhua News Agency reported in January 2022,Chian will further promote the developmet of a digital economy during the 14th Five-Year Plan eriod(2021-2025). The plan also emphasized industrial ( )transformation.

  • A.digital
  • B.networking
  • C.intelligentize
  • D.informatization
查看答案

相关题库更多 +