网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
71 Your sponsor announce to you and your team that his/her door is open to everyone wishing to discuss project problems. Yet, the sponsor seems to be annoyed whenever someone does stop by, even when discussing a serious problems. This is an example of.
A. semantics
B. credibility
C. inconsistent signals
D. perceptual differences
E. misunderstood role
参考答案
更多 “ 71 Your sponsor announce to you and your team that his/her door is open to everyone wishing to discuss project problems. Yet, the sponsor seems to be annoyed whenever someone does stop by, even when discussing a serious problems. This is an example of.A. semanticsB. credibilityC. inconsistent signalsD. perceptual differencesE. misunderstood role ” 相关考题
考题
7. Hi! This is_______ new teacher.__________ name is Linda.A. your; MyB. his; YourC. your ; HerD. her; His
考题
Merry Christmas, George! Here is a card for ________, with ________ best withes.
A.you…yourB.you…ourC.us…ourD.us…your
考题
阅读以下说明和C++代码。【说明】传输门是传输系统中的重要装置。传输门具有Open(打开)、Closed(关闭)、Opening (正在打开)、StayOpen(保持打开)和Closing(正在关闭)五种状态。触发传输门状态转换的事件有click、complete和timeout三种。事件与其相应的状态转换如下图所示。下面的C++代码1与C++代码2分别用两种不同的设计思路对传输门进行状态模拟,请填补代码中的空缺。【C++代码1】const int CLOSED=1; const int PENING=2;const int PEN=3; const int CLOSING=4;const int STAYOPEN=5; //定义状态变量,用不同整数表示不同状态class Door {Private:int state; //传输门当前状态void setState(int state){ this->state=state;} //设置当前状态public:Door():state(CLOSED){};void getState(){ //根据当前状态输出相应的字符串switch(state){case OPENING: cout<<"OPENING"<<endl; break;case CLOSED: cout<<"CLOSED"<<endl; break;case OPEN: cout<<"OPEN"<<endl; break;case CLOSING: cout<<"CLOSING"<<endl; break;case STAYOPEN:cout<<"STAYOPEN"<<endl; break;}};void click() { //发生click事件时进行状态转换if ((1)) setState(OPENING);else if ((2)) setState(CLOSING);else if ((3)) setState(STAYOPEN);}void timeout(){ //发生timeout事件时进行状态转换if (state == OPEN) setState(CLOSING);}void complete(){ //发生complete事件时进行状态转换if (state == OPENING) setState(OPEN);else if (state == CLOSING) setState(CLOSED);}};int main(){Door aDoor;aDoor.getState();aDoor.click(); aDoor.getState();aDoor.complete();aDoor.getState(); aDoor.click();aDoor.getState();aDoor.click(); aDoor.getState(); return 0;}【C++代码2】class Door {public:DoorState *CLOSED,*OPENING,*OPEN,*CLOSING,*STAYOPEN,*state;Door();virtual~Door(){……//释放申请的内存,此处代码省略);void setState(DoorState *state) { this->state = state;}void getState(){//此处代码省略,本方法输出状态字符串,//例如,当前状态为CLOSED时,输出字符串为“CLOSED”};void click();void timeout();void complete();};Door::Door(){CLOSED = new DoorClosed(this); OPENING = new DoorOpening(this);PEN = new DoorOpen(this); CLOSING = new DoorClosing(this);STAYOPEN = new DoorStayOpen(this);state = CLOSED;}void Door :: click() {(4);)void Door :: timeout() {(5);)void Door :: complete() {(6);}class DoorState//定义一个抽象的状态,它是所有状态类的基类{protected:Door *door;public:DoorState(Door *door) {this->door = door;}virtual~DoorState(void);virtual void click() {}virtual void complete(
考题
( ) – Is Miss White __________ English teacher, Maria?– No, she teaches __________ geography.A.your;myB.you;mineC.you;usD.your;us
考题
If a person is bitten by some kind of animal,you________.A.should be panic
B.should take him(her)to a big hospital right away
C.should help to clean the wound and ask the patient to have a good rest at home
D.should help to clean the wound and then take him(her)to a nearby hospital quickly as possible.
考题
材料题
D
With the large number of dogs roaring through our communities,people need to know the facts about rabies(狂犬病),a fatal disease caused by animal bites.Despite vaccination(接種疫苗)programs,rabies is still very prevalent,and will continue to be a serious public health problem for many years to come.
Rabies strikes the central nervous system and brings on choking,convulsions(抽搐)and inability to swallow liquids.It can even cause death.If you or anyone in your family is bitten by dog,cat or other animal,you should not panic,but thoroughly wash the wound with plenty of soap and water and rush to nearby hospital for immediate treatment.If you own the animal which did the biting,you should immediately call a veterinarian for advice and make sure the public health authorities know when and where the biting took place and who was bitten.
()Rabies is a kind of disease which________.
f a person is bitten by some kind of animal,you________.A.should be panic
B.should take him(her)to a big hospital right away
C.should help to clean the wound and ask the patient to have a good rest at home
D.should help to clean the wound and then take him(her)to a nearby hospital quickly as possibl
考题
【单选题】下面程序的输出是。 main() {enum team {my,your=4,his,her=his+10}; printf("%d%d%d%dn",my,your,his,her);}A.0 1 2 3B.0 4 0 10C.0 4 5 15D.l 4 5 15
热门标签
最新试卷