欢迎来到天天文库
浏览记录
ID:61502208
大小:548.00 KB
页数:149页
时间:2021-02-07
《C++面向对象程序设计考试题库.doc》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、SHORTANSWER1.Asetofinstructionsthatthecomputerwillfollowiscalleda_____________.Answer:program2.Thecollectionofprogramsusedbythecomputerisknownas______________.Answer:software3.Computersthatareinterconnectedareknownasa_____________.Answer:network4.Adigitthatcanholdazerooraonei
2、sknownasa___________.Answer:bit5.Listatleasttwoinputdevices_____________________________.Answer:keyboard,mouse,networkcard,file6.Listatleasttwooutputdevices___________________________.Answer:screen,printer,file,networkcard7.Avariablethatcanholdawholenumberiscalleda(n)________
3、____.Answer:integer8.WhatpunctuationsignifiestheendofaC++statement?_____________Answer:Asemicolon.9.Amistakeinacomputerprogramiscalleda______________.Answer:bug10.A__________istheprogramthattranslatesaprogramwritteninC++intomachinelanguage.Answer:compiler11.Errorsinaprogramca
4、nbeclassifiedintothreetypes,listthemAnswer:Syntax,logic,run-time12.WhatdoesthefollowingstatementinC++printtothescreen?cout<<“Hellostudents”;Answer:Hellostudents.13.Amistakethatisadirectviolationofthesyntaxruleswillgenerateacompiler________.Answer:error14.Ifyourprogramcompil
5、esandruns,butgivesanincorrectoutput,thisisknownasa_________error.Answer:logic15.Thepartofthecomputerthatcontrolsandexecutesprogramsiscalledthe_______.Answer:CPUMULTIPLECHOICE1.WhowastheprogrammerforCharlesBabbage’sanalyticalengine?a.GraceHopperb.AdaLovelacec.LordBryand.Walter
6、SavitchAnswer:B1.Analgorithmisa.Theinputsandoutputsofaprogramb.Thepartofthecomputerthatdoestheprocessingc.Afinitesetofstepstosolveaproblemd.AcompletecomputerprogramAnswer:C2.Amemoryaddressisa.Whereavariableisstoredb.Wherethecomputerislocatedc.Astepintheprogram.d.WheretheCPUis
7、stored.Answer:A3.Acomputerthatisnormallyusedbyonlyonepersonatatimeiscalledaa.Serverb.Mainframec.PersonalComputerd.NetworkAnswer:C4.Thephysicalmachinesthatmakeupacomputeriscalledthea.Softwareb.Networkc.Devicesd.CPUe.HardwareAnswer:E5.Whichofthefollowingisnotaphaseoftheprogram-
8、designprocess?a.Problem-solvingb.Implementationc.Marketingthefinalpr
此文档下载收益归作者所有