when you are steering on a pair of range lights and find the upper light is in line above the lower light ,you should _____.A.continue on the present courseB.come rightC.wait until the lights are no longer in a vertical lineD.come left
when you are steering on a pair of range lights and find the upper light is in line above the lower light ,you should _____.
A.continue on the present course
B.come right
C.wait until the lights are no longer in a vertical line
D.come left
相关考题:
We use ________ when proceeding in dense fogA.auto-steeringB.gyro-pilotC.rudder gearD.hand-steering
有如下程序段#include "stdio.h"#include "string.h"#define N 10#define M 10char *find(char(*a)[M],int n){ char *q;int i; q=a[0]; for(i=0;in;i++) if(strcmp(a[i],q)0)q=a[i]; return q;}main(){ char s[N][M]={"tomeetme","you","and","he","china"}; char *p; int n=5; p=find(s,n); puts(p);}则执行后输出的结果为A.he B.and C.you D.tomeetme
Which of the following pin pairs remain with the same wire color for either T568A or T568B?() A. Pair 1 8B. Pair 2 7C. Pair 3 6D. Pair 4 5
阅读以下说明和c++代码,将应填入 (n) 处的字句写在答题纸的对应栏内。【说明】c++标准模板库中提供了map模板类,该模板类可以表示多个“键一值”对的集合,其中键的作用与普通数组中的索引相当,而值用作待存储和检索的数据。此外,c++模板库还提供了pair模板类,该类可以表示一个“键-值”对。pair对象包含两个属性:first和second,其中first表示“键-值”中的“键”,而Second表示“键-值”中的“值”。map类提供了insert方法和find方法,用于插入和查找信息。应用时,将一个pair。对象插入(insert)到map对象后,根据“键”在map对象中进行查找(find),即可获得一个指向pair对象的迭代器。下面的c++代码中使用了map和pair模板类,将编号为1001、1002、1003的员工信息插入到map对象中,然后输入一个指定的员工编号,通过员工编号来获取员工的基本信息。员工编号为整型编码,员工的基本信息定义为类employee。map对象与员工对象之间的关系及存储结构如图5—1所示。【c++代码】includeincludeincludeusing namespace std;class employee {(1) :employee(string name,string phoneNumber,string address){this-name=name;this-phoneNumber=phoneNumber ;this-address=address;}string name;string phoneNumber;string address;);int main(){mapemployeeMap;typedef pairemployeeNo; //从标准输入获得员工编号map::const_iterator it;it= (5) .find(employeeNo); //根据员工编号查找员工信息if(it==employeeMap.end()){coutfirstsecond一nafae(phoneNumbersecond-address
Why do you want a new job ______you've got such a good one already?A. thatB. whereC. whichD. when
以下对于字符串的相关操作,正确的输出结果是哪些选项?A.>>> 'Life is short, you need Python.'.find('you') 15B.>>> seq = [1, 2, 3, 4]; >>> sep = '+'; >>> sep.join(seq) '1+2+3+4'C.>>> print('{:5.3f}'.format(math.pi)) 3.1416D.>>> print('you' in 'Life is short, you need Python.') True
9、以下对于字符串的相关操作,正确的输出结果是哪些选项?A.>>> 'Life is short, you need Python.'.find('you') 15B.>>> seq = [1, 2, 3, 4]; >>> sep = '+'; >>> sep.join(seq) '1+2+3+4'C.>>> print('{:5.3f}'.format(math.pi)) 3.1416D.>>> print('you' in 'Life is short, you need Python.') True
设 str = 'python' ,想把字符串的第一个字母大写,其他字母还是小写,正确的选项是()A.print(str[0].upper()+str[1:])B.print(str[1].upper()+str[-1:1])C.print(str[0].upper()+str[1:-1])D.print(str[1].upper()+str[2:])
Pair类表示“有序整数对”,考虑该类应具有的必要数据和行为,写出该Pair类的定义。