欢迎来到天天文库
浏览记录
ID:7050406
大小:2.62 MB
页数:675页
时间:2018-02-02
《c+how+to+program答案》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Instructor’sManualforCHowtoProgram,4/eDeitel&Deitel©Copyright1992–2004byDeitel&Associates,Inc.andPearsonEducationInc.AllRightsReserved.Contents1IntroductiontoComputers,theInternetandtheWorldWideWeb12IntroductiontoCProgramming53StructuredProgramDevelopmentinC194CProgramControl5
2、55CFunctions976CArrays1697Pointers2338CCharactersandStrings2839CFormattedInput/Output31910Structures,Unions,BitManipulationsandEnumerations33311CFileProcessing35312DataStructures375II13ThePreprocessor44114OtherCTopics44715C++asa“BetterC”45716C++ClassesandDataAbstraction46317C+
3、+Classes:PartII48518C++OperatorOverloading49319C++Inheritance49920C++VirtualFunctionsandPolymorphism51121C++StreamInput/Output51922C++Templates53723C++ExceptionHandling:Solution54324IntroductiontoJavaApplicationsandApplets54725BeyondC&C++:Operators,Methods&ArraysinJava55726Jav
4、aObject-BasedProgramming58527JavaObject-OrientedProgramming60328JavaGraphicsandJava2D61729JavaGraphicalUserInterfaceComponents63330JavaMultimedia:Images,Animation,andAudio6611IntroductiontoComputers,theInternetandtheWorldWideWeb:SolutionsSOLUTIONS1.3Categorizeeachofthefollowin
5、gitemsaseitherhardwareorsoftware:a)CPUANS:hardware.b)CcompilerANS:software.c)ALUANS:hardware.d)CpreprocessorANS:software.e)inputunitANS:hardware.f)awordprocessorprogramANS:software.1.4Whymightyouwanttowriteaprograminamachine-independentlanguageinsteadofamachine-dependentlangua
6、ge?Whymightamachine-dependentlanguagebemoreappropriateforwritingcertaintypesofprograms?ANS:Machineindependentlanguagesareusefulforwritingprogramstobeexecutedonmultiplecomputerplatforms.Machinedependentlanguagesareappropriateforwritingprogramstobeexecutedonasingleplatform.Machi
7、nedependentlanguagestendtoexploittheefficienciesofaparticularmachine.1.5Translatorprogramssuchasassemblersandcompilersconvertprogramsfromonelanguage(referredtoasthesourcelan-guage)toanotherlanguage(referredtoastheobjectlanguage).Determinewhichofthefollowingstatementsaretrueand
8、whicharefalse:a)Acompilertranslateshigh-levellanguageprograms
此文档下载收益归作者所有
点击更多查看相关文章~~