niusouti.com
更多“26_______A. light B. pale C. easy D. quick ”相关问题
  • 第1题:

    The courageous boy has been the subject of massive media coverage.

    A:extensive
    B:continuous
    C:instant
    D:quick

    答案:A
    解析:
    本句意思:那个勇敢的男孩成了大众媒体报道的焦点。单词extensive意思为“广大的, 广泛的”,与massive(大的,大规模的)意思接近。单词continuous意思为“连续的”;instant意思 为“即时的,立即的”;quick意思为“迅速的”。

  • 第2题:

    阅读下列说明和C++代码,回答问题,将解答填入答题纸的对应栏内。
    【说明】
    某灯具厂商欲生产一个灯具遥控器,该遥控器具有7个可编程的插槽,每个插槽都有开关按钮,对应着一个不同的灯。利用该遥控器能够统一控制房间中该厂商所有品牌灯具的开关,现采用Command(命令)模式实现该遥控器的软件部分。Command模式的类图如下图所示。

    【C++代码】

    class Light {public: Light(stringname) { /* 代码省略 */ } void on() {/* 代码省略 */ } // 开灯 void off() {/* 代码省略 */ } // 关灯};class Command {public: (1) ;};class LightOnCommand:public Command { // 开灯命令private: Light* light;public: LightOnCommand(Light* light) { this->light=light; } voidexecute() { (2) ; }};class LightOffCommand:public Command { // 关灯命令private: Light *light;public: LightOffCommand(Light* light) { this->light=light; } voidexecute() { (3) ; }};class RemoteControl{ // 遥控器private: Command*onCommands[7]; Command*offCommands[7];public: RemoteControl() { /* 代码省略*/ } voidsetCommand(int slot, Command* onCommand, Command* offCommand) { (4) =onCommand; (5) =offCommand; } voidonButtonWasPushed(int slot) { (6) ; } voidoffButtonWasPushed(int slot) { (7) ; }};int main() { RemoteControl* remoteControl=new RemoteControl(); Light*livingRoomLight=new Light("Living Room"); Light*kitchenLight=new Light("kitchen"); LightOnCommand*livingRoomLightOn=newLightOnCommand(livingRoomLight); LightOffCommand* livingRoomLightOff=newLightOffCommand(livingRoomLight); LightOnCommand*kitchenLightOn=new LightOnCommand(kitchenLight); LightOffCommand* kitchenLightOff=new LightOffCommand(kitchenLight); remoteControl->setCommand(0, livingRoomLightOn, livingRoomLightOff); remoteControl->setCommand(1,kitchenLightOn, kitchenLightOff); remoteControl->onButtonWasPushed(0); remoteControl->offButtonWasPushed(0); remoteControl->onButtonWasPushed(1); remoteControl->offButtonWasPushed(1); /* 其余代码省略 */ return 0;}


    答案:
    解析:
    (1)virtual void execute()=0
    (2)light->on()
    (3)light->off()
    (4)onCommands[slot]
    (5)offCommands[slot]
    (6)onCommands[slot]->execute()
    (7)offCommands[slot]->execute()

  • 第3题:

    She is slender,with delicate wrists and ankles.

    A:sick
    B: weak
    C: slim
    D: pale

    答案:C
    解析:
    句意为:她很苗条,手腕和脚深都很纤细。slender是指人的身材苗条,四个选项中只有slim和它同义。pale意为“苍白”。

  • 第4题:

    The game requires us to find out two simple but effective ways to solve this problem.

    A: efficient
    B: clever
    C: stupid
    D: easy

    答案:D
    解析:
    句意:游戏要求我们必须找到两条既简单又有效的方法来解决这个问题。四个选项中,A. efficient的意思是“有效率的”;B. clever的意思是“聪明的”;C. stupid的意思是 “愚蠢的”;D. easy的意思是“简单的”,题目中画线部分的意思是“简单的、朴素的”,根据句子意思simple在本句话中的意思是“简单的”,因此D选项符合题意。

  • 第5题:

    The woman living next door is extremely slender.

    A:tall
    B:weak
    C: slim
    D: pale

    答案:C
    解析:
    句意:住在隔壁的那个女人非常苗条。画线单词slender意为“苗条的”。A项tall 意为“高的”;B项weak意为“柔弱的”;C项slim意为“苗条的”,与画线单词同义;D项 pale意为“苍白的,无力的”。故本题选C。