问题 单项选择题

某游戏公司欲开发一个大型多人即时战略游戏,游戏设计的目标之一是能够支持玩家自行创建战役地图,定义游戏对象的行为和对象之间的关系。针对该目标,公司应该采用()架构风格最为合适。

A.管道-过滤器

B.隐式调用

C.主程序-子程序

D.解释器

答案

参考答案:D

解析:

本题主要考查软件架构设计策略与架构风格问题。

根据题干描述,该软件系统特别强调用户定义系统中对象的关系和行为这一特性,这需要在软件架构层面提供一种运行时的系统行为定义与改变的能力,根据常见架构风格的特点和适用环境,可以知道最合适的架构设计风格应该是解释器风格。

阅读理解

You may not  have heard of Ashoka,  but for the past 27 years,this association, founded by Bill Drayton, has fought  poverty (贫穷)and sickness, promoted education and  encouraged small businesses. To support these worthy causes, Ashoka provides money for the world's most  promising "changemakers" seeking to solve (解决) urgent problems and would like to create a  world in which every citizen is a changemaker.

Drayton believes that anyone can become an agent for change. The important thing is to simply give yourself permission. If you see a problem that you care about, you can help solve it. The young in particular are willing to accept this concept because at heart every child wants to grow into a happy, healthy,  contributing adult. In fact It is many young people's ambition to set up programmes or businesses that improve social conditions. An excellent example is an Ashoka project started in 1995 in Dhaka, which handled the rubbish problem facing the city ,helped local farmers and provided an income for poor people there .

When Masqsood and Iftekhar began to study the problem of all the uncollected rubbish that lay in Dhaka’s streets,Attracting tats and disease , they discovered that 80% of it was natural waste . So they educated the poor people in the city to compost (把……制成堆粪)this waste . They knew that they would have a market for the end product because local farmers were struggling with chemical ferntilisers (化肥) which were expensive and had reduced the natural minerals in the soil over the years . At first , they were refused ,but once they were able to persuade them that there was money to be made , the project took off. In 2009 sales were $14,000.

Drayton is optimistic that in ten years Ashoka will be making really serious ,practical progress in bringing about social change by changing the way we look at economic development.

小题1:Which of the following could be the best title for the passage?

A.changemakers

B.Businessmen

C.Social Conditions

D.Rubbish Problem小题2:The underlined word "them" in Paragraph 3 probably refers to"       "

A.the local farmers

B.Masqsood and Iftekhar

C.Drayton and his team

D.the poor people in Dhaka小题3:It can be concluded from the passage that anyone can become a changemaker if he      .

A.considers Drayton's concept

B.gets permission from Ashoka

C.tries to improve social conditions

D.is a young, happy and healthy adult小题4:The authors attitude towards Ashoka's program can be described as        

A.changing

B.forgiving

C.cautious

D.Positive

单项选择题