民航术语中W相应的单词错误的是()
第1题:
A.标题中需要含有缩略词、化学公式、专有名词或行业术语
B.注意单词顺序错误引起的语法问题
C.避免使用单词“using”
D.标题中不能含有缩略词、化学公式
第2题:
如下程序定义了“单词”类word,类中重载了<运算符,用于比较“单词”的大小,返回相应的逻辑值。程序的输出结果为:After Sorting:Happy Welcome,请将程序补充完整。
include<iostream>
include<string>
using namespace std;
class Word{
public:
Word(string s):str(s){}
string getStr(){retum str;}
【 】const{retum(str<w.str);}
friend ostream&operator<<(ostream&output,const W0rd&w)
{output<<w.str;return output;}
private:
string str:
};
int main(){
Word wl(”Happy”),w2(“Welcome”);
eout<<”After sorting:”:
if(w1<w2)tout<<wl<<‘ ’<<w2:
else cout<<w2<<‘ ’<<wl:
return 0;
}
第3题:
如下程序定义了“单词”类word,类中重载了<运算符,用于比较“单词”的大小,返回相应的逻辑值。程序的输出结果为:After Sorting:Happy Welcome,请将程序补充完整。
include<iostream>
include<string>
using namespace std;
class Word{
public:
Word(strings):str(s){ }
string getStr( ){return str;}
______const{return(str<w.str);}
friend ostream& operator<<(ostream& output,const Word &w){output<<w.str;return output;}
private:
string str;
};
int main( ){
Word wl("Happy"),w2("Welcome");
cout<<"After sorting:";
if(wl<w2)cout<<w1<<"<<w2;
else cout<<w2<<''<<w1:
return 0;
}
第4题:
民航日常使用相应的单词中L的单词是LINDA。
第5题:
ZULU在民航术语中代表的是Z。
第6题:
在编辑器中编程时,想查看相应的语言的帮助,下列哪个方法最快()。
A.在相应的单词上,单击F1键
B.在相应的单词上,单击office向导
C.在相应的单词上,选择【帮助】菜单
第7题:
第8题:
( 14 )如下程序定义了 “ 单词 ” 类 word ,类中重载了 < 运算符,用于比较 “ 单词 ” 的大小,返回相应
辑值。程序的输出结果为: After Sorting: Happy Welcome ,请将程序补充完整。
#include <iostream>
#include <string>
using namespace std;
class Word {
public:
Word(string s) : str(s) { }
string getStr(){ return str; }
【 14 】 const { return (str<w.str); }
friend ostream& operator << (ostream& output, const Word &w)
{ output<<w.str; return output; }
private:
string str;
};
Int main(){
Word w1("Happy"),w2("Welcome");
Cout<<"After sorting: ";
if(w1<w2) cout<<w1<<' '<<w2;
else cout<<w2<<' '<<w1;
return 0;
}
第9题:
民航术语中V相应的单词是()
第10题:
民航术语中1相应的发音是()