题目内容

阅读下列说明及图13-8和图13-9,回答问题,将解答填入对应栏内。
【说明】
某电话公司决定开发一个管理所有客户信息的交互式网络系统。系统功能如下。
(1)浏览客户信息:任何使用Internet的网络用户都可以浏览电话公司所有的客户信息(包括姓名、住址、电话号码等)。
(2)登录:电话公司授予每个客户一个帐号。拥有授权帐号的客户,可以使用系统提供的页面设置个人密码,并使用该帐号和密码向系统注册。
(3)修改个人信息:客户向系统注册后,可以发送电子邮件或者使用系统提供的页面,对个人信息进行修改。
(4)删除客户信息:只有公司的管理人员才能删除不再接受公司服务的客户的信息。系统采用面向对象方法进行开发,在开发过程中认定出的类见表13-3。
在需求分析阶段,采用UML的用例图(use case diagram)描述系统功能需求,如图 13-8所示。请指出图中的A、B、C和D分别是哪个用例?

查看答案
更多问题

This course prepares non-native speakers for the internationally recognized First Certificate in English.
Syllabus(课程大纲)
Speaking skills are taught as part of an integrated approach. Special emphasis is placed on the ability to communicate successfully at all levels. Listening skills are also taught as part of an integrated approach. Extensive use is made of our modern language laboratory and video self-access center.
Grammar practice is an essential part of the preparation for the examination. Students are introduced to word processing on computers.
Integrated into our basic syllabus for speaking, listening and reading are regular classes on British life and institutions including the legal system, politics and the press literary(文学的) texts form. a part of all courses.
Careers and future study
The FCE is an intermediate qualification internationally recognized in commerce, industry and higher education.
Admission
Application-refer direct to the Language Center, University Brighton, Farmer, Brighton BN 19PH for details and application form.
Contact
Course leader: Martin Wilson 211-0934398
Training Course for FCE
Intended for:【46】of English to obtain the internationally recognized First Certificate in English
Skills to be trained: speaking,【47】and reading Teaching aids available: Modern【48】and【49】self access center Contact person:【50】

We are enclosing a copy of our terms business,where you will find details of our quantity

王某准备从证券市场购入 A、B、C、D四种股票组成投资组合。已知A、B、C、D四种股票的β系数分别为0.8、1.4、1.8、2.0。现行国库券的收益率为10%,市场平均股票的必要收益率为14%。
要求:
(1) 采用资本资产定价模型分别计算这四种股票的预期收益率。
(2) 假设王某准备长期持有A股票,A股票去年的每股股利为5元,预计年股利增长率为 6%,当前每股市价为60元。投资A股票是否合算?
(3) 若王某按5:2:3的比例分别购买了A、B、C三种股票,计算该投资组合的β系数和预期收益率。
(4) 若王某按3:2:5的比例分别购买了B、C、D三种股票,计算该投资组合的β系数和预期收益率。
(5) 根据上述(3)和(4)的结果,如果王某想降低风险,应选择哪一种投资组合?

阅读以下说明和C代码(代码13-4),将应填入(n)处的字句写在对应栏内。
【说明】
在一公文处理系统中,开发者定义了一个公文结构OfficeDoc,其中定义了公文应该具有的属性。当公文的内容或状态发生变化时,与之相关联的DocExplorer结构的值都需要发生改变。一个OfficeDoc结构能够关联一组DocExplorer结构。当OfficeDoc结构的内容或状态发生变化时,所有与之相关联的DocExplorer结构都将被更新,这种应用被称为观察者模式。以下代码采用C语言实现,能够正确编译通过。
【代码13-4】
include<stdio.h>
define OBS_MAXNUM 20 /*一个OfficeDoc变量最多能够关联的DocExplorer变量的个数*/
typedef void((1) )(struc OffieeDoc*, struct DoeExplorer*)I;
struct DocExplorer{
func update;/*DocExplorer结构采用的更新函数*/
/*其它的结构字段省略*/
};
struet OffieeDoc{
(2) myObs[OBS_MAXNUM];
/*存储所有与OfficeDoc相关联的DocExplorer结构指针*/
int index;/*与OffieeDoc结构变量相关联的DoeExplorer结构变量的个数*/
};
void attaeh(struct OfficeDoc*doc, struct DocExplorer*ob){
/*关联Observer结构ob与OffieeDoe结构doe*/
int loop=0;
if(doc->index>=OBS_MAXNUM||ob==NULL)return;
for(loop=0, loop<doc->index; loop++)
if(doc->myObs[loop]==ob)return;
doc->myObs[doe->index]=ob;
doc->index++;
}
void detaeh(struct OfficeDoc*doc, struct DocExplorer*ob){
/*解除doc结构与ob结构间的关联*/
int loop;
if(ob==NULL)return;
for(loop=0;loop<doc->index; loop++){
if(doe->myObs[loop]==ob){
if(loop<=doc->index-2)
doc->myObs[loop]=doc->myObs[(3)];
doc->myObs[doc->index-1]=NULL;
doc->index——;
breack;
}
}
}
void updatel(struct OfficeDoe*doe, struct DoeExplorer *ob){
/*更新ob结构的值,更新代码省略*/
} void update2(struct OffieeDoc*doc,struet DocExplorer *ob){
/*更新ob结构的值,更新代码省略*/
}
void notifyObs(struct OfficeDoc* doc){
/*当doc结构的值发生变化时,通知与之关联的所有DocExplorer结构变量*/
int loop;
for(loop=0; loop<doc->index; loop++){
(doc->myObs[loop])->update((4));
}
}
void main(){
struct OfficeDoc doc; /*定义一了OfficeDoe变量*/
struct DocExplorer explorer1, explorer2; /*定义两个DocExplorer变量*/
/*初始化与OfficeDoc变量相关的DocExplorer变量个数为0*/
doc.index=0;
explorer1.update=update1; /*设置explorer1变量的更新函数*/
explorer2. update=update2; /*设置explorer2变量的更新函数*/
attach(&doc, &explorer1); /*关联explorer1与doc对象*/
attach(&doc, &explorer2); /*关联explorer2与doc对象*/
/*其它代码省略*/
(5); /*通知与OfficeDoe相关的所有DoeExploer变量*/
return;
}

答案查题题库