版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
§1.1.3程序框圖與算法的基本邏輯結(jié)構(gòu)Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.第二課時(shí)算法的循環(huán)結(jié)構(gòu)Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.知識(shí)探究(四):算法的循環(huán)結(jié)構(gòu)Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.知識(shí)探究(四):算法的循環(huán)結(jié)構(gòu)Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.第一步,令i=1,S=0.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.第一步,令i=1,S=0.第二步,計(jì)算S+i,仍用S表示.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.第一步,令i=1,S=0.第二步,計(jì)算S+i,仍用S表示.第三步,計(jì)算i+1,仍用i表示.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.第一步,令i=1,S=0.第二步,計(jì)算S+i,仍用S表示.第三步,計(jì)算i+1,仍用i表示.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1S=0Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1S=0S=S+iEvaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1S=0i=i+1S=S+iEvaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1i>100?S=0i=i+1S=S+iEvaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1i>100?是輸出SS=0i=i+1S=S+iEvaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1i>100?是輸出S結(jié)束S=0i=i+1S=S+iEvaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1i>100?是輸出S結(jié)束S=0i=i+1S=S+i否Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1S=0Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1S=0i≤100?Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1輸出S否S=0i≤100?Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1結(jié)束輸出S否S=0i≤100?Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1結(jié)束輸出S否是S=0S=S+ii≤100?Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始i=1結(jié)束輸出S否是S=0S=S+ii≤100?i=i+1Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.算法分析:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.第一步,輸入2005年的年生產(chǎn)總值.算法分析:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.第一步,輸入2005年的年生產(chǎn)總值.第二步,計(jì)算下一年的年生產(chǎn)總值.算法分析:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.第一步,輸入2005年的年生產(chǎn)總值.第二步,計(jì)算下一年的年生產(chǎn)總值.算法分析:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.循環(huán)結(jié)構(gòu):Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.循環(huán)結(jié)構(gòu):Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.(2)初始值:n=2005,a=200.循環(huán)結(jié)構(gòu):Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.(3)控制條件:當(dāng)“a>300”時(shí)終止循環(huán).(2)初始值:n=2005,a=200.循環(huán)結(jié)構(gòu):Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始n=2005程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始n=2005a=200程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始n=2005a=200t=0.05a程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始n=2005a=200t=0.05aa=a+t程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始n=2005a=200t=0.05aa=a+tn=n+1程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始n=2005a=200t=0.05aa=a+tn=n+1a>300?程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始n=2005a=200t=0.05aa=a+tn=n+1a>300?輸出n是程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始n=2005a=200t=0.05aa=a+tn=n+1a>300?結(jié)束輸出n是程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.開(kāi)始n=2005a=200t=0.05aa=a+tn=n+1a>300?結(jié)束輸出n是否程序框圖:Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.順序結(jié)構(gòu)的程序框圖的基本特征:小結(jié)Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.順序結(jié)構(gòu)的程序框圖的基本特征:小結(jié)Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.順序結(jié)構(gòu)的程序框圖的基本特征:小結(jié)(2)各程序框從上到下用流程線(xiàn)依次連接.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile.Copyright2004-2011AsposePtyLtd.條件結(jié)構(gòu)的程序框圖的基本特征:小結(jié)Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientP
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 廣東理工學(xué)院《汽車(chē)工程制圖》2023-2024學(xué)年第一學(xué)期期末試卷
- 廣東科技學(xué)院《中學(xué)化學(xué)課程教學(xué)論》2023-2024學(xué)年第一學(xué)期期末試卷
- 廣東理工職業(yè)學(xué)院《大氣污染控制工程》2023-2024學(xué)年第一學(xué)期期末試卷
- 廣東江門(mén)幼兒師范高等專(zhuān)科學(xué)?!墩羝l(fā)生器熱工水力計(jì)算課程設(shè)計(jì)》2023-2024學(xué)年第一學(xué)期期末試卷
- 廣東環(huán)境保護(hù)工程職業(yè)學(xué)院《茶葉審評(píng)與檢驗(yàn)》2023-2024學(xué)年第一學(xué)期期末試卷
- 廣東工業(yè)大學(xué)《現(xiàn)代化學(xué)基礎(chǔ)》2023-2024學(xué)年第一學(xué)期期末試卷
- 廣安職業(yè)技術(shù)學(xué)院《零售管理實(shí)務(wù)》2023-2024學(xué)年第一學(xué)期期末試卷
- 《折舊的計(jì)算方法》課件
- 《絕密微信課程》課件
- 贛南師范大學(xué)《現(xiàn)代文與中學(xué)語(yǔ)文教學(xué)》2023-2024學(xué)年第一學(xué)期期末試卷
- 齊魯針灸智慧樹(shù)知到期末考試答案2024年
- 宋代茶文化課件
- 2024年蘇州市軌道交通集團(tuán)有限公司招聘筆試參考題庫(kù)附帶答案詳解
- 建筑工程招標(biāo)方案
- 2024年1月電大國(guó)家開(kāi)放大學(xué)期末試題及答案:農(nóng)村政策法規(guī)
- (高清版)DZT 0261-2014 滑坡崩塌泥石流災(zāi)害調(diào)查規(guī)范(1:50000)
- 2024年中職《餐飲服務(wù)與管理》職教高考必備考試題庫(kù)(含答案)
- 足球教練員培訓(xùn)課件
- 招商崗位轉(zhuǎn)正述職報(bào)告
- 長(zhǎng)沙衛(wèi)生職業(yè)學(xué)院?jiǎn)握袇⒖荚囶}庫(kù)(含答案)
- 抖音運(yùn)營(yíng)述職報(bào)告
評(píng)論
0/150
提交評(píng)論