题目
B、moral, belief and value
C、attitude and relationships
D、food and music
第1题
Software entities are more complex for their size than perhaps any other human construct, because no two parts are alike (at least above the statement level). If they are, we make the two similar parts into one, a (), open or closed.In this respect software systems differ profoundly from computers, buildings, or automobiles, where repeated elements abound. Digital computers are themselves more complex than most things people build; they have very large numbers of states.This makes conceiving, describing, and testing them hard.Software systems have orders of magnitude more()than computers do. Likewise, a scaling-up of a software entity is not merely a repetition of the same elements in larger size; it is necessarily an increase in the number of different elements.In most cases, the elements interact with each other in some()fashion, and the complexity of the whole increases much more than linearly. The complexity of software is a(an) ()property, not an accidental one.Hence descriptions of a software entity that abstract away its complexity often abstract away its essence.Mathematics and the physical sciences made great strides for three centuries by constructing simplified models of complex phenomena, deriving, properties from the models,and verifying those properties experimentally.This worked because the complexities()in the models were not the essential properties of the phenomena.It does not work when the complexities are the essence. Many of the classical problems of developing software products derive from this essential complexity and its nonlinear increases with size.Not only technical problems but management problems as well come from the complexity.
A.task B.job C.subroutine D.programA.states B.parts C.conditions D.expressionsA.linear B.nonlinear C.parallel D.additiveA.surface B.outside C.exterior D.essentialA.fixed B.included C.ignored D.stabilized
第2题
A.apparent
B.abstract
C.abundant
D.abnormal
第3题
第4题
What is true about the apartments Mies building Chicago's Lake Shore Drive?
A.They ignored details and proportions.
B.They were built with materials popular at that time.
C.They were more spacious than neighboring buildings.
D.They shared some characteristics of abstract art.
第5题
A.That’s because it’s easier for our brains to process concrete rather than abstract things, and the immediate hassle is very tangible compared with those unknowable, uncertain future benefits.
B.That’s because it makes their future self feel more real—making the future benefits of saving also feel more weighty.
C.That’s because our brain’s reward system is so highly responsive to our social standing.
D.That’s because the guilty pleasure helps dilute your brain’s perception of the short-term “cost” of exercising.
第6题
A.population
B.regulation
C.inspection
D.satisfaction
第7题
A.That’s because it makes their future self feel more real—making the future benefits of saving also feel more weighty.
B.That’s because our brain’s reward system is so highly responsive to our social standing.
C.That’s because it’s easier for our brains to process concrete rather than abstract things, and the immediate hassle is very tangible compared with those unknowable, uncertain future benefits.
D.That’s because the guilty pleasure helps dilute your brain’s perception of the short-term “cost” of exercising.
第8题
All fragile things are breakable things. Some glasses are fragile things. Therefore,
A、Some Glasses will break.
B、Some Glasses are breakable things.
C、Some things are breakable.
D、None of the above.
第9题
A.the; the
B./; /
C.the; /
D./; the
第10题
试题六(共15分)
阅读以下说明和Java代码,填补Java代码中的空缺(1)~(5),将解答写在答题纸的对应栏内。
【说明】
已知某公司主要有两大类耗电资产(Asset):计算机(ComputerAsset)和建筑物(Building Asset)。为了节约能源,通过控制各种电源,将可关闭的房灯、计算机显示器等在夜间关闭。
为了实现上述需求,设计了如图6-1所示的类图,并用下面的Java代码加以实现。
【Java代码】
abstract class Asset{ /*通用资产,基类*/}
interface PowerSwitchable{ /*可在夜间关闭电源的物体实现该接口*/
public void powerDown();
public void powerUp();
}
abstract class BuildingAsset extends Asset{/*建筑物资产*/
protected int room;
public BuildingAsset(int room){ this.room= room; }
}
abstract class BuildingLight extends BuildingAsset{
//灯的通用信息:flourescent/incandescent等,略
BuildingLight(int roomNumber){ super(roomNumber);}
}
classEmergencyLight (1) {/*应急灯,永不关闭*/
EmergencyLight(int roomNumber){
super(roomNumber);
}
}
class RoomLights (2) {
RoomLights(int roomNumber){ super(roomNumber); }
public void powerDown(){ /*关电源,代码略*/}
public void powerUp(){/*开电源,代码略*/}
}
/*ComputerAsset、 Computer CPU和Computer Monitor代码略*/
public class BuildingManagement{
Asset things[]= new Asset[24];
int numltems=0;
public void goodNight(){/*值班员定时“关闭”时调用,关闭可关闭的电源*/
for (int i=0; i<things.length; i++)
if(things[i] instanceof (3) )
((PowerSwitchable)things[i]).powerDown();
}
/*goodMorning()与goodNight()类似,依次调用powerUp(),其实现细节此处略*/
public void add(Asset thing){ /*为建筑添加资产*/
things[ (4) ]=thing;
}
public static void main(String[] args){
BuildingManagementbl= (5) BuildingManagement();
bl.add(new RoomLights(101)); //101房间的控制灯
bl.add(new EmergencyLight(101)); //101房间的应急灯
bl.add(new ComputerCPU(10104));//101房间4号桌上的计算机主机
bl.add(new ComputerMonitor(10104)); // 101房间4号桌上的计算机显示器
bl.goodNight();
}
}
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!