更多“They told me that it would be better to go there by ship so long as I wouldn’t be seasick.() ”相关问题
  • 第1题:

    publicclassYikes{publicstaticvoidgo(Longn){System.out.println(”Long);}publicstaticvoidgo(Shortn){System.out.println(”Short);}publicstaticvoidgo(intn){System.out.println(”int);}publicstaticvoidmain(String[]args){shorty=6;longz=7;go(y);go(z);}}Whatistheresult?()

    A.intLong

    B.ShortLong

    C.Compilationfails.

    D.Anexceptionisthrownatruntime.


    参考答案:A

  • 第2题:

    People who hate public speaking probably ____ consider jobs such as teaching or broadcast journalism.

    A. shouldn’t

    B. should

    C. wouldn't

    D. would


    正确答案:A

  • 第3题:

    I’d rather you ________ make any comment on the issue for the time being.

    A) don’t     B) wouldn’t     C) didn’t            D) shouldn’t    

     


    选C
    would rather that……"宁愿……",that从句中用过去时表示现在或将来要做的事。

  • 第4题:

    I () roast leg of lamb, please.

    A、will like

    B、would like

    C、would


    正确答案:B

  • 第5题:

    以下选项中,正确运用指针变量的程序段是( )。

    A.int*i=NULL;

    B.float*f=NULL; scanf("%d",i); *f=10.5;

    C.char t='m',*C=&t;

    D.long*L; *C=&t; L='0';


    正确答案:D
    解析:选项A定义了一个整型变量i,并且初始化让它指向NULL,接着通过scarnf()函数,改变i指向的存储空间的值,选项A中首先定义了整型指针变量i并初始化为NULL,即表示指针i不指向任何存储单元,即此时还没有为i在内存中开辟存储单元,而在scanf()函数中第二个参数是地址参数,显然在这里i不表示地址,所以下面的scanf("%d",i)语句是不正确的,故选项A不正确。选项B定义了一个实型指针变量f并初始化使它指向NULL,即还没有为f在内存中开辟存储单元,不能向*f代表的存储单元(不存在)中写数据,故选项B错误;选项C中首先定义了一个字符变量t并给它赋初值'm',然后定义一个字符型指针c并让它指向了变量t,这一部分正确,然后接着用了一个语句“*c=&t;”应该将该语句中c前的*去掉,故选项C运用指针变量不正确。选项D中的'\0'是一个转移字符,称作“空值”,可以给指针变量L赋值。所以,4个选项中选项D符合题意。

  • 第6题:

    But for your help, I ___________ the work ahead of time.

    A.wouldn't have finished
    B.didn't finish
    C.hadn't finished
    D.wouldn't finish

    答案:A
    解析:
    考查虚拟语气。句意为“要不是你的帮助,我就不会提前完成这项工作”。if条件句可与 but for,with our otherwise,or等短语转换。此句可转换为if非真实条件句为“If I hadn’t had your help,I wouldn’t have finished the work ahead of time”,是对过去的虚拟,主句谓语动词用would/should/could/might+have done。故选A。