更多“I forgot to return the book to y”相关问题
  • 第1题:

    -- I'd like to book a flight to Beijing, please.

    -- _____.

    A. No, you can't

    B. Yes, sir, single or return?

    C. We are busy.

    D. Wait


    参考答案: B

  • 第2题:

    —_______ I return the book to the library this week?— No, you _______.You can keep it until the end of this month.

    A.Must; needn’t

    B.Can; can’t

    C.May; mustn’t

    D.Can; mustn’t


    答案:A

  • 第3题:

    下面程序的结果【】。 include int f(int); void main() { int x=1,i; for (i=0; i<3;

    下面程序的结果【 】。

    include<iostream.h>

    int f(int);

    void main() {

    int x=1, i;

    for (i=0; i<3; i++)

    cout<<f(x)<<‘ ’ ;

    cout<<end1;

    }

    int f(int x){

    int y=1;

    static int z=3

    y++;

    z++;

    return (x+y+z);

    }


    正确答案:7 8 9
    7 8 9

  • 第4题:

    下列程序的输出结果是______。 include class base { int x,y; public: base(int i,i

    下列程序的输出结果是______。

    include<iostream.h>

    class base

    {

    int x,y;

    public:

    base(int i,int j){x=i;y=j;}

    virtual int add( ){return x+y;}

    };

    class three:public base

    {

    int z;

    public:

    three(int i,int j,int k):base(i,j){z=k;)

    int add( ){return(base::add( )+z);}

    };

    void main( )

    {

    three*q=new three(10,20,30);

    cout<<q->add( )<<endl;

    }


    正确答案:60
    60 解析:本题考察继承中子类对父类的继承方式,注意子类的add成员函数,它直接使用了父类的成员函数进行运算。

  • 第5题:

    Is it neCessary ( ) the book immediately?
    A for him to return
    B that he retutns
    C his returning
    D to him return


    答案:A
    解析:
    答案暂无,上述选项非正确答案,敬请谅解~

  • 第6题:

    I forgot ()an umbrella with me when I left home for work.

    Atake

    Bto take

    Ctaking

    Dtook


    B
    forget to do sth 忘记要做的事,这事还没做 forget doing sth 忘记已经做过的事,故此题答案选B。

  • 第7题:

    I forgot to return the book to you yesterday. So I()today.

    Amight do it 

    Bmust do it

    Chad to do it

    Dmust have to do it


    B

  • 第8题:

    单选题
    I would just as soon you _____ the book yesterday.
    A

    had returned

    B

    returned

    C

    would have returned

    D

    would return


    正确答案: D
    解析:
    句意:我宁愿你昨天已把书还了。由would(had)rather,would as soon,would sooner或would prefer所引导的从句,要使用虚拟语气。对过去事实的虚拟要用过去完成时had done结构。因此答案为A。

  • 第9题:

    填空题
    我一读完这本书就还给你。I will return the book to you ____ it.

    正确答案: as soon as I finish (reading)
    解析:
    as soon as:“一…就…”。

  • 第10题:

    单选题
    public class SyncTest {  private int x;  private int y;  private synchronized void setX( int i ) { x = i; }  private synchronized void setY( int i ) { y = i; }  public void setXY( int i ) { setX(i); setY(i); }  public synchronized boolean check() { return x != y; }  }   Under which condition will check return true when called from a different class? ()
    A

     check can never return true.

    B

     check can return true when setXY is called by multiple threads.

    C

     check can return true when multiple threads call setX and setY separately.

    D

     check can return true only if SyncTest is changed to allow x and y to be set separately.


    正确答案: C
    解析: 暂无解析

  • 第11题:

    单选题
    I'm sorry I forgot to write; I had so much else()my mind.
    A

    over

    B

    for

    C

    on

    D

    about


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    考虑下面的函数: int min(int x,int y){return xint max(int x,int y){return x>y?x:y;} 对于下面的代码: t=0; for(i=max(x,y);i>=min(x,y);i--) t+=i; 假设x=1,y=100,则可以得到函数调用的次数为()
    A

    200

    B

    201

    C

    101

    D

    102


    正确答案: A
    解析: 暂无解析

  • 第13题:

    下列程序编译错误,因为add函数返回值是一个引用,故对return后返回值的要求是【 】。

    include<iostream. h>

    int& add(int x, int y)

    {

    return x+y;

    }

    void main( )

    int i=3,j=19;

    cout<<(add(i,j)+ =20)<<end1;

    }


    正确答案:不能是表达式
    不能是表达式 解析:引用是变量的别名,其实质是变量的地址。return在返回值时,如果其后为表达式,则系统为该表达式生成一个临时变量用于存放该表达式的结果,函数执行完毕之后该变量被系统回收,因此,返回的该变量的地址对调用函数来说已经没有意义了。

  • 第14题:

    It was not long _______ I forgot it all.

    A、then

    B、when

    C、after

    D、before


    正确答案:D

  • 第15题:

    以下函数的功能是:求x的y次方,请填空。double fun(double x,int y){ int i; double z; for(i=1,z=x;i<y;i++) z=z*; return z;}


    正确答案:x
    本题中函数的功能是累积变量以求得变量的y次方,所以本题答案为x。

  • 第16题:

    有如下程序: include using namespace std; int fun1(int x) {return++x;} int fun2(i

    有如下程序:

    include<iostream>

    using namespace std;

    int fun1(int x) {return++x;}

    int fun2(int &x) {return++x;}

    int main(){

    int x=1,y=2;

    y=fun 1(fun2(x));

    cout<<X<<','<<y;

    return 0:

    }

    程序的输出结果是______。


    正确答案:23
    2,3 解析:此题考查的是函数传值。int fun1(int x) {retum++x;}函数中参数为传值,所以对于函数的操作不会改变实参的值,而函数int fun2(int &x){retum++x;}中的参数为引用,对于形参的操作会改变实参的值。在主函数中调用fun2(x)后,变量x的值修改为2,所以在调用fun1函数时其形参值为2,即运算后y的值被赋值为3,所以输出为2,3。

  • 第17题:

    Is it necessary ( ) the book immediately?
    A. for him to return B. that he returns
    C. his returning D. to him return


    答案:A
    解析:

  • 第18题:

    After()the shopping list, I found that I forgot to buy salt.

    Aexamining

    Btesting

    Cchecking

    Dseeing


    C

  • 第19题:

    考虑下面的函数: int min(int x,int y){return xint max(int x,int y){return x>y?x:y;} 对于下面的代码: t=0; for(i=max(x,y);i>=min(x,y);i--) t+=i; 假设x=1,y=100,则可以得到函数调用的次数为()

    • A、200
    • B、201
    • C、101
    • D、102

    正确答案:D

  • 第20题:

    单选题
    I forgot ()an umbrella with me when I left home for work.
    A

    take

    B

    to take

    C

    taking

    D

    took


    正确答案: B
    解析: forget to do sth 忘记要做的事,这事还没做 forget doing sth 忘记已经做过的事,故此题答案选B。

  • 第21题:

    单选题
    I forgot to return the book to you yesterday. So I()today.
    A

    might do it 

    B

    must do it

    C

    had to do it

    D

    must have to do it


    正确答案: C
    解析: 暂无解析

  • 第22题:

    单选题
    I shall give you the book ______ you return it no later than tomorrow.
    A

    on condition that

    B

    in condition that

    C

    with condition that

    D

    in any condition


    正确答案: C
    解析:
    句意:如果你要借书,一定不能迟于明天还我。此题考查固定词组:on condition that,意为“如果”,如You can go out on condition that you wear an overcoat. 意为“你要穿上外衣才能出去。”

  • 第23题:

    单选题
    —Excuse me, may I keep the book a little longer?—Sorry. You ______ return it today.
    A

    must

    B

    mustn’t

    C

    can

    D

    can’t


    正确答案: C
    解析:
    句意:—不好意思,我能留着这本书更长一段时间吗?—很抱歉,你必须今天就归还这本书。本题考查情态动词的用法。结合本题语境可知,这里是表示强制性的规定。故A项must符合题意。mustn’t禁止,千万不要。can能够。can’t不能。

  • 第24题:

    单选题
    public class SyncTest {  private int x;   private int y;   public synchronized void setX (int i) (x=1;)   public synchronized void setY (int i) (y=1;)   public synchronized void setXY(int 1)(set X(i); setY(i);)   public synchronized Boolean check() (return x !=y;)   }   Under which conditions will check () return true when called from a different class?
    A

     Check() can never return true.

    B

     Check() can return true when setXY is called by multiple threads.

    C

     Check() can return true when multiple threads call setX and setY separately.

    D

     Check() can only return true if SyncTest is changed to allow x and y to be set separately.


    正确答案: A
    解析: 暂无解析