时间:2019-06-20 23:13:19


1、单项选择题
	1)#include < iostream >
	2)# include < math.h >
	3)using namespace std;
	4)double max(double x,doubley);
	5)void main()
	6){
	7)double   a,b,c;
	8)cout << " input two numbers:\n";
	9)cin>>a>>b;
	10)c=max(a,b);
	11)cout<< " the squart of max imum="<< sqrt(c);
	12)}
	13)double max(doublex,doubley)
	14){
	15)if(x>y)
	16)returnx;
	17)else
	18)returny;
	19)}
	A、变量定义
	B、函数调用
	C、函数声明
	D、函数定义
2、单项选 择题
	1)#include < iostream >
	2)#include < cmath >
	3)using namespace std;
	4)double max(double x,doubley)
	5){
	6)if(x>y)
	7)return x;
	8)else
	9)return y;
	10)}
	11)int main()
	12){
	13)doublea,b,c;
	14)cout <<" input two numbers:\n";
	15)cin >> a >> b;
	16)c=max(a,b);
	17)cout <<" the squart of max imum="<< sqrt( c );
	18)}
	A.求变量c的绝对值
	B.对变量c进行平方
	C.对变量c开平方
	D.将变量c进行类型转换
3、单项选择题
	1)#include < iostream >
	2)#include < cmath >
	3)using namespace std;
	4)double max(double x,doubley)
	5){
	6)if(x>y)
	7)return x;
	8)else
	9)return y;
	10)}
	11)int main()
	12){
	13)doublea,b,c;
	14)cout <<" input two numbers:\n";
	15)cin >> a >> b;
	16)c=max(a,b);
	17)cout <<" the squart of max imum="<< sqrt( c );
	18)}
	A.8
	B.8.0000000000000000
	C.9
	D.9.0000000000000000
4、单项选择题
	1)#include < iostream >
	2)#include < cmath >
	3)using namespace std;
	4)double max(double x,doubley)
	5){
	6)if(x>y)
	7)return x;
	8)else
	9)return y;
	10)}
	11)int main()
	12){
	13)doublea,b,c;
	14)cout <<" input two numbers:\n";
	15)cin >> a >> b;
	16)c=max(a,b);
	17)cout <<" the squart of max imum="<< sqrt( c );
	18)}
	A.input two number:前面
	B.input two number:后面
	C.input two number:下一行首列
	D.不确定
5、单项选择题
	1)#include < iostream >
	2)#include < cmath >
	3)using namespace std;
	4)double max(double x,doubley)
	5){
	6)if(x>y)
	7)return x;
	8)else
	9)return y;
	10)}
	11)int main()
	12){
	13)doublea,b,c;
	14)cout <<" input two numbers:\n";
	15)cin >> a >> b;
	16)c=max(a,b);
	17)cout <<" the squart of max imum="<< sqrt( c );
	18)}
	A.iostream
	B.cmath
	C.fstream
	D.usingnamespacestd;
6、单项选择题
	1)#include
	2)usingnamespacestd;
	3)intmain()
	4){
	5)inta,b,result;
	6)cout<<"pleaseinputtwonumbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis"<
	A.3个
	B.4个
	C.5个
	D.6个
7、单项选择题
	1)#include
	2)usingnamespacestd;
	3)intmain()
	4){
	5)inta,b,result;
	6)cout<<"pleaseinputtwonumbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis"<
	A.0
	B.1
	C.-1
	D.随机值
8、单项选择题
	1)#include
	2)usingnamespacestd;
	3)intmain()
	4){
	5)inta,b,result;
	6)cout<<"pleaseinputtwonumbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis"<
	A.0
	B.3
	C.6
	D.不确定
9、单项选择题
	1)#include 
	2)using namespace std;
	3)int main()
	4){
	5)int a,b,result;
	6)cout<<"please input two numbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis
	10)} 
	A.0
	B.4
	C.5
	D.不确定
10、单项选择题
	1)#include
	2)usingnamespacestd;
	3)intmain()
	4){
	5)inta,b,result;
	6)cout<<"pleaseinputtwonumbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis"<
	A.0
	B.4
	C.5
	D.不确定
11、单项选择题
	
	1)#include < iostream >
	
	2)# include < math.h >
	
	3)using namespace std;
	
	4)double max(double x,doubley);
	
	5)void main()
	
	6){
	
	7)double   a,b,c;
	
	8)cout << " input two numbers:\n";
	
	9)cin>>a>>b;
	
	10)c=max(a,b);
	
	11)cout<< " the squart of max imum="<< sqrt(c);
	
	12)}
	
	13)double max(doublex,doubley)
	
	14){
	
	15)if(x>y)
	
	16)returnx;
	
	17)else
	
	18)returny;
	
	19)}
	A.8
	B.8.0(小数位数由编译器决定)
	C.9
	D.9.0(小数位数由编译器决定)
