手机用户可
保存上方二维码到手机中,在
微信扫一扫中右上角选择“从
相册选取二维码”即可。
	       
1、单项选择题  
	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"<
	10)} 
                    若在第7行时输入“4空格3单击回车”,则第9行的输出结果是:()
                    
	A.result is result
	B.result is result endl
	C.result is 7
	D.result is 7 endl
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    执行完第13行后,变量a的值是:()
                    
	A.0
	B.1
	C.变量不存在
	D.随机值
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    执行完第8行后,屏幕上输出:()
                    
	A.input two numbers:\n
	B.input two numbers:
	C.cout<<”input two numbers:\n”
	D.”please input two numbers:\n”
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    执行第15行时,若输入“8空格9回车”,则第4行中,y的值是:()
                    
	A.0
	B.随机值
	C.9
	D.9.0000000000000000
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    第17行中的函数sqrt()在哪个头文件中定义:()
                    
	A.iostream
	B.cmath
	C.fstream
	D.usingnamespacestd;
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        6、单项选择题  
	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)}
                    第13行中变量a、b、c的类型是:()
                    
	A.整型
	B.单精度浮点型
	C.双精度浮点型
	D.字符型
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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"<
	10)} 
                    程序第6行执行结束后,光标在什么位置:()
                    
	A.please input two numbers:的前面
	B.please input two numbers:的后面
	C.please input two numbers:的下一行首列
	D.不确定
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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"<
	10)} 
                    执行完第6行后,屏幕上输出:()
                    
	A.please input two numbers:\n
	B.please input two numbers:
	C.cout<<”please input two numbers:\n”
	D.”please input two numbers:\n”
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        9、单项选择题  
	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"<
	10)} 
                    程序第5行执行结束后,result的值是多少:()
                    
	A.0
	B.1
	C.-1
	D.随机值
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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"<
	10)} 
                    若在第7行时输入“4空格3单击回车”,则程序第8行执行完后,result的值是:()
                    
	A.7
	B.15
	C.19
	D.24
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        11、单项选择题  
	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"<
	10)} 
                    程序执行到第8行时,假设此时输入“3,5”再单击回车键,则a的值是:()
                    
	A.0
	B.3
	C.5
	D.不确定
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        12、单项选择题  
	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)}
                    程序第7行中定义了几个变量:()
                    
	A、1个
	B、2个
	C、3个
	D、4个
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    若执行第9行时,输入89后按回车,则程序第11行输出:()
                    
	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
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        14、单项选择题  
	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)}
                    若执行第9行时,输入89后按回车,则执行完第10行后,c的值是:()
                    
	A.8
	B.8.0(小数位数由编译器决定)
	C.9
	D.9.0(小数位数由编译器决定)
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        15、单项选择题  
	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)}
                    执行完第14行后,命令提示符窗口中输出的结果是:()
                    
	A.inputtwonumbers:\n
	B.inputtwonumbers:
	C.cout<<” input two numbers:\n”
	D.”input two numbers:\n”
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        16、单项选择题  
	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"<
	10)} 
                    程序执行到第8行时,假设此时输入“3单击回车6单击回车”,则a的值是:()
                    
	A.0
	B.3
	C.6
	D.不确定
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        17、单项选择题  
	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)}
                    程序第11行中sqrt( c )在哪个头文件中定义:()
                    
	A.#include
	B.#include
	C.using namespace std;
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    程序在第16行调用max()函数时,系统是否为第4行中的x,y分配存储空间:()
                    
	A.x不分配,y不分配
	B.x分配,y不分配
	C.x不分配,y分配
	D.x分配,y分配
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        19、单项选择题  
	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" << result << endl;
	10)} 
                    程序第5行中,”\n”的含义是:()
                    
	A、代表’\’和’n’两个字符
	B、回车,即回到当前行的行首
	C、回车换行,即回到下一行首列
	D、制表符
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        20、单项选择题  
	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)}
                    执行第10行时,系统会回收几个变量:()
                    
	A.0
	B.1
	C.2
	D.3
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        21、单项选择题  
	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" << result << endl;
	10)} 
                    该程序第5行中cout是哪一个头文件里定义的()。
                    
	A、iostream
	B、cmath
	C、iomanip
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        22、单项选择题  
	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)}
                    程序第5行定义了几个整型变量:()
                    
	A.1
	B.2
	C.3
	D.4
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    执行第15行时,若输入“2空格5回车”,则执行完第10行后,y的值分别是:()
                    
	A.5
	B.5.0000000000000000
	C.随机值
	D.不存在
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    执行完第7行后,a的值是:()
                    
	A.0
	B.1
	C.变量不存在
	D.随机值
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        25、单项选择题  
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="<
12)}
13)doublemax(doublex,doubley)
14){
15)if(x>y)
16)returnx;
17)else
18)returny;
19)}
                    程序第11行中sqrt( c )的作用是:()
                    
	A、求c的绝对值
	B、求c的平方
	C、求c的开平方
	D、将c进行类型转换
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        26、单项选择题  
	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" << result << endl;
	10)} 
                    程序的第5行中的cout表示:()
                    
	A、显示字符串
	B、标准输出的流设备
	C、标准输入的流设备
	D、程序入口
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        27、单项选择题  
	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)}
                    若执行第9行时,输入25后按回车,则执行完第10行后,x,y的值分别是:()
                    
	A、2,5
	B、2.0,5.0(小数位数由编译器决定)
	C、不确定,不确定
	D、x,y变量不存在
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        28、单项选择题  
	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" << result << endl;
	10)} 
                    程序的输出结果是:()
                    
	A、cout<;<;&rdquo;Iamastudent.\n”
	B、";Iamastudent.\n&rdquo;
	C、Iamastudent.
	D、Iamastudent.\n
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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" << result << endl;
	10)} 
                    程序执行完第5行后,光标在什么位置:()
                    
	A、Iamastudent.的前面
	B、Iamastudent.的后面
	C、Iamastudent.的下一行首列
	D、不确定
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        30、单项选择题  
	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)}
                    执行第15行时,若输入“8空格9回车”,则执行完第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
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    若执行第9行时,输入89后按回车,则执行到14行时,x的值是:()
                    
	A.0
	B.随机值
	C.8
	D.8.0(小数位数由编译器决定)
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        32、单项选择题  
	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"<
	10)} 
                    程序第8行中有几种操作符:()
                    
	A.3个
	B.4个
	C.5个
	D.6个
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        33、单项选择题  
	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)}
                    第17行中sqrt( c )的含义是:()
                    
	A.求变量c的绝对值
	B.对变量c进行平方
	C.对变量c开平方
	D.将变量c进行类型转换
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        34、单项选择题  
	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"<
	10)} 
                    程序执行到第7行时,假设此时输入“4空格5”,则a的值是:()
                    
	A.0
	B.4
	C.5
	D.不确定
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        35、单项选择题  
	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" << result << endl;
	10)} 
                    程序执行到第8行时,假设此时输入“4空格5”,则a的值是:()
                    
	A.0
	B.4
	C.5
	D.不确定
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        36、单项选择题  
	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" << result << endl;
	10)} 
                    程序的入口是第几行:()
                    
	A、第1行
	B、第2行
	C、第3行
	D、第4行
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        37、单项选择题  
	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)}
                    程序第7行中变量a、b、c的类型是:()
                    
	A、整型
	B、单精度浮点型
	C、双精度浮点型
	D、字符型
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        38、单项选择题  
	
	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)}
                    若执行第9行时,输入89后按回车,则执行完第19行后,max函数的返回值是:()
                    
	A.8
	B.8.0(小数位数由编译器决定)
	C.9
	D.9.0(小数位数由编译器决定)
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        39、单项选择题  
	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)}
                    执行第19行时,系统会回收几个变量存储空间:()
                    
	A.0
	B.1
	C.2
	D.3
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        40、单项选择题  
	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"<
	10)} 
                    程序执行第10行时,系统回收几个变量的内存空间:()
                    
	A.0
	B.1
	C.2
	D.3
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    第13行中定义了几个变量:()
                    
	A.1个
	B.2个
	C.3个
	D.4个
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        42、单项选择题  
	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)}
                    程序执行第9行时,若输入23后按回车,则内存中a的值为:()
                    
	A、2
	B、2.0(小数位数由编译器决定)
	C、3
	D、3.0(小数位数由编译器决定)
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        43、单项选择题  
	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"<
	10)} 
                    程序执行到第8行时,假设此时输入“9空格6再单击回车”,则a的值是:()
                    
	A.0
	B.6
	C.9
	D.不确定
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        44、单项选择题  
	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)}
                    程序第5行执行结束后,a的值是多少:()
                    
	A.0
	B.1
	C.-1
	D.随机值
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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"<
	10)} 
                    第3行的main()函数返回值的类型是:()
                    
	A、浮点型
	B、整型
	C、字符型
	D、无返回值
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        46、单项选择题  
	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)}
                    执行完第13行后,b的值是:()
                    
	A.0
	B.1
	C.变量不存在
	D.随机值
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    执行第15行时,若输入“2空格3回车”,则变量a的值是:()
                    
	A.2
	B.2.0000000000000000
	C.3
	D.3.0000000000000000
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        48、单项选择题  
	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" << result << endl;
	10)} 
                    该程序是在哪一行结束的:()
                    
	A、第3行
	B、第4行
	C、第5行
	D、第6行
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        49、单项选择题  
	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)}
                    执行第15行时,若输入“8空格9回车”,则执行完第16行后,变量c的值是:()
                    
	A.8
	B.8.0000000000000000
	C.9
	D.9.0000000000000000
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    执行完第14行后,命令提示符窗口中光标的位置在:()
                    
	A.input two number:前面
	B.input two number:后面
	C.input two number:下一行首列
	D.不确定
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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"<
	10)} 
                    程序第2行会对哪条语句产生影响:()
                    
	A、第3行
	B、第4行
	C、第5行
	D、第6行
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        52、单项选择题  
	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"<
	10)} 
                    该程序运行到第8行时,在屏幕上输入“3.2空格2.1再单击回车”,此时a的值是:()
                    
	A.0
	B.2
	C.3
	D.不确定
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    该程序第4行的作用是()。
                    
	A、变量定义
	B、函数调用
	C、函数声明
	D、函数定义
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        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)}
                    程序第8行执行完后,光标在:()
                    
	A、input two number:前面
	B、input two number:后面
	C、input two number:下一行首列
	D、不确定
 
	
	点击查看答案
 本题答案:微信扫下方二维码即可打包下载完整带答案解析版《★计算机程序设计员》或《计算机程序设计员:CPP考试》题库
 
	
	
	        
		  
      
      题库试看结束后
微信扫下方二维码即可打包下载完整版《
★计算机程序设计员》题库
手机用户可保存上方二维码到手机中,在微信扫一扫中右上角选择“从相册选取二维码”即可。
题库试看结束后
微信扫下方二维码即可打包下载完整版《
计算机程序设计员:CPP考试》题库,
分栏、分答案解析排版、小字体方便打印背记!经广大会员朋友实战检验,此方法考试通过率大大提高!绝对是您考试过关的不二利器!手机用户可
保存上方二维码到手机中,在
微信扫一扫中右上角选择“从
相册选取二维码”即可。