niusouti.com

When I found quite a few pages()in the dictionary, I wrote the bookstore a letter of complaint.A.missingB.lost

题目
When I found quite a few pages()in the dictionary, I wrote the bookstore a letter of complaint.

A.missing

B.lost


相似考题
更多“When I found quite a few pages()in the dictionary, I wrote the bookstore a letter of complaint. ”相关问题
  • 第1题:

    I _____a letter when she ____.

    A.write, calls

    B. wrote, called

    C.was writing, calls

    D. was writing, called


    正确答案:D

  • 第2题:

    The earthquake broke out on a day _______ my father left for America, a day _______I’ll never forget.

    A.that; when
    B.when; when
    C.that; which
    D.when; that

    答案:D
    解析:
    本题考查定语从句

    D选项,第一个空先行词为day,空格在从句作时间状语,故选when引导后面的定语从句;第二个空先行词为day,空格在从句中作forget的宾语,故用that引导定语从句。综上,D选项正确

    A选项,与题意不符,故排除。

    B选项,与题意不符,故排除。

    C选项,与题意不符,故排除。

    故正确答案为D项。

  • 第3题:

    I′ll never forget the day__________I became a doctor.

    A.that
    B.which
    C.where
    D.when

    答案:D
    解析:

  • 第4题:

    使用VC6打开考生文件夹下的工程test37_1,此工程包含一个源程序文件test37_1.cpp,但该程序运行有问题,请改正函数中的错误,使该程序的输出结果为:

    0149 16 25 36 49 64 81

    源程序文件test37_1.cpp清单如下:

    include<iostream.h>

    template <class T, int N = 100> class Vector

    {

    T vec[N];

    public:

    void set(int pos, T val);

    T get(iht pos);

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

    }

    template <class T, int N> void Vector<T, N>::set(int pos, T val)

    {

    vec[pos] = val;

    }

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

    template <class T, int N> Vector<T, N>::get(int pos)

    {

    return vec[pos];

    }

    int main ()

    {

    Vector<double, 10> v;

    int i = 0;

    double d = 0.0;

    for (i = 0; i < 10; i++)

    v.set(i, double(i * i));

    for (i = 0; i < 10; i++)

    cout<<v.get(i)<<" ";

    cout<<end1;

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

    }


    正确答案:(1) 错误:} 正确:}; (2) 错误:templateclass Tint N>VectorTN>::get(int pos) 正确:templateclass Tint N>T VectorTN>::get(int pos) (3) 错误:缺少返回值 正确:加入 return 0;
    (1) 错误:} 正确:}; (2) 错误:templateclass T,int N>VectorT,N>::get(int pos) 正确:templateclass T,int N>T VectorT,N>::get(int pos) (3) 错误:缺少返回值 正确:加入 return 0; 解析:(1)主要考查考生对于类定义的理解,即使使用了类模板,在类定义的结尾仍然需要使用分号,这是C++的规定;
    (2)主要考查考生是否会掌握了模板类的定义,template是关键字,在0中间是类型的定义,题目中Vector是一个类的名称,前面应该有该模板的名称,即T,这样才是完整的定义;
    (3)主要考查考生对于函数返回值的掌握,任何返回值类型不为int型的函数最后都必须使用returen语句返回对应类型的值,就算是main函数也不例外。

  • 第5题:

    The earthquake broke out on a day______ my father left for America, a day _______ I’ll never forget.

    A.that; when
    B.when; when
    C.that: which
    D.when; that

    答案:D
    解析:
    本题考查定语从句
    D选项,第一个空先行词为day,空格在从句中时间状语,故选when引导后面的定语从句;第二个空先行词为day,空格在从句中作forget的宾语,故用that引导定语从句。综上,D选项正确。
    A选项,第一个空先行词为时间状语day, that不适合,故排除。
    B选项,第二个空先行词为宾语day,when不适合,故排除。
    C选项,先行词为day, that不适合,故排除。
    故正确答案为 D项。

  • 第6题:

    20、以下程序的输出结果是()? letter = ['A','B', 'C', 'D', 'D'] for i in letter: if i == 'D': letter.remove(i) print(letter)

    A.['A','B', 'C', 'D']

    B.['A','B', 'C', 'D','D']

    C.['A','B', 'C', 'D','D','D']

    D.['A','B', 'C']


    B 本题的考查点是不同格式的数据输出。prinff函数对不同类型的数据用不同的格式字符,”%d”是以带符号的十进制形式输出整数(正数不输出符号);”%O”以八进制无符号形式输出整数(不包括前导符0);”%x”以十六进制无符号形式输出整数(不包括前导符0x)。