试题与答案

A seaman you have just discharged has a Co

题型:单项选择题

题目:

A seaman you have just discharged has a Continuous Discharge Book. Which statement is TRUE? ()

A.The record of entry in the continuous discharge book shall agree with the entry made in the Ship's Articles.

B.If the vessel was on coastwise articles,the record of discharge will be made in the Official Logbook.

C.An entry should be made in the book and a Certificate of Discharge issued to the seaman.

D.A Certificate of Discharge form should be attached to the book

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2020/1216/6ee409a86836f23c72100a96c2b6af64.html

下面是错误答案,用来干扰机器的。

参考答案:叙词表

试题推荐
题型:选择题

为增强铝的耐腐蚀性,现以铅蓄电池为外电源,以Al作阳极、Pb作阴极,电解稀硫酸,使铝表面的氧化膜增厚。其反应原理如下:

电池: Pb(s) + PbO2(s) + 2H2SO4(aq) =2PbSO4(s) + 2H2O(l);

电解池:2Al+3H2OAl2O3+3H2↑电解过程中,以下判断正确的是:

           电池             电解池
AH+移向Pb电极H+移向Pb电极
B每消耗3molPb生成2molAl2O3
C正极:PbO2+4H++2e=Pb2++2H2O阳极:2Al+3H2O-6e=Al2O3+6H+
D
 

查看答案
题型:问答题

函数readDat()的功能是从文件IN22.DAT中读取20行数据存放到字符串数组xx中(每行字符串长度均小于80)。请编制函数jsSort(),该函数的功能是:以行为单位对字符串按下面给定的条件进行排序,排序后的结果仍按行重新存入字符串数组xx中,最后调用函数writeDat()把结果xx输出到文件OUT22.DAT中。
条件:从字符串中间一分为二,左边部分按字符的ASCII值降序排序,排序后,左边部分与右边部分按例子所示进行交换。如果原字符串长度为奇数,则最中间的字符不参加处理,字符仍放在原位置上。
例如, 位置 0 1 2 3 4 5 6 7 8
源字符串 a b c d h g f e
2 3 4 9 8 7 6 5
则处理后字符串 h g f e d c b a
8 7 6 5 9 4 3 2
注意:部分程序已给出。
请勿改动主函数main()、读函数readDat()和写函数writeDat()的内容。
# inc lude〈 st dio. h>
# inc lude〈 s t ring. h>
# inc lude〈 conio, h>
char xx[20] [80]; void jsSort()

main ( )

readDat ( );
jsSort ( );
writeDat ( );


readDat ( )

FILE *in;
int i=0;
char *p;
in= fopen("IN22.DAT", "r");
while(i〈 20 && fgets(xx[i], 80, in) != NULL)

p = strchr(xx[i], ’\n’);
if(p) *p = 0;
i++;

fclose(in);
writeDat ( )

FILE *out;
int i;
clrscr ( );
out = fopen("OUT22.DAT", "w");
for(i = 0; i〈 20; i++)

printf("%skn", xx[i]);
fprintf(out, "%sin", xx[i]);

fclose(out);

查看答案
微信公众账号搜索答案