【计算机类职业资格】二级C++笔试96及答案解析.doc

上传人:explodesoak291 文档编号:1324835 上传时间:2019-10-17 格式:DOC 页数:13 大小:69KB
下载 相关 举报
【计算机类职业资格】二级C++笔试96及答案解析.doc_第1页
第1页 / 共13页
【计算机类职业资格】二级C++笔试96及答案解析.doc_第2页
第2页 / 共13页
【计算机类职业资格】二级C++笔试96及答案解析.doc_第3页
第3页 / 共13页
【计算机类职业资格】二级C++笔试96及答案解析.doc_第4页
第4页 / 共13页
【计算机类职业资格】二级C++笔试96及答案解析.doc_第5页
第5页 / 共13页
点击查看更多>>
资源描述

1、二级 C+笔试 96及答案解析(总分:100.00,做题时间:90 分钟)一、B选择题/B(总题数:35,分数:70.00)1.如果算符函数调用格式的表达式:x.operator-(operator+(y,0)中的“”是作为成员函数重载的,“+”是作为友元函数重载的,那么该表达式还可以表示为( )。(分数:2.00)A.x-y+B.x-(+C.(x+)-yD.+x-y2.设有以下语句:int a10=0,1,2,3,4,5,6,7,8,9),*p=a;,对 a数组元素的引用中(其中 0=i10)不正确的是( )。(分数:2.00)A.ap-aB.*(j+; case 6:i+; j+; bre

2、ak; default:i+;j+; couti“,“jendl; )(分数:2.00)填空项 1:_50.以下程序的执行结果是U 【15】 /U。 #includeiostream #define PI_3.14159 const int R=10; void main() double a,b; ac2*R*PI; b=R*R*PI; cout“a=“a“,“b=“bendl;“ (分数:2.00)填空项 1:_二级 C+笔试 96答案解析(总分:100.00,做题时间:90 分钟)一、B选择题/B(总题数:35,分数:70.00)1.如果算符函数调用格式的表达式:x.operator-(

3、operator+(y,0)中的“”是作为成员函数重载的,“+”是作为友元函数重载的,那么该表达式还可以表示为( )。(分数:2.00)A.x-y+ B.x-(+C.(x+)-yD.+x-y解析:2.设有以下语句:int a10=0,1,2,3,4,5,6,7,8,9),*p=a;,对 a数组元素的引用中(其中 0=i10)不正确的是( )。(分数:2.00)A.ap-aB.*(j+; case 6:i+; j+; break; default:i+;j+; couti“,“jendl; )(分数:2.00)填空项 1:_ (正确答案:1,2)解析:50.以下程序的执行结果是U 【15】 /U。 #includeiostream #define PI_3.14159 const int R=10; void main() double a,b; ac2*R*PI; b=R*R*PI; cout“a=“a“,“b=“bendl;“ (分数:2.00)填空项 1:_ (正确答案:a=62.8318,b=314.159)解析:

展开阅读全文
相关资源
猜你喜欢
  • BS 5550-3 9 1-1949 Cinematography - 35 mm film - Projector spools - Specification for 35 mm film spools of 610 m capacity (38 cm size) for release prints《电影技术 35 mm胶片 放映机片盘 发行拷贝用61.pdf BS 5550-3 9 1-1949 Cinematography - 35 mm film - Projector spools - Specification for 35 mm film spools of 610 m capacity (38 cm size) for release prints《电影技术 35 mm胶片 放映机片盘 发行拷贝用61.pdf
  • BS 5550-4 4 1-1992 Cinematography - 65 mm and 70 mm film - Sound - Specification for the location and dimensions of six-track magnetic sound records on 70 mm motion-picture release.pdf BS 5550-4 4 1-1992 Cinematography - 65 mm and 70 mm film - Sound - Specification for the location and dimensions of six-track magnetic sound records on 70 mm motion-picture release.pdf
  • BS 5550-5 1 2-1993 Cinematography - Common to more than one film gauge - Raw stock - Specification for the minimum information for the labelling of containers for raw stock motion-.pdf BS 5550-5 1 2-1993 Cinematography - Common to more than one film gauge - Raw stock - Specification for the minimum information for the labelling of containers for raw stock motion-.pdf
  • BS 5550-5 4 1-1986 Cinematography - Common to more than one gauge - Sound - Code of Practice for the identification of systems for synchronization of unperforated audio tape with m.pdf BS 5550-5 4 1-1986 Cinematography - Common to more than one gauge - Sound - Code of Practice for the identification of systems for synchronization of unperforated audio tape with m.pdf
  • BS 5550-5 4 3-1987 Cinematography - Common to more than one film gauge - Sound - Specification for positions and width dimensions of recording and reproducing head gaps for three- .pdf BS 5550-5 4 3-1987 Cinematography - Common to more than one film gauge - Sound - Specification for positions and width dimensions of recording and reproducing head gaps for three- .pdf
  • BS 5550-5 4 6-1988 Cinematography - Common to more than one film gauge - Sound - Method for measurement of the signal to noise ratio of 8 mm type 16 mm and 35 mm variable area phot.pdf BS 5550-5 4 6-1988 Cinematography - Common to more than one film gauge - Sound - Method for measurement of the signal to noise ratio of 8 mm type 16 mm and 35 mm variable area phot.pdf
  • BS 5550-5 5 1-1978 Cinematography - Common to more than one film gauge - Printing - Specification for optical printing ratios for enlargement and reduction of motion-picture film i.pdf BS 5550-5 5 1-1978 Cinematography - Common to more than one film gauge - Printing - Specification for optical printing ratios for enlargement and reduction of motion-picture film i.pdf
  • BS 5550-6 1-1978 Cinematography - Television usage - Specification for motion-picture prints and sound records for international exchange of television programmes《电影技术 第6部分 电视使用 第1.pdf BS 5550-6 1-1978 Cinematography - Television usage - Specification for motion-picture prints and sound records for international exchange of television programmes《电影技术 第6部分 电视使用 第1.pdf
  • BS 5550-6 4-1970 Cinematography - Television usage - Recommendations for the density range contrast and colour balance of films and slides for colour television《电影技术 电视使用 彩色电视用影片和幻.pdf BS 5550-6 4-1970 Cinematography - Television usage - Recommendations for the density range contrast and colour balance of films and slides for colour television《电影技术 电视使用 彩色电视用影片和幻.pdf
  • 相关搜索

    当前位置:首页 > 考试资料 > 职业资格

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1