问题 听力题

单词拼写(共10小题;每小题0..5分, 满分5分)

小题1:As a saying goes,                (经验) is the father of wisdom and memory the mother.

小题2:The murder rate in the city has risen to four times the national               (平均数) .

小题3: Now that you are a college student, you should learn to be             (独立的)of your parents' help. 

小题4:She is a psychology              (毕业生) of University of Pennsylvania.

小题5:To speak English              (流利地), you had better read as many English articles as you can.   

小题6: The country is making               (准备) for war

小题7: People who are sent to prison for drunk-driving get what they            (应得的) .

小题8: She               (解释) to me the other day that judging from my test results she believed that I hadn’t focused my efforts on studying.    

小题9: There are three ways to get something done: Do it yourself, hire someone to do it, or            

(禁止) your children to do it.

小题10: At present, the new position                 (挑战) him to study still harder during his spare time every day.

答案

小题1:experience

小题1:average

小题1:independent

小题1:graduate

小题1:fluently

小题1:preparations

小题1:deserve

小题1:explained

小题1:forbid

小题1:challenges

单项选择题
问答题

阅读下列说明和图,回答问题1至问题3。
[说明]
某大型旅店为了便于管理,欲开发一个客房管理系统。希望实现客房预定、入住登记、帐务结算、退房,以及将服务项目记入客人帐单。
旅客包括散客和团体,散客预定或入住时需要提供姓名、性别、身份证和联系电话,团体则提供团体名称、负责人的姓名、性别、身份证和联系电话,以及团体人数。对于散客,还要提供换房。
旅店还提供了很多服务项目,比如早餐。对每一个入住客人,服务列表记录了住宿期间的各项服务,包括服务类型、日期、数量等。当然,客人也可以不要任何服务。
旅店的客房有一个唯一的房间号,分为不同的类别,不同的房间床位数和价格不同。
为了有效的管理,需要记录每天的客房状态。客房的状态有:空闲、占用、已预定和维修。
· 客人入住后,客房处于占用状态;
· 客人退房后,客房处于空闲状态;
· 客人预定后,客房处于已预定状态;
· 预定客人入住后,客房处于占用状态;
· 预定客人取消预定后客房处于空闲状态;
· 需要维修时客房处于维修状态;
· 维修完成后客房处于空闲状态。
该系统采用面向对象方法开发,系统中的类以及类之间的关系用UML类图表示,图3-1是该系统的类图的一部分,图3-2描述了客房状态的转变情况。
[图3-1]
[*]
[图3-2]
[*]
1.请用图3-1的属性和方法的名称给出客人类的属性和方法。(注意:团体类中的负责人姓名等与散客的对应属性含义相同,不必区分)