A.have,,joined
B.have,,been
C.has,,joined
D.has,,been
第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');
}
第2题:
Jerry: I've been back from a business trip.
Bob: ______
A、It's very nice of you.
B、How's everything going?
C、You're kind to say so.
D、I'd love to.
第3题:
2.—How _______you?
—I_______ fine, thanks.
A.are;is
B.are; am
C.are;are
D.is,am
第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;
}
第5题:
Do you want to join the________(swim) club?
第6题:
若要在页面中创建一个图形超链接,要显示的图形为myhome.jpg,所链接的地址为http://www.webcourse.club,以下用法中,正确的是()。
A.<a href=“http://www.webcourse.club”>myhome.jpg</a>
B.<a href=“http://www.webcourse.club”><img src=“myhome.jpg”></a>
C.<img src=“myhome.jpg”><a href=“http://www.webcourse.club”></a>
D.<a href =http://www.webcourse.club><img src=“myhome.jpg”>