当前位置:考试网  > 试卷库  > 计算机类  > 软考  > 高级软考  > 系统架构设计师  > 阅读以下关于软件系统建模的叙述,在答题纸上回答问题1至问题3。【说明】某软件公司计划开发一套教学管理系统,用于为高校提供教学管理服务。该教学管理系统基本的需求包括:(1)系统用户必须成功登录到系统后才能使用系统的各项功能服务;(2)管理员(Registrar)使用该系统管理学校(University)、系(Department)、教师(Lecturer)、学生(Student)和课程(Course)等教学基础信息;(3)学生使用系统选择并注册课程,必须通过所选课程的考试才能获得学分;如果考试不及格,必须参加补考,通过后才能获得课程学分;(4)教师使用该系统选择所要教的课程,并从系统获得选择该课程的学生名单;(5)管理员使用系统生成课程课表,维护系统所需的有关课程、学生和教师的信息;(6)每个月到了月底系统会通过打印机打印学生的考勤信息。项目组经过分析和讨论,决定采用面向对象开发技术对系统各项需求建模。 【问题1】用例建模用来描述待开发系统的功能需求,主要元素是用例和参与者。请根据题目所述需求,说明教学服务系统中有哪些参与者。 【问题2】用例是对系统行为的动态描述,用例获取是需求分析阶段的主要任务之一。请指出在面向对象系统建模中,用例之间的关系有哪几种类型?对题目所述教学服务系统的需求建模时,“登录系统”用例与“注册课程”用例之间、“参加考试”用例与“参加补考”用例之间的关系分别属于哪种类型? 【问题3】类图主要用来描述系统的静态结构,是组件图和配置图的基础。请指出在面向对象系统建模中,类之间的关系有哪几种类型?对题目所述教学服务系统的需求建模时,类University与类Student之间、类University和类Department之间、类Student和类Course之间的关系分别属于哪种类型?
试题预览

阅读以下关于软件系统建模的叙述,在答题纸上回答问题1至问题3。【说明】某软件公司计划开发一套教学管理系统,用于为高校提供教学管理服务。该教学管理系统基本的需求包括:(1)系统用户必须成功登录到系统后才能使用系统的各项功能服务;(2)管理员(Registrar)使用该系统管理学校(University)、系(Department)、教师(Lecturer)、学生(Student)和课程(Course)等教学基础信息;(3)学生使用系统选择并注册课程,必须通过所选课程的考试才能获得学分;如果考试不及格,必须参加补考,通过后才能获得课程学分;(4)教师使用该系统选择所要教的课程,并从系统获得选择该课程的学生名单;(5)管理员使用系统生成课程课表,维护系统所需的有关课程、学生和教师的信息;(6)每个月到了月底系统会通过打印机打印学生的考勤信息。项目组经过分析和讨论,决定采用面向对象开发技术对系统各项需求建模。

【问题1】用例建模用来描述待开发系统的功能需求,主要元素是用例和参与者。请根据题目所述需求,说明教学服务系统中有哪些参与者。

【问题2】用例是对系统行为的动态描述,用例获取是需求分析阶段的主要任务之一。请指出在面向对象系统建模中,用例之间的关系有哪几种类型?对题目所述教学服务系统的需求建模时,“登录系统”用例与“注册课程”用例之间、“参加考试”用例与“参加补考”用例之间的关系分别属于哪种类型?

【问题3】类图主要用来描述系统的静态结构,是组件图和配置图的基础。请指出在面向对象系统建模中,类之间的关系有哪几种类型?对题目所述教学服务系统的需求建模时,类University与类Student之间、类University和类Department之间、类Student和类Course之间的关系分别属于哪种类型?

查看答案
收藏
纠错
正确答案:

【问题 1】【参考答案】 学生、教师、管理员、时间、打印机。

【问题 2】用例之间的关系包括:包含、扩展、泛化。 “登录系统 ”用例与 “注册课程 ”

用例之间的关系为:包含关系。 “

