参考答案和解析
参考答案:D
更多“After a long period of training, the athletes _________ the sports games to be held next week. ”相关问题
  • 第1题:

    AUNIXusernamedBobwantstoreplacehischessprogramwithanewone,butheishotsurewheretheoldoneisinstalled.BobiscurrentlyabletorunaJavachessprogramstartingfromhishomedirectory/home/bobusingthecommand:java-classpath/test:/home/bob/downloads/*.jargames.ChessBob?sCLASSPATHisset(atlogintime)to:/usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jarWhatisapossiblelocationfortheChess.classfile?()

    A./test/Chess.class

    B./home/bob/Chess.class

    C./test/games/Chess.class

    D./usr/lib/games/Chess.class

    E./home/bob/games/Chess.class

    F.insidejarfile/opt/java/lib/Games.jar(withacorrectmanifest)

    G.insidejarfile/home/bob/downloads/Games.jar(withacorrectmanifest)


    参考答案:C

  • 第2题:

    以下程序的输出结果是______。 struct date { long *a; struct date*next; double b; }too; printf("%d",sizeof(too));

    A.20

    B.16

    C.14

    D.12


    正确答案:D
    解析:指针类型占2个字节,双精度型占8个字节,因此sizeof(too)=2+2+8=12

  • 第3题:

    基于initial语句产生普通时钟信号, parameter clk_period = 10; reg clk; initial begin clk = 0; ________________; end

    A.always #(clk_period/2) clk = ~clk

    B.forever #(clk_period/2) clk = ~clk

    C.always #(clk_period) clk = ~clk

    D.forever #(clk_period) clk = ~clk


    always #(clk_period/2) clk = ~clk;forever #(clk_period/2) clk = ~clk

  • 第4题:

    A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java-classpath /test:/home/bob/downloads/*.jar games.Chess Bob‘sCLASSPATH is set (at login time) to/usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jarWhat is a possible location for the Chess.class file?()

    A./test/Chess.class

    B./home/bob/Chess.class

    C./test/games/Chess.class

    D./usr/lib/games/Chess.class

    E./home/bob/games/Chess.class

    F.inside jarfile /opt/java/lib/Games.jar (with a correct manifest)

    G. inside jarfile /home/bob/downloads/Games.jar (with a correct manifest)


    参考答案:C

  • 第5题:

    8、基于initial语句产生普通时钟信号, parameter clk_period = 10; reg clk; initial begin clk = 0; ________________; end

    A.always #(clk_period/2) clk = ~clk

    B.forever #(clk_period/2) clk = ~clk

    C.always #(clk_period) clk = ~clk

    D.forever #(clk_period) clk = ~clk


    always #(clk_period/2) clk = ~clk;forever #(clk_period/2) clk = ~clk

  • 第6题:

    以下关于VDB函数的语法正确的是()。

    A.VDB(cost,salvage,life,period,factor)

    B.VDB(cost,salvage,life,period,month)

    C.VDB(cost,salvage,life,per)

    D.VDB(cost,salvage,life,start-period,end-period,factor,no-switch)


    VDB(cost,salvage,life,start-period,end-period,factor,no-switch)