参考答案和解析
参考答案C
更多“I apologize for my ________ of anger just now.A outcomeB outputC outburstD outdrop ”相关问题
  • 第1题:

    You should ___ to your uncle for being rude to him.

    A、forgive

    B、regret

    C、excuse

    D、apologize


    正确答案:D

  • 第2题:

    下列程序的输出结果是【 】。 includeclass MyClass{public: int number; void set(in

    下列程序的输出结果是【 】。

    include<iostream. h>

    class MyClass

    {

    public:

    int number;

    void set(int i);

    };

    int number=3;

    void MyClass: :set (int i)

    {

    number=i;

    }

    void main( )

    {

    MyClass my1;

    int number=10;

    my1.set(5),

    cout<<my1, number<<',';

    my1.set(number);

    cout<<my1.number<<',';

    my1.set(: :number);

    cout<<my1.number<<'.';

    }


    正确答案:5103
    5,10,3 解析:本题考查全局变量,局部变量和类的数据成员之间的使用上的差别。使用全局变量时需要用域作用符来限定该变量,否则编译器无法正确区分。

  • 第3题:

    _____

    A."$i">$output

    B."$i">>$output

    C.$i>$output

    D.$i>>$output

    A.

    B.

    C.

    D.


    正确答案:B
    解析:该Shell程序段中第一个if条件语句的条件段“"$#"-1t2'‘的含义是位置参量的个数小于2,则显示提示信息并退出。
      语句output="$1"的含义是将第一个参数作为输出文件。
      语句shift的含义是将位置参量左移。
      由于该Shell程序段的功能是指定一个或多个输入文件,将它们的内容依次添加到输出文件的末尾。因此,(1)空缺处应填“$@”,表示所有位置参量,即相当于$1,$2,$3…。
      对于UNⅨ系统Shell向用户提供了输入输出转向命令,可以在不改变应用程序本身的情况下自由地改变其数据的输入源和输出目的地。其中,与”、”>>”表示输出转向,””表示输入转向。例如,使用cat input.txt命令将输入文件的数据显示在屏幕(标准输出设备)上。而对于cat input.txt>output.txt命令就会将原本输出到屏幕上的内容输入到文件output.txt中去并覆盖原output.txt文件的内容。如果使用cat input.txt>>output.txt命令则将input.txt文件的内容添加到output.txt文件的末尾。
      本试题要求:“如果指定的输出文件不存在,则程序应自动产生一个输出文件”,则需使用cat "$i">>$output命令。因此,(2)空缺处的正确答案是选项B。

  • 第4题:

    She enjoyed her work, which provided a good _____ for her energies and talents.

    A. outcome

    B. outset

    C. output

    D. outlet


    正确答案:D

  • 第5题:

    There are many cavities in your teeth. You must go to ( ) now.

    A、dentist

    B、the dentists'

    C、the dentist's

    D、the dentist


    参考答案:C

  • 第6题:

    devices take information people can understand and convert them to a form the computer can process

    A.Input

    B.Output

    C.I/O

    D.Disk


    正确答案:A
    输入设备输入人能理解的信息,并将其转换成计算机能处理的形式。