参加考试 ” 用例与“参加补考 ”用例之间的关系为:扩展关系。

【问题 3】【参考答案】 类之间的关系包括:关联、聚合、组合、依赖、泛化、实现 (可写可不写,因为实现是接口与类之间的关系,而接口是一种特殊的 类)。 类 University 与类 Student 之间的关系是:聚合关系。 类 University 与类 Department之间的关系是:组合关系。 类 Student与类 Course之间的关系是:关联关系。

【试题解析】 依赖关系:一个事物发生变化影响另一个事物。 泛化关系: 特殊/一般关系。 关联关系:描述了一组链,链是对象之间的连接。

聚合关系:整体与部分生命周期不同。 组合关系:整体与部分生命周期相 同。 实现关系:接口与类之间的关系。

答案解析:

暂无解析

你可能感兴趣的试题

安全生产检查的方法是()。

运用预防原理的原则有()。

某车间在进行起吊作业时,由于起吊物的重量超过了起重设备的额定起重量,造成了起吊设备倾翻,设备下方的作业人员当场死亡。根据《企业职工伤亡事故分类标准》(GB6441—1986),这起事故为()事故。

区别于3D打印造型,金属铸造是一种传统的金属热加工造型工艺,主要包括砂处理、造型、金属熔炼、浇铸、铸件处理等工序。关于铸造工艺安全健康措施的说法,正确的有()。

用人单位购买的劳动防护用品必须具有生产许可证、产品合格证和(),购买的防护用品须经本单位安全管理部门()。

