参考答案和解析
正确答案:A
解析:编译器能够找出源程序中的语法错误。
更多“could find out syntax errors in a source program.A.ComplierB.Operate systemC.Applicatio ”相关问题
  • 第1题:

    publicclassTest{publicstaticvoidmain(String[]args){booleanassert=true;if(assert){System.out.println(”assertistrue”);}}}Given:javac-source1.3Test.javaWhatistheresult?()

    A.Compilationfails.

    B.Compilationsucceedswitherrors.

    C.Compilationsucceedswithwarnings.

    D.Compilationsucceedswithoutwarningsorerrors.


    参考答案:C

  • 第2题:

    如下程序完成的功能是______。 import java.io.*; public class ex7 { public static void main(String args[]) { File f = null; boolean b = false; try { f = new File("r.txt"); } catch (Exception e) { System. out.println ( "errors"); } b = f.delete(); if(b) System.out.print in( "文件删除了"); } else { System.out.println ("文件没有被删除"); } } }

    A.删除指定的文件,并显示相应的结果

    B.编译出错

    C.查看文件内容

    D.以上都不对


    正确答案:A

  • 第3题:

    Whichalertswillbeseenontheconsolewhenrunningthecommand:loggingconsolewarnings.()

    A.warningsonly

    B.warnings,notifications,error,debugging,informational

    C.warnings,errors,critical,alerts,emergencies

    D.notifications,warnings,errors

    E.warnings,errors,critical,alerts


    参考答案:C

  • 第4题:

    Whichofthefollowingisthecorrectsignalflowforananalogmulti-roomaudiosystem?()

    A.Source,VolumeControl,Speaker,Amp

    B.Source,Amp,VolumeControl,Speaker

    C.Amp,Source,VolumeControl,Speaker

    D.Speaker,Amp,VolumeControl,Source


    参考答案:B

  • 第5题:

    ThefollowingcommandisissuedonaCiscoRouter:Router(configuration)loggingconsolewarningsWhichalertswillbeseenontheconsole?()

    A.Warningsonly

    B.debugging,informational,notifications,warnings

    C.warnings,errors,critical,alerts,emergencies

    D.notifications,warnings,errors

    E.warnings,errors,critical,alerts


    参考答案:C

  • 第6题:

    I__________have been there,but I__________not find the time.

    A.should;would
    B.should;could
    C.might;could
    D.could;could

    答案:B
    解析:
    考查情态动词的用法。句意为:“我本应该去那里,但我没时间。”should have done表示“过去本应做的事而实际上并没有做”,常含有责备、遗憾的语气。