时间:2020-01-03 03:08:49
1、单项选择题
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、Iamastudent.的前面
B、Iamastudent.的后面
C、Iamastudent.的下一行首列
D、不确定
2、单项选择题
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、浮点型
B、整型
C、字符型
D、无返回值
3、单项选择题
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.#include
B.#include
C.using namespace std;
4、单项选择题
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,5
B、2.0,5.0(小数位数由编译器决定)
C、不确定,不确定
D、x,y变量不存在
5、单项选择题
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.不确定
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 < 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”
8、单项选择题
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、iostream
B、cmath
C、iomanip
9、单项选择题
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
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.3
C.5
D.不确定
11、单项选择题
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
12、单项选择题
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
13、单项选择题
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个
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.0
B.1
C.2
D.3
15、单项选择题
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
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.x不分配,y不分配
B.x分配,y不分配
C.x不分配,y分配
D.x分配,y分配
17、单项选择题
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.不确定
18、单项选择题
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.0
B.随机值
C.8
D.8.0(小数位数由编译器决定)
19、单项选择题
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.整型
B.单精度浮点型
C.双精度浮点型
D.字符型
20、单项选择题
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、1个
B、2个
C、3个
D、4个
21、单项选择题
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.0
B.1
C.变量不存在
D.随机值
22、单项选择题
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.不确定
23、单项选择题
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.不存在
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(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、不确定
25、单项选择题
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、程序入口
26、单项选择题
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.不确定
27、单项选择题
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”
28、单项选择题
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.6
C.9
D.不确定
29、单项选择题
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、代表’\’和’n’两个字符
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
31、单项选择题
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.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
32、单项选择题
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.1
C.变量不存在
D.随机值
33、单项选择题
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(小数位数由编译器决定)
34、单项选择题
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、第3行
B、第4行
C、第5行
D、第6行
35、单项选择题
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.result is result
B.result is result endl
C.result is 7
D.result is 7 endl
36、单项选择题
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
37、单项选择题
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.7
B.15
C.19
D.24
38、单项选择题
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、第1行
B、第2行
C、第3行
D、第4行
39、单项选择题
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
40、单项选择题
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、函数定义
41、单项选择题
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.1
C.变量不存在
D.随机值
42、单项选择题
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.1个
B.2个
C.3个
D.4个
43、单项选择题
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(小数位数由编译器决定)
44、单项选择题
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(小数位数由编译器决定)
45、单项选择题
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.随机值
46、单项选择题
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.2
C.3
D.不确定
47、单项选择题
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;
48、单项选择题
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.inputtwonumbers:\n
B.inputtwonumbers:
C.cout<<” input two numbers:\n”
D.”input two numbers:\n”
49、单项选择题
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.0
B.1
C.-1
D.随机值
50、单项选择题
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进行类型转换
51、单项选择题
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.不确定
52、单项选择题
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进行类型转换
53、单项选择题
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、字符型
54、单项选择题
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.0
B.1
C.2
D.3