Files

98 lines
11 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1337" viewBox="0 0 1200 1337" role="img" aria-labelledby="title desc">
<title id="title">循环结构程序设计:本章知识结构</title>
<desc id="desc">根据教材扫描图人工重绘的矢量教学示意图。文字与线条可无损缩放。</desc>
<defs><marker id="arrow" markerWidth="9" markerHeight="9" refX="8" refY="4.5" orient="auto" markerUnits="userSpaceOnUse"><path d="M0 0 L9 4.5 L0 9 Z" fill="#417b63"/></marker></defs>
<rect width="1200" height="1337" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<rect x="330" y="15" width="540" height="60" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="600.0" y="45.0" text-anchor="middle" dominant-baseline="central" font-size="27" fill="#193b32">循环结构程序设计</text>
<path d="M330 45 H25 V1070.0" fill="none" stroke="#417b63" stroke-width="2"/>
<line x1="25" y1="325.0" x2="55" y2="325.0" stroke="#417b63" stroke-width="2"/>
<rect x="55" y="283.0" width="185" height="84" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="147.5" y="309.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">for语句和while</text>
<text x="147.5" y="340.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">语句</text>
<path d="M240 325.0 C265 325.0 265 159.0 290 159.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="290" y="130.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="450.0" y="159.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-1:Apples Plus</text>
<path d="M610 159.0 C645 159.0 645 127.0 680 127.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="100.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="127.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">for语句的使用</text>
<path d="M610 159.0 C645 159.0 645 191.0 680 191.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="164.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="191.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">i++自增</text>
<path d="M240 325.0 C265 325.0 265 280.0 290 280.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="290" y="238.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="450.0" y="264.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-2:找最小值</text>
<text x="450.0" y="295.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-3:分类平均</text>
<path d="M610 280.0 C645 280.0 645 280.0 680 280.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="253.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="280.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">for语句的循环变量</text>
<path d="M240 325.0 C265 325.0 265 377.0 290 377.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="290" y="348.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="450.0" y="377.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-4:一尺之棰</text>
<path d="M610 377.0 C645 377.0 645 377.0 680 377.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="350.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="377.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">while语句的使用</text>
<path d="M240 325.0 C265 325.0 265 491.0 290 491.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="290" y="462.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="450.0" y="491.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-5:猜数游戏</text>
<path d="M610 491.0 C645 491.0 645 459.0 680 459.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="432.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="459.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">do-while语句的使用</text>
<path d="M610 491.0 C645 491.0 645 523.0 680 523.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="496.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="523.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">随机数的产生</text>
<line x1="25" y1="704.0" x2="55" y2="704.0" stroke="#417b63" stroke-width="2"/>
<rect x="55" y="669.0" width="185" height="70" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="147.5" y="704.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">多重循环</text>
<path d="M240 704.0 C265 704.0 265 659.0 290 659.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="290" y="617.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="450.0" y="643.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-6:数字直角三角形</text>
<text x="450.0" y="674.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-7:阶乘之和</text>
<path d="M610 659.0 C645 659.0 645 627.0 680 627.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="600.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="627.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">for循环套for循环</text>
<path d="M610 659.0 C645 659.0 645 691.0 680 691.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="664.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="691.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">数据范围的估计</text>
<path d="M240 704.0 C265 704.0 265 773.0 290 773.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="290" y="744.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="450.0" y="773.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-8:计数问题</text>
<path d="M610 773.0 C645 773.0 645 773.0 680 773.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="746.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="773.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">for循环套while循环</text>
<line x1="25" y1="1070.0" x2="55" y2="1070.0" stroke="#417b63" stroke-width="2"/>
<rect x="55" y="1028.0" width="185" height="84" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="147.5" y="1054.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">循环结构程序设</text>
<text x="147.5" y="1085.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">计案例</text>
<path d="M240 1070.0 C265 1070.0 265 900.0 290 900.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="290" y="858.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="450.0" y="884.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-9:级数求和</text>
<text x="450.0" y="915.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-10:金币</text>
<path d="M610 900.0 C645 900.0 645 900.0 680 900.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="873.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="900.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">更多的竞赛试题实战</text>
<path d="M240 1070.0 C265 1070.0 265 1053.0 290 1053.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="290" y="1011.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="450.0" y="1037.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-11:数列求和(1)</text>
<text x="450.0" y="1068.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-12:数列求和(2)</text>
<path d="M610 1053.0 C645 1053.0 645 989.0 680 989.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="962.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="989.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">i++和++i的区别</text>
<path d="M610 1053.0 C645 1053.0 645 1053.0 680 1053.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="1026.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="1053.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">未定义行为</text>
<path d="M610 1053.0 C645 1053.0 645 1117.0 680 1117.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="1090.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="1117.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">浮点数陷阱和死循环</text>
<path d="M240 1070.0 C265 1070.0 265 1223.0 290 1223.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="290" y="1181.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="450.0" y="1207.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-13:质数口袋</text>
<text x="450.0" y="1238.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例4-14:回文质数</text>
<path d="M610 1223.0 C645 1223.0 645 1191.0 680 1191.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="1164.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="1191.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">质数判断方法</text>
<path d="M610 1223.0 C645 1223.0 645 1255.0 680 1255.0" fill="none" stroke="#417b63" stroke-width="2"/>
<rect x="680" y="1228.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="1255.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">break和continue控制循环流程</text>
</g></svg>