niusouti.com
更多“Have you ______ my knife?A、finished upB、finished offC、finished inD、finished with ”相关问题
  • 第1题:

    try{intx=0;inty=5/x;}catch(Exceptione){System.out.println(Exception”);}catch(ArithmeticExceptionae){System.out.println(ArithmeticException”);}System.out.println(finished”);Whatistheresult?()

    A.finished

    B.Exception

    C.Compilationfails.

    D.ArithmeticException


    参考答案:D
    ThecorrectanswertothisquestionisD.Whenanintvalueisdividedbyzero,aruntimeexceptionoccurs.Therearenocompilationerrors.

  • 第2题:

    publicclassTest{publicstaticvoidmain(String[]args){intx=0;assert(x>0):“assertionfailed”;System.out.println(“finished”);}}Whatistheresult?()

    A.finished

    B.Compilationfails.

    C.AnAssertionErroristhrown.

    D.AnAssertionErroristhrownandfinishedisoutput.


    参考答案:A

    Thisquestionisabittrickybecauseitlacksthefollowinginformation:Itshouldincludeastatementthatsayswhetherornotassertionsareenabled.Iftheyareindeedenabled,the
    correctionanswerisC.butiftheyarenot,thecorrectanswerisA.Assertionsarenotenabledbydefaultsoifthequestionisnotchanged,themostlogicalanswerisA.

  • 第3题:

    给定以下JAVA代码,这段代码编译运行后输出的结果是( )

    publicclassTest{

    publicstaticintaMethod(inti)throwsException{

    try{

    returni/10;

    }catch(Exceptionex){

    thrownewException("exceptioninaaMothod");

    }finally{

    System.out.print("finally");

    }

    }

    publicstaticvoidmain(String[]args){

    try{

    aMethod(0);

    }catch(Exceptionex){

    System.out.print("exceptioninmain");

    }

    System.out.print("finished");

    }

    }

    A、finallyexceptioninmainfinished

    B、exceptioninmainfinally

    C、finallyfinished

    D、finallyexceptioninmainfinished


    正确答案:C

  • 第4题:

    publicclassTest{publicstaticvoidmain(String[]args){intx=0;assert(x>0)?assertionfailed”:assertionpassed”;System.out.println(Finished”);}}Whatistheresult?()

    A.finished

    B.Compilationfails.

    C.AnAssertionErroristhrownandfinishedisoutput.

    D.AnAssertionErroristhrownwiththemessage“assertionfailed”.

    E.AnAssertionErroristhrownwiththemessage“assertionpassed”.


    参考答案:B

  • 第5题:

    publicclassTest{publicstaticvoidaMethod()throwsException{try{thrownewException();}finally{System.out.println(finally”);}}publicstaticvoidmain(Stringargs[]){try{aMethod();}catch(Exceptione){System.out.println(exception”);}System.out.println(finished”);}}Whatistheresult?()

    A.finally

    B.exceptionfinished

    C.finallyexceptionfinished

    D.Compilationfails.


    参考答案:C

  • 第6题:

    共用题干
    Many teachers believe that the responsibilities for learning lie with the student._________(51) a long reading assignment is given,instructors expect students to be familiar with the_________(52) in the reading even if they do not discuss it in class or take an examination.The__________(53) student is considered to be one who is motivated(激励)to learn for the sake of_________(54),not the one interested only in getting high grades.Sometimes homework is returned________(55)brief written comments but without a grade.Even if a grade is not given,the student is_________(56) for learning the material assigned.When research is________(57),the professor expects the student to take it actively and to complete it with minimum guidance.It is the_________(58)responsibility to find books, magazines,and articles in the library.Professors do not have the time to explain _________(59)a university library works;they expect students,______(60)graduate students,to be able to exhaust the reference sources in the library.Professors will help students who need it,but_________(61)that their students should not be too dependent on them. In the United States professors have many other duties________(62)teaching,such as administrative or research work.________(63),the time that a professor can spend with student outside of class is_________(64).If a student has problems with classroom work,the student should either approach a professor during office hour_________(65)make an appointment.

    _________(57)
    A:collected
    B:distributed
    C:assigned
    D:finished

    答案:C
    解析:
    if引导条件状语从句。
    information“信息”。advice“建议”。context“上下文,背景”。abstract“摘要”。只有information符合句子意思。
    ideal“理想的”。poor“差的”。average“普通的,平均的”。disappointed“使人失望的”。只有ideal符合句子意思。
    该句是说明理想学生是什么样子。An ideal student is considered to be one who is motivated(激励)to learn for the sake of learning,not the one interested only in getting high grades.理想的学生应该是为了学习而学习,而不是只对得高分感兴趣。
    with brief written comments这里表示作业被老师返还回去时,上面写上了简短的评语,表达伴随状态,这里选with最合适。
    be responsible for sth.“对······负责任”,是固定搭配。
    assign“布置”。collect“收集”。distribute“分配”。finish“完成”。When research is assigned的意思是“当教授给学生布置研究任务时”。
    上一句中说:…the professor expects the student to take it actively and to complete it with minimum guidance.教授希望学生积极参与,在尽可能少的指导下完成。因此这里说的查阅书籍、杂志和图书馆文献这些事情都是学生的职责。
    how a university library works“大学图书馆如何运作”。只有how意思合适。
    particularly“尤其是”。essentially“基本上”。apparently“明显地”。rarely “很少”。…they expect students, particularly graduate students, to be able to exhaust the reference sources in the library······他们希望学生尤其是研究生能够充分利用图书馆的各种参考资料。
    prefer that sb.should not do sth.“宁愿某人不要做某事”。只有prefer有此用法。
    besides“除了······以外还有”。这里是说美国老师除了教学任务之外,还有行政和科研等任务。
    前一句中提及的美国老师任务繁多导致的结果就是老师和学生在一起的时间很有限,因此这里选择therefore表达这种因果关系。
    limited“有限的”。plentiful“充足的”。irregular“不规则的”。flexible“灵活的”。只有limited符合句子意思。
    either do sth.or do sth.“或者······或者······”,这里选择 or和前面的either搭配。