热门试题 更多>
试题分类: 资料员
练习次数:0次
试题分类: 安全员
练习次数:0次
The food we eat seems to have profound effects on our health. Although science has made enormous steps in making food more fit to eat, it has , atthe same time, made many foods unfit to eat. Some research has shown that perhaps eighty percent of cancer is related to the diet as well, especially cancer the colon . Different cultures are more prone to contract certain illnesses because of the food that is characteristic in these cultures. That food related to llness is not a new discovery. In 1945 , government researchers realized that itrates and nitrites, commonly used to preserve color in meats, and other food dditives, caused cancer. Yet, these carcinogenic additives remain in our food, nd it becomes more difficult all the time to know which things on the pack ging labels of processed food are helpful or harmful.The additives which we eat are not all so direct. Farmers often give penicillin to beef and poultry, and because of this, penicillin has been found in the milk of treated cows. Sometimes similar drugs are administered to animals not for medicinal purposes, but for financial reasons. The farmers are simply trying to fatten the animals in order to obtain a higher price on the market. Although the Food and Drug Administration (FDA) has tried repeatedly to controlthese procedures, the practices continue. 48. What is the main topic of the passage? A. Food and our health B Food and additives C. Food and cancer D Food and culture 49 All of the following statements are true EXCEPT_______. A Forty percent of cancer is caused by problems related to food. B Researchers have known about the potential danger of food additivesfor many years C. We eat some of the food additives directly and some indirectly D Drugs are always given to animals for medicinal purposes 50. Why do farmers give drugs to their animals? A. to speed up the growth of animals B To make theanimals fatter C to make the animals ’ meat fit to eat D To make the animals’ meat rich in nutrients 51. It can be inferred from the passage that_________. A scientist have made all the food fit to eat B only in recent years have people found that the food is related to one’s illness C all kinds of cancer are related to the diet D some additives are harmful to our health 52. The word “ this ”in the second sentence of paragraph 2 most probablyrefers to __________. A farmer B penicillin C beef and poultry D the fact that farmers often give penicillin to a beef
试题分类: 大学英语三级
练习次数:4次
If the old maxim that the customer is always right still has meaning, then the airlines that ply the world’s busiest air route between London and Paris have a flight on their hands. The Eurostar train service linking the UK and French capitals via the Channel Tunnel is winning customers in increasing numbers. In late May, it carried its one millionth passenger, having run only a limited service between London, Paris and Brussels since November 1994, starting with two trains a day in each direction to Paris and Brussels. By 1997, the company believes that it will be carrying ten million passengers a year, and continue to grow from there. From July, Eurostar steps its service to nine trains each way between London and Paris, and five between London and Brussels. Each train carries almost 800 passengers, 210 of them in first class. The airlines estimate that they will initially lose around 15%-20% of their London-Paris traffic to the railways once Eurostar starts a full service later this year (1995), with 15 trains a day each way. A similar service will start to Brussels. The damage will be limited, however, the airlines believe, with passenger numbers returning to previous levels within two to three years. In the short term, the damage caused by the 1 million people-levels traveling between London and Paris and Brussels on Eurostar trains means that some air services are already suffering. Some of the major carriers say that their passenger numbers are down by less than 5% and point to their rivals-Particularly Air France-as having suffered the problems. On the Brussels route, the railway company had less success, and the airlines report anything from around a 5% drop to no visible decline in traffic. The airlines’ optimism on returning traffic levels is based on historical precedent. British Midland, for example, points to its experience on Heathrow Leeds Bradford service which saw passenger numbers fold by 15% when British Rail electrified and modernized the railway line between London and Yorkshire. Two years later, travel had risen between the two destinations to the point where the airline was carrying record numbers of passengers. 1.British airlines confide in the fact that__. A.they are more powerful than other European airlines. B.their total loss won’t go beyond a drop of 5% passengers. C.their traffic levels will return in 2-3 years. D.traveling by rail can never catch up with traveling by air. 2.The author’s attitude towards the drop of passengers may be described as__. A.worried.B.delightedC.puzzled.D.unrivaled. 3.In the passage, British Rail (Para 6) is mentioned to__. A.provide a comparison with Eurostar. B.support the airlines’ optimism. C.prove the inevitable drop of air passengers. D.call for electrification and modernization of the railway. 4.The railway’s Brussels route is brought forth to show that__. A.the Eurostar train service is not doing good business. B.the airlines can well compete with the railway. C.the Eurostar train service only caused little damage. D.only some airlines, such as Air France, are suffering. 5.The passage is taken from the first of an essay, from which we may well predict that in the following part the author is going to__. A.praise the airlines’ clear-mindedness. B.warn the airlines of high-speed rail services. C.propose a reduction of London/Paris flights. D.advise the airlines to follow British Midland as their model.
试题分类: 大学英语六级
练习次数:8次
Passage 1 Questions 1 to 5 are based on the following passage: Do you want to say what you think in a letter to the President of the United States? You’ll get a reply from him—written in ink, not typed—after only a few days. The President gets about 4,000 letters every week. He answers everyone who writes to him on special Whites House paper. But he doesn’t need a lot of time for it. In fact, he only gives 20 minutes a week to look at his personal correspondence. He has the most modern secretary in the world to help him. It’s computer, worth £ 800,000,which has its own rooms on the first floor of the White House. It has a bank of electronic pens which write like the President writes, in his favorite light blue ink. Each letter the President receives gets a number, according to the type of answer it needs. The pens then write the correct reply for it, according to the number. Each letter takes less than a second to write. A White House official said, “It’s not important that letters come from a computer. Each letter says what the President wants to say.” 1. for a reply from the President. A. You have to wait a long time B. You only have to wait several days C. You have to wait at least one month D. You only have to wait a few weeks 2. The reply from the President . A. is always printed B. is always typed C. is always written in ink D. is always written by himself 3. It takes the computer to write ten letters. A. no more than ten seconds B. a little more than ten seconds C. less than ten seconds D. at least one second 4. The computer can be described as . A. expensive but efficient B. possessing a beautiful handwriting C. heavy and inefficient D. the President’s most reliable secretary 5. It can be inferred from the passage that . A. the President never reads any letters written to him by ordinary people B. the President hires a very efficient secretary to deal with his correspondence C. the President does not really care about the letters he receives every week D. the President is assured that the computer express his views in the letters
试题分类: 大学英语四级
练习次数:15次
试题分类: 社区工作人员
练习次数:1次
扫一扫,手机做题