资源描述:
《算法程序框图 练习题》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、算法程序框图练习题注意事项:1.答题前填写好自己的姓名、班级、考号等信息2.请将答案正确填写在答题卡上第I卷(选择题)请点击修改第I卷的文字说明评卷人得分一、选择题(题型注释)1.下图给出了下一个算法流程图,该算法流程图的功能是()??A.求a,b,c三数的最大数B.求a,b,c三数的最小数C.将a,b,c按从小到大排列D.将a,b,c按从大到小排列2.为了在运行下面的程序之后得到输出25,键盘输入x应该是()INPUTxIFx<0THENy=(x+1)*(x+1)ELSEy=(x-1)*(x-1)ENDIFPRINTyENDA.4或-4B.-6C.6或-4D.6或-6
2、3.下列程序框中,出口可以有两个流向的是()A.终止框B.输入输出框C.处理框D.判断框4.用秦九韶算法求多项式,当时的值的过程中,做的乘法和加法次数分别为()integratedenergy,chemicalsandtextileYibincity,arethethreecorepillarsoftheindustry.In2014,thewuliangyebrandvalueto73.58billionyuan,thecity'sliquorindustrysliptostabilise.Promotingdeepdevelopmentofintegratedene
3、rgy,advancedequipmentmanufacturingindustry,changningdistrict,shalegasproductioncapacityreached277millioncubicmetres,builtthecountry'sfirstindependenthigh-yieldwellsandpipelinesinthefirstsection,theleadinfactoryproductionandsupplytothepopulation.2.1-3GDPgrowthfigure2.1-4Yibin,Yibincity,Yi
4、bincity,fiscalrevenuegrowth2.1.4topographyterrainoverallisSouthwest,North-EasternState.Lowmountainsandhillsinthecitylandscapeasthemainridge-and-Valley,pingbasmallfragmentednaturepicturefor"waterandthesecondlandofthesevenhills".236metersto2000metersabovesealevelinthecity,lowmountain,46.6%
5、hills45.3%,pingbaonly8.1%.2.1.5developmentofYibinlandscapesanddistinctivefeatureinthecenterofthecity,withlimitations,andspatialstructureoftypicalzonalgroup,2012-citiesinbuildingwithanareaofabout76.2km2.Fromcity-buildingsituation,"oldtown-theSouthBank"Centerconstructionislaggingbehind,dis
6、integrationoftheoldcityisslow,optimizationandupgrading,qualitypublicserviceresourcesarestillheavilyconcentratedintheoldtowntogether.SouthbankCentrehasnotbeenformed,functionsoftheserviceareaspaceismissing.Meanwhile,peripheralgroupcentresservicewasweakandinadequateaccountingforcitydevelopm
7、ent,"suspicious"patterncouldnotbeformed.Asregardstransport,withtheoutwardexpansionofcities,citieshavebeenexpanding,centripetalcitytrafficorganizationhasnotchanged,integratedenergy,chemicalsandtextileYibincity,arethethreecorepillarsoftheindustry.In2014,thewuliangyebrandval