网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
On a chart, the characteristic of the light on a lighthouse is shown as flashing white with a red sector. The red sector ______.
A.indicates the limits of the navigable channel
B.indicates a danger area
C.is used to identify the characteristics of the light
D.serves no significant purpose
参考答案
更多 “ On a chart, the characteristic of the light on a lighthouse is shown as flashing white with a red sector. The red sector ______.A.indicates the limits of the navigable channelB.indicates a danger areaC.is used to identify the characteristics of the lightD.serves no significant purpose ” 相关考题
考题
Parents transmit some of their()to their children.A. characteristicsB. characterC. characteristic
考题
John remarked after the meeting that the speaker was a woman of _________wit.
A.emotionalB. accurateC. excellentD. exceptional
考题
“The Fighter on the Special Front”, a new-produced feature film, will be ________ in the college auditorium at seven tonight.
A.showedB.showingC.showD.shown
考题
Which of the following is the correct pin out for T568B?()
A. Orange/white, orange, green/white, blue, blue/white, green, brown/white, brownB. Blue, blue/white, orange/white, orange, brown/white, brown, green/white, greenC. Green/white, green, orange/white, blue, blue/white, orange, brown/white, brownD. Orange/white, orange, brown/white, brown, green/white, green, blue, blue/white
考题
line chart窗口3的信息来自于哪个地方()
A.chart 1的 additional infoB.chart 1的 eventC.chart 1的 change msD.chart 1的Information Elements
考题
When the relative motion display is selected all tracked objects will display ______ vectors.A.motionB.stationaryC.dynamicalD.flashing
考题
阅读下列说明和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;}
考题
Attitudes to mental illness have shifted in recent years.A:displayed B:shown.C:changed D:demonstrated
考题
【口语题】white–wit
热门标签
最新试卷