更多“16.A. gets upB. gets onC. gets intoD. gets off”相关问题
  • 第1题:

    定义chars[81];后,能正确输入一个字符串到数组s的语句是()。

    A.gets(s);

    B.scanf(”%c”,s);

    C.scanf(”%s”,&s[0]);

    D.gets(&s[0]);


    正确答案:ACD

  • 第2题:

    If he, by accident, knocks someone, or _______ their way, he say “ Excuse me” or “I’m sorry”.

    A.gets on

    B.gets in

    C.gets by

    D.gets to


    正确答案:B

  • 第3题:

    有以下定义:include char a[10], *b=a; 下面不能给数组a输入字符串的语句是()。A.gets(

    有以下定义: #include <stdio.h> char a[10], *b=a; 下面不能给数组a输入字符串的语句是( )。

    A.gets(a)

    B.gets(a[0]);

    C.gets(&a[0]);

    D.gets(b);


    正确答案:B
    解析:函数gets(字符数组)的功能是从终端输入一个字符串到字符数组,并且得到一个函数值,该函数值是字符数组的起始地址。函数的参数应该是一个指针,所以选项B)错误。

  • 第4题:

    有以下定义:includechara[10],*b=a;不能给数组a输入字符串的语句是A.gets(a)B.gets(a[

    有以下定义: #include <stdio.h> char a[10],*b=a; 不能给数组a输入字符串的语句是

    A.gets(a)

    B.gets(a[0])

    C.gets(&a[0]);

    D.gets(b);


    正确答案:B
    解析:本题考核的知识点是函数gets()的应用。函数gets()的调用形式为gets(str_adr);str_adr是存放字符串的起始地址。可以是字符数组名、字符指针或字符数组元素的地址。gets函数用来从终端键盘读入字符串(包括空格符),直到读入一个换行符为止。换行符读入后,不作为字符串的内容。本题中定义一个长度为10的字符数组,和一个指针变量b,并且通过赋值让它指向数组a;选项A。选项B。选项C和选项D中只有选项B中gets函数的参数a[0]不能表示数组a的首地址,故选项B不正确。所以,4个选项中选项B符合题意。

  • 第5题:

    30. Mrs Morgan often gets up at five thirty in the morning,


    正确答案:√
    30.T【解析】由最后一段倒数一、二句可知Mrs Morgan晚上九点半睡觉,她睡八个小时,那么推算出是早上五点半起床。

  • 第6题:

    My ship {needs} a pilot.

    A.requires

    B.has

    C.takes

    D.gets


    正确答案:A

  • 第7题:

    有两个字符数组a,b,则以下正确的输入语句是()。

    • A、gets(a,b);
    • B、scanf(“%s%s”,a,b);
    • C、scanf(“%s%s”,&a,&b);
    • D、gets(“a”),gets(“b”);

    正确答案:B

  • 第8题:

    若有定义chara[10],*b=a;不能给数组a输入字符串"youknow"的语句是()

    • A、gets(a);
    • B、scanf("%s",a);
    • C、gets(&a[0]);
    • D、gets(b);

    正确答案:B

  • 第9题:

    What effect should the loss of an index tablespace have on an Oracle instance that is running?()

    • A、 instance hangs
    • B、 instance gets aborted
    • C、 instance continues running
    • D、 instance gets restarted automatically

    正确答案:C

  • 第10题:

    单选题
    The total of such areas gets divided _______ between the total number of flats per floor: the larger the number of flats per floor, the lesser is this area _______ gets added to the area of the flat.
    A

    sufficiently; where

    B

    proportionately; that

    C

    equally; as

    D

    adequately; when


    正确答案: B
    解析:
    每层楼的公寓数量和其面积成反比:公寓数量越多,公寓的面积就越小。proportionately成比例地,另外area后面是一个定语从句用来修饰它。sufficiently足够地。equally平等地。adequately足够地。

  • 第11题:

    多选题
    You execute the following command to create two consumer groups, FIN_GROUP1 and PAY_GROUP1, for a plan,PROD_PLAN:  BEGIN  DBMS_RESOURCE_MANAGER.CREATE_SIMPLE_PLAN (SIMPLE_PLAN => ’prod_plan’,  CONSUMER_GROUP1 => ’fin_group1’,  GROUP1_CPU => 80,  CONSUMER_GROUP2 => ’pay_group1’,  GROUP2_CPU => 20);  END;  Which three statements are true?()
    A

    SYS_GROUP gets 100% CPU resources at level 1.

    B

    FIN_GROUP1 gets 80% CPU resources at level 1.

    C

    FIN_GROUP1 gets 80% CPU resources at level 2.

    D

    PAY_GROUP1 gets 20% CPU resources at level 1.

    E

    PAY_GROUP1 gets 20% CPU resources at level 2.

    F

    OTHER_GROUP gets 100% CPU resources at level 1.

    G

    OTHER_GROUP gets 100% CPU resources at level 2.


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

  • 第12题:

    单选题
    Which of the following is the best revision of the underlined portion of sentence 8(reproduced below)?You have probably had the experience of thinking about a paper or a math problem for so long that it’s like one’s brain gets frozen.
    A

    it seems that your brain gets frozen

    B

    one’s brain gets frozen

    C

    your brain seems to freeze

    D

    your brains seem to freeze

    E

    one’s brain seems to freeze


    正确答案: D
    解析:
    这句话开始用的代词为you,因此这个代词的使用应保持一致。D选项不正确,因为一个只有一个大脑。

  • 第13题:

    有两个字符数组a、b,则以下正确的输入语句是( )。

    A.gets(a,b);

    B.scanf("%s%s",a,b);

    C.scanf("%s%s",&a,&b);

    D.gets("a"); gets("b");"


    参考答案B

  • 第14题:

    以下选项中错误的是( )

    A.char *sp; gets(sp);

    B.char sp[5] gets(sp);

    C.char *sp="12345"; gets(sp);

    D.charsp[5]="\0" gets(sp)


    正确答案:A

  • 第15题:

    有定义语句“chars[10];”,若要从终端给s输入5个字符,错误的输入语句是( )。 A.gets(&sO);

    有定义语句“chars[10];”,若要从终端给s输入5个字符,错误的输入语句是( )。

    A.gets(&sO);

    B.scanf("%s",s+1);

    C.gets(s);

    D.scanf("%s",s[1]);


    正确答案:D
    D。【解析】选项A调用函数9ets使得S数组从S[0]开始得到输入的字符;选项B使得数组从元素s[1]开始得到输入的5个字符;选项C使得数组从s[0]开始得到输入的字符;而选项D的scanf("%S",S[1])调用错误,应为scanf("%S",&s[1])输入项部分应该是一个地址值。

  • 第16题:

    有以下定义 include char a[10],*b=a; 不能给a数组输入字符串的语句是A.gets(A)B.gets

    有以下定义

    #include <stdio.h>

    char a[10],*b=a;

    不能给a数组输入字符串的语句是

    A.gets(A)

    B.gets(a[0]);

    C.gets(&a[0]);

    D.gets(B) ;


    正确答案:B
    解析:函数gets()的调用形式为gets(str_adr);str_adr是存放字符串的起始地址。可以是字符数组名、字符指针或字符数组元素的地址。gets函数用来从终端键盘读入字符串(包括空格符),直到读入一个换行符为止。换行符读入后,不作为字符串的内容。本题中定义一个长度为10的字符数组,和一个指针变量b,并且通过赋值让它指向数组a。gets函数的参数a[0]不能表示数组a的首地址。

  • 第17题:

    19.

    A.returns

    B.comes

    C.gives

    D.gets


    正确答案:B

  • 第18题:

    She gets aggressive when she is drunk.

    A: offensive
    B: worried
    C: sleepy
    D: anxious

    答案:A
    解析:
    题干意为“她一旦喝醉就变的咄咄逼人。” 句中划线词为形容词,意为“好斗的,咄咄逼人的”。A项offensive意为“攻击的,冒犯的”,例句:His comments were deeply offensive to a large number of single mothers.他的评论严重触怒了众多的单身母亲。B项意为“担忧的”,C项意为“困乏的,磕睡的”,D项意为“焦虑的”,故选A。

  • 第19题:

    设有字符数组a,则正确的输入语句是()。

    • A、gets(’a’);
    • B、scanf("%c",a);
    • C、scanf("%s",a);
    • D、gets("a");

    正确答案:C

  • 第20题:

    Due to media failure you lost one of the data files belonging to the USERS tablespace, and the tablespace is not available to use. Which statement regarding the status of the database is true?()

    • A、The database remains open.
    • B、The database gets dismounted.
    • C、The database becomes read only.
    • D、The database instance gets aborted.
    • E、The database gets shut down automatically.
    • F、The status of the database depends on the status of the USERS tablespace.

    正确答案:A

  • 第21题:

    You execute the following command to create two consumer groups, FIN_GROUP1 and PAY_GROUP1 for a plan, PROD_PLAN:  BEGIN  DBMS_RESOURCE_MANAGER.CREATE_SIMPLE_PLAN (SIMPLE_PLAN =>’prod_plan’,  CONSUMER_GROUP1 => ’fin_group1’,  GROUP1_CPU => 80,  CONSUMER_GROUP2 => ’pay_group1’,  GROUP2_CPU => 20);  END;  Which three statements are true? ()

    • A、 SYS_GROUP gets 100% CPU resources at level 1.
    • B、 FIN_GROUP1 gets 80% CPU resources at level 1.
    • C、 FIN_GROUP1 gets 80% CPU resources at level 2.
    • D、 PAY_GROUP1 gets 20% CPU resources at level 1.
    • E、 PAY_GROUP1 gets 20% CPU resources at level 2.
    • F、 OTHER_GROUP gets 100% CPU resources at level 1.
    • G、 OTHER_GROUP gets 100% CPU resources at level 2.

    正确答案:A,C,E

  • 第22题:

    单选题
    What effect should the loss of an index tablespace have on an Oracle instance that is running?()
    A

     instance hangs

    B

     instance gets aborted

    C

     instance continues running

    D

     instance gets restarted automatically


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

  • 第23题:

    单选题
    Due to media failure you lost one of the data files belonging to the USERS tablespace, and the tablespace is not available to use. Which statement regarding the status of the database is true?()
    A

    The database remains open.

    B

    The database gets dismounted.

    C

    The database becomes read only.

    D

    The database instance gets aborted.

    E

    The database gets shut down automatically.

    F

    The status of the database depends on the status of the USERS tablespace.


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