niusouti.com

He found ______ wall.There was ______ “s”on the corner of ______ wall.A、a,an,theB、a,a,theC、an,an,anD、the,a,a

题目
He found ______ wall.There was ______ “s”on the corner of ______ wall.

A、a,an,the

B、a,a,the

C、an,an,an

D、the,a,a


相似考题
更多“He found ______ wall.There was ______ “s”on the corner of ______ wall. ”相关问题
  • 第1题:

    下列给定程序中,函数fun()的功能是:在字符串的最前端加入n个*号,形成新串,并且覆盖原串。

    注意:字符串的长度最长允许79。

    请改正函数fun()中的错误,使它能得出正确的结果。

    注意:不要改动main函数,不得增行或删行,也不得更改程序的结构。

    试题程序;

    include <stdio.h>

    include <strzng.h>

    include <conio.h>

    /*****************found***************/

    void fun(char s[], int n)

    {

    char a[80],*p;

    int i;

    /*****************found***************/

    s=p;

    for(i=0; i<n; i++) a[i]='*';

    do

    {a[i]=*p;

    /*****************found***************/

    i++;

    }while(*p);

    a[i]=0;

    strcpy(s,a);

    }

    main()

    { int n;char s[80];

    clrscr();

    printf("\nEnter a string:");gets(s);

    printf("\nThe string\%s\n",s);

    printf("\nEnter n(number of*):");scanf ("%d",&n);

    fun(s,n);

    printf("\nThe string after inster: \%s\n",s);

    }


    正确答案:(1)错误:void fun(char s[]int n) 正确:void fun(char *s int n) (2)错误:s=p; 正确:p=s; (3)错误:i++; 正确:i++;p++; (4)错误:a[i]=0; 正确:a[i]='\0';
    (1)错误:void fun(char s[],int n) 正确:void fun(char *s, int n) (2)错误:s=p; 正确:p=s; (3)错误:i++; 正确:i++;p++; (4)错误:a[i]=0; 正确:a[i]='\0'; 解析:在本题中,s是数组名,代表数组首地址,在编译时对s数组分配了一段内存单元,因此在程序运行期间s是一个常量,不能再被赋值。因此s=p是错误的,如果把“chars[];”改成“char*s;”,则程序正确。此时s是指向字符数组的指针变量,p=s是合法的,它将字符串的首地址赋给指针变量p,然后在printf函数语句中输出字符串s。因此,应当弄清楚字符数组与字符指针变量用法的区别。

  • 第2题:

    选哪一个He’s watching TV? He’s _______

        He’s watching TV? He’s ________ to be cleaning his room.

    A) known            B) supposed              C) regarded            D) considered

     


    B


    be supposed to do 通常用来表示“(某人)理应...应当...”,常含有“实际却没有这样做”之意。例:
    We are supposed to arrive on time.
    我们理应按时到达(可是并没有)。

    be considered 通常表示“被认为...”,其后可接名词,形容词及不定式。例:
    He is considered (to be) healthy / a good student.
    (他被认为身体很健康/ 是个好学生。)

    本题的中文意思是“他在看电视?他理应在打扫房间才对。” 表示说话人对\"He\"没有打扫房间却在看电视的惊讶与不满。因此B为正确选项。

  • 第3题:

    21、马远,夏圭的“边角”构图是对只留半壁江山偏居一隅的南宋暗喻。 Ma Yuan and Xia Gui’s “one-corner” composition implies that the Southern Song court kept half of its original territory and stayed in a corner.


    正确

  • 第4题:

    下列给定程序中,函数fun()的功能是;将s所指字符串中的字母转换为按字母序列的后续字母(但Z转化为A,z转化为 a),其他字符不变。

    请改正函数fun()中的错误,使它能得出正确的结果。

    注意:不要改动main函数,不得增行或删行,也不得更改程序的结构。

    试题程序:

    include <stdio.h>

    include <ctype.h>

    include <conio.h>

    void fun(char *s)

    /*************found**************/

    { while(*s!='@')

    { if(*s>='A' &*s<='z'||*s>='a'&&*s<='z')

    {if(*s=='Z') *S='A';

    else if(*S=='z') *s='a';

    else *s+=1;

    }

    /*************found**************/

    (*s)++;

    }

    }

    main()

    { char s[80];

    clrscr();

    printf("\n Enter a string with length <80:\n\n");gets(s);

    printf("\n The string:\n\n");puts(s);

    fun(s);

    printf("\n\n The Cords:\n\n");puts(s);

    }


    正确答案:(1)错误:while(*s!='@') 正确:while(*s) (2)错误:(*s)++; 正确:s++;
    (1)错误:while(*s!='@') 正确:while(*s) (2)错误:(*s)++; 正确:s++; 解析:根据题目要求,可对字符串所有字母进行遍历。对每一个字母,若该字母为'z'或'Z',将该字母改成'a'或'A',即 ASCII码值减25,当然也可以用题目中的if语句来实现转换。若该字母不是'z'或'Z',则该字母的ASCII码值加1;对字符串所有字符重复以上过程即可得到题目要求的结果,可用循环语句和条件语句来实现。

  • 第5题:

    45、图片的位置/大小可以用其Corner属性来求出


    错误

  • 第6题:

    图片的位置/大小可以用其Corner属性来求出


    正确