itgle.com

Within the team, a work plan can tell each member what()and why.A. is being doneB. has doneC. has been done

题目

Within the team, a work plan can tell each member what()and why.

A. is being done

B. has done

C. has been done


相似考题
参考答案和解析
参考答案:A
更多“Within the team, a work plan can tell each member what()and why.A. is being doneB. has ”相关问题
  • 第1题:

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

    member1=5member2=5

    member1=7member2=9

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

    include<iostream.h>

    class My Class

    {

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

    friend void setMember(MyClass myObj,char meml)

    {

    myObj.member1=mem1;

    myObj.member2=mem1;

    cout<<"member1="<<myObi.member1<<" member2="<<myObj.member2<<endl;

    }

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

    void setMember(MyClass& myObj,char mem1,char mem2)

    {

    myObj.member1=mem1;

    myObj.member2=mem2;

    cout<<"member1:"<<myObj.member1<<"member2="<<myObj.member2<<endl;

    }

    private:

    char member1;

    char member2;

    };

    void main()

    {

    MyClass theObj;

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

    theObj.setMember(theObj,'5');

    theObj.setMember(theObj,'7','9');

    }


    正确答案:(1)错误:friend void setMember(MyClass myObjchar mem1) 正确:friend void set Member(MyClass & myObjchar mem1) (2)错误:void setMember(MyClass & myObjchar mem1char mem2) 正确:friend void setMembe (MyClass & myObjchar mem1char mem2) (3)错误:theObj.setMember(theObj'5'); theObj.setMember(theObj'7''9'); 正确:setMember(theOebj'5'); setMember(theObj'7''9');
    (1)错误:friend void setMember(MyClass myObj,char mem1) 正确:friend void set Member(MyClass & myObj,char mem1) (2)错误:void setMember(MyClass & myObj,char mem1,char mem2) 正确:friend void setMembe (MyClass & myObj,char mem1,char mem2) (3)错误:theObj.setMember(theObj,'5'); theObj.setMember(theObj,'7','9'); 正确:setMember(theOebj,'5'); setMember(theObj,'7','9'); 解析:(1)主要考查考生对于友元函数定义的掌握,应该使用引用调用才能改变该对象的成员值;
    (2)主要考查考生对于友元函数重载的掌握,因为前面已经有了同名函数,很明显这个函数也应该为友元函数,所以关键字friend声明;
    (3)主要考查考生是否会使用友元函数,调用友元函数和普通函数的方法一样,不需要使用对象访问。

  • 第2题:

    What's the teacher doing by saying "Who wants to have a try"?

    A. Controlling discipline.
    B. Giving prompt.
    C. Evaluating students' work.
    D. Directing students' attention to the lesson.

    答案:B
    解析:
    考查课堂提问的作用。教师问“谁想试一试”,对课堂活动起到促进作用,故选B。

  • 第3题:

    What's the teacher doing by saying "Who wants to have a try"?

    A.Controlling discipline.
    B.Giving prompt.
    C.Evaluating students' work.
    D.Directing students' attention to the lesson.

    答案:B
    解析:
    考查教学活动中教师的角色。教师在此充当课堂教学的推动者。

  • 第4题:

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

    member = 0

    member = 5

    member = 10

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

    //mainl.cpp

    include <iostream>

    using namespace std;

    class MyClass

    {

    public:

    MyClass(int i)

    {

    member=i;

    }

    void SetMember(int m)

    {

    member=m;

    }

    int GetMember()const

    {

    return member;

    }

    void Print() const

    {

    cout<<"member="<<member<<end1;

    }

    private:

    int member;

    };

    int main()

    {

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

    MyClass obj1;

    obj1. Print();

    MyClass obj2(3);

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

    obj1.member = 5;

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

    MyClass. SetMember(10);

    obj1. Print();

    obj2. Print();

    return 0;

    }


    正确答案:修改后的主函数应该为: int main() { MyClass obj1(0); obj1.Print(); MyClass obj2(3); obj1.SetMember(5); obj2.SetMember(10); obj1.Print(); obj2.Print(); return 0; }
    修改后的主函数应该为: int main() { MyClass obj1(0); obj1.Print(); MyClass obj2(3); obj1.SetMember(5); obj2.SetMember(10); obj1.Print(); obj2.Print(); return 0; } 解析:本题主要考核类与对象的应用。程序中出现了3个出错标识符,说明此程序有3处错误。
    第1处错误:“MyClass obj1;obj1.Print();”,此时对象。obj1没有给出初始化值,所以应该改为“Myclass obj1(0);obj1.Print();”。
    第2处错误:“obj1.member=5;”,由于类MyClass中,数据成员member是私有成员不能通过类的对象。obj1访问。所以应该改为“obj1.SetMember(5);”。
    第3处错误:“MyClass.SetMember(10);”,此处MyClass是一个类名,这样的访问方式不合法,应该改为“obj2.SetMember(10);”。

  • 第5题:

    What's the teacher doing by saying "Who wants to have a try"?

    A.Controlling discipline.
    B.Giving prompt.
    C.Evaluating students' work.
    D.Directing students' attention to the lesson.

    答案:B
    解析:
    考查课堂提问的作用。教师问“谁想试一试”,对课堂活动起到促进作用,故选B。

  • 第6题:

    语义网络的基本语义关系包括()。

    A.实例关系(ISA)

    B.分类关系(AKO)

    C.成员关系(A-Member-of)

    D.属性关系(Have或者Can)


    C) 继承性