题目
Once these abilities and practices evolved, they probably became driving forces in the further evolution of man.Those members of the species who become most proficient(精通的) in the fabrication of tools and in the command of language and thought would tend to survive and maintain their kind for good, at the expense of those of lesser ability.
11.Which of the following statements best expresses the main idea of the passage?()
A.Tools and language are either the effects or the causes of human evolution.
B.No other animals have achieved human abilities.
C.Among the animals, only man is able to use tools and language.
D.Man owns his capacity to making use of tools and language.
12.“Animal kingdom” in the passage refers to ().
A.the place where all animals live
B.the animal society
C.all kinds of animals, including man
D.the forest with animals
13.One important condition for man’s evolution is() .
A.the animal kingdom
B.a supreme position
C.the myriad kinds
D.his natural capacity
14.The phrase “come about” in the passage is likely to mean ________.
A.happened
B.appeared
C.arrived
D.succeeded
15.The last sentence suggests that() .
A.those of lesser ability would be very expensive
B.in order to survive, man has to sacrifice some other animals
C.those who become proficient in making tools can speak well
D.language and thought could be acquired by man
第1题
阅读下列程序说明和C++代码,将应填入(n)处。
【说明】
①在类体中添加函数move(double ax,double ay)的定义,使得点的坐标x和y分别移动 ax和ay个单位。
②在类定义外完成重载的两个构造函数CPosition()和CPosition(double dx,double dy),其中前者为不带参数的构造函数,使CPosition对象的默认值为x=0,y=0,后者为带参数的构造函数,把数据成员x和y分别初始化为参数dx和dy的值。
③完成函数double distance(double bx,double by)的定义,该函数返回*this和点(bx, by)的距离。
注意:除在指定的位置添加语句外,请不要改动程序中的其他语句。
源程序文件test5.cpp清单如下:
include<iostream.h>
include<math.h>
class CPosition
{
public:
CPosition();
CPosition(double dx,double dy);
double getx();
double gety();
(1)
double distance(double bx,double by);
private:
double x;
double y;
};
(2)
{
x=0;y=0;
}
CPosition::CPosition(doub,e dx,doub,e dy)
{
x=dx; y=dy;
}
double CPosition::getx()
{
return x;
}
double CPosition::gety()
{
return y;
}
double CPosition::distance(double bx,double by)
{
(3)
}
vold main()
{
double a,b;
cout<<"|nput x,y position of a point:";
cin >> a >> b;
CPosition psA(a,b);
cout<<"Input x,y position of another point:";
cin >>a >> b;
cout <<"The distance is" <<psA.distance(a,b) <<end1;
}
第2题
有以下函数定义: void fun(int n,doub x) {……} 若以下选项中的变量都已正确定义并赋值,则对函数fun的正确调用语句是()。
A.fun(int y,double m);
B.k=fun(10,12.5);
C.fun(x,n);
D.void fum(n,x);
第3题
A.equals(d)
B.c==d
C.equals(f)
D.c=f
第4题
给定程序如下
public static void main(String args[]) {
Float f=new Float(4.2f);
Float c;
Double d=new Double(4.2);
float fl=4.2f;
c=f;
}
下列选项中()的值为真。
A、f.equals(d)
B、c=f
C、c==d
D、c.equals(f)
第5题
如果类名为Myclass,那么()可以作为它的构造函数。
A.~Myclass()
B.Myclass(doublea)
C.~Myclass(doublea)
D.voidMyclass()
第6题
以下程序的输出结果是______。
include<iostream.h>
int add(int x, int y)
{
return x+y;
}
double add(double x, double y)
{
return x+y;
}
void main()
{
int a=3, b=3;
double c=6.5, d=1.5;
cout<<add(a, b)<<","<<add(c, d)<<end1;
}
第7题
在计算机的硬件技术中,构成存储器的最小单位是()。
A.字节(Byte)
B.进制位(bit)
C.字(Word)
D.字(Double Word)
第8题
有下列程序: #include<iostream> using namespace std; int main() { void function(double val); double val; function(val); cout<<val; return 0; } void fimction(double val) { v
A.编译出错,无法运行
B.输出3
C.输出:3.0
D.输出一个不确定的数
第9题
下列程序的执行的结果是______。 public class ex8 { public static void main(String[] args) { double d=0; int a=3; while (a>0) { d=d+l. of/a; if (d<=2) continue; a--; } System.out.println (d); } }
A.4.2
B.3.5
C.2.8
D.无限循环
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!