12、单项选择题
	1)#include
	2)usingnamespacestd;
	3)intmain()
	4){
	5)inta,b,result;
	6)cout<<"pleaseinputtwonumbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis"<
	A.please input two numbers:的前面
	B.please input two numbers:的后面
	C.please input two numbers:的下一行首列
	D.不确定
13、单项选择题
	1)#include < iostream >
	2)# include < math.h >
	3)using namespace std;
	4)double max(double x,doubley);
	5)void main()
	6){
	7)double   a,b,c;
	8)cout << " input two numbers:\n";
	9)cin>>a>>b;
	10)c=max(a,b);
	11)cout<< " the squart of max imum="<< sqrt(c);
	12)}
	13)double max(doublex,doubley)
	14){
	15)if(x>y)
	16)returnx;
	17)else
	18)returny;
	19)}
	A.input two numbers:\n
	B.input two numbers:
	C.cout<<”input two numbers:\n”
	D.”please input two numbers:\n”
14、单项选择题
	1)#include < iostream >
	2)#include < cmath >
	3)using namespace std;
	4)double max(double x,doubley)
	5){
	6)if(x>y)
	7)return x;
	8)else
	9)return y;
	10)}
	11)int main()
	12){
	13)doublea,b,c;
	14)cout <<" input two numbers:\n";
	15)cin >> a >> b;
	16)c=max(a,b);
	17)cout <<" the squart of max imum="<< sqrt( c );
	18)}
	A.x不分配,y不分配
	B.x分配,y不分配
	C.x不分配,y分配
	D.x分配,y分配
15、单项选择题
	1)#include < iostream >
	2)# include < math.h >
	3)using namespace std;
	4)double max(double x,doubley);
	5)void main()
	6){
	7)double   a,b,c;
	8)cout << " input two numbers:\n";
	9)cin>>a>>b;
	10)c=max(a,b);
	11)cout<< " the squart of max imum="<< sqrt(c);
	12)}
	13)double max(doublex,doubley)
	14){
	15)if(x>y)
	16)returnx;
	17)else
	18)returny;
	19)}
	A、2
	B、2.0(小数位数由编译器决定)
	C、3
	D、3.0(小数位数由编译器决定)
16、单项选择题
	1)#include < iostream >
	2)#include < cmath >
	3)using namespace std;
	4)double max(double x,doubley)
	5){
	6)if(x>y)
	7)return x;
	8)else
	9)return y;
	10)}
	11)int main()
	12){
	13)doublea,b,c;
	14)cout <<" input two numbers:\n";
	15)cin >> a >> b;
	16)c=max(a,b);
	17)cout <<" the squart of max imum="<< sqrt( c );
	18)}
	A.the squart of max imum=sqrtC.
	B.the squart of max imum=3.08221
	C.the squart of max imum=3
	D.the squart of max imum=9.0
17、单项选择题
	1)#include<iostream>
	2)usingnamespacestd;
	3)intmain()
	4){
	5)inta,b,result;
	6)cout<<"pleaseinputtwonumbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis"<<result<<endl;
	10)}
	A.1
	B.2
	C.3
	D.4
18、单项选择题
	
	1)#include < iostream >
	
	2)#include < cmath >
	
	3)using namespace std;
	
	4)double max(double x,doubley)
	
	5){
	
	6)if(x>y)
	
	7)return x;
	
	8)else
	
	9)return y;
	
	10)}
	
	11)int main()
	
	12){
	
	13)doublea,b,c;
	
	14)cout <<" input two numbers:\n";
	
	15)cin >> a >> b;
	
	16)c=max(a,b);
	
	17)cout <<" the squart of max imum="<< sqrt( c );
	
	18)}
	A.0
	B.随机值
	C.9
	D.9.0000000000000000
19、单项选择题
	1)#include
	2)usingnamespacestd;
	3)intmain()
	4){
	5)inta,b,result;
	6)cout<<"pleaseinputtwonumbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis"<
	A、第3行
	B、第4行
	C、第5行
	D、第6行
20、单项选择题
	1)#include 
	2)using namespace std;
	3)int main()
	4){
	5)int a,b,result;
	6)cout<<"please input two numbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis
	10)} 
	A、显示字符串
	B、标准输出的流设备
	C、标准输入的流设备
	D、程序入口
21、单项选择题
	1)#include
	2)usingnamespacestd;
	3)intmain()
	4){
	5)inta,b,result;
	6)cout<<"pleaseinputtwonumbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis"<
	A.please input two numbers:\n
	B.please input two numbers:
	C.cout<<”please input two numbers:\n”
	D.”please input two numbers:\n”
22、单项选择题
	1)#include < iostream >
	2)# include < math.h >
	3)using namespace std;
	4)double max(double x,doubley);
	5)void main()
	6){
	7)double   a,b,c;
	8)cout << " input two num bers:\n";
	9)cin>>a>>b;
	10)c=max(a,b);
	11)cout<< " the squart of max imum="<< sqrt(c);
	12)}
	13)double max(doublex,doubley)
	14){
	15)if(x>y)
	16)returnx;
	17)else
	18)returny;
	19)}
	A.#include
	B.#include
	C.using namespace std;
23、单项选择题
	1)#include
	2)usingnamespacestd;
	3)intmain()
	4){
	5)inta,b,result;
	6)cout<<"pleaseinputtwonumbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis"<
	A.0
	B.1
	C.2
	D.3
24、单项选择题
	1)#include < iostream >
	2)# include < math.h >
	3)using namespace std;
	4)double max(double x,doubley);
	5)void main()
	6){
	7)double   a,b,c;
	8)cout << " input two numbers:\n";
	9)cin>>a>>b;
	10)c=max( www.91eXam.orga,b);
	11)cout<< " the squart of max imum="<< sqrt(c);
	12)}
	13)double max(doublex,doubley)
	14){
	15)if(x>y)
	16)returnx;
	17)else
	18)returny;
	19)}
	A.8
	B.8.0(小数位数由编译器决定)
	C.9
	D.9.0(小数位数由编译器决定)
25、单项选择题
	1)#include < iostream >
	2)# include < math.h >
	3)using namespace std;
	4)double max(double x,doubley);
	5)void main()
	6){
	7)double   a,b,c;
	8)cout << " input two numbers:\n";
	9)cin>>a>>b;
	10)c=max(a,b);
	11)cout<< " the squart of max imum="<< sqrt(c);
	12)}
	13)double max(doublex,doubley)
	14){
	15)if(x>y)
	16)returnx;
	17)else
	18)returny;
	19)}
	A、input two number:前面
	B、input two number:后面
	C、input two number:下一行首列
	D、不确定
26、单项选择题
	1)#include < iostream >
	2)#include < cmath >
	3)using namespace std;
	4)double max(double x,doubley)
	5){
	6)if(x>y)
	7)return x;
	8)else
	9)return y;
	10)}
	11)int main()
	12){
	13)doublea,b,c;
	14)cout <<" input two numbers:\n";
	15)cin >> a >> b;
	16)c=max(a,b);
	17)cout <<" the squart of max imum="<< sqrt( c );
	18)}
	A.2
	B.2.0000000000000000
	C.3
	D.3.0000000000000000
27、单项选择题
1)#include
2)#include
3)usingnamespacestd;
4)doublemax(doublex,doubley);
5)voidmain()
6){
7)double  a,b,c;
8)cout<<"inputtwonumbers:\n";
9)cin>>a>>b;
10)c=max(a,b);
11)cout<<"thesquartofmaximum="<
13)doublemax(doublex,doubley)
14){
15)if(x>y)
16)returnx;
17)else
18)returny;
19)}
	A、求c的绝对值
	B、求c的平方
	C、求c的开平方
	D、将c进行类型转换
28、单项选择题
	1)#include < iostream >
	2)#include < cmath >
	3)using namespace std;
	4)double max(double x,doubley)
	5){
	6)if(x>y)
	7)return x;
	8)else
	9)return y;
 	10)}
	11)int main()
	12){
	13)doublea,b,c;
	14)cout <<" input two numbers:\n";
	15)cin >> a >> b;
	16)c=max(a,b);
	17)cout <<" the squart of max imum="<< sqrt( c );
	18)}
	A.5
	B.5.0000000000000000
	C.随机值
	D.不存在
29、单项选择题
	1)#include < iostream >
	2)# include < math.h >
	3)using namespace std;
	4)double max(double x,doubley);
	5)void main()
	6){
	7)double   a,b,c;
	8)cout << " input two numbers:\n";
	9)cin>>a>>b;
	10)c=max(a,b);
	11)cout<< " the squart of max imum="<< sqrt(c);
	12)}
	13)double max(doublex,doubley)
	14){
	15)if(x>y)
	16)returnx;
	17)else
	18)returny;
	19)}
	A、整型
	B、单精度浮点型
	C、双精度浮点型
	D、字符型
30、单项选择题
	1)#include 
	2)using namespace std;
	3)int main()
	4){
	5)int a,b,result;
	6)cout<<"please input two numbers:\n";
	7)cin>>a>>b;
	8)result=3*a-2*b+1;
	9)cout<<"resultis
	10)} 
	A、cout<;<;&rdquo;Iamastudent.\n”
	B、";Iamastudent.\n&rdquo;
	C、Iamastudent.
	D、Iamastudent.\n