<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.mistarg.cn/index.php?action=history&amp;feed=atom&amp;title=%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%9B%BE%E7%81%B5%E6%9C%BA</id>
	<title>代码运行与图灵机 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mistarg.cn/index.php?action=history&amp;feed=atom&amp;title=%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%9B%BE%E7%81%B5%E6%9C%BA"/>
	<link rel="alternate" type="text/html" href="https://wiki.mistarg.cn/index.php?title=%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%9B%BE%E7%81%B5%E6%9C%BA&amp;action=history"/>
	<updated>2026-10-17T00:00:12Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.mistarg.cn/index.php?title=%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%9B%BE%E7%81%B5%E6%9C%BA&amp;diff=2318&amp;oldid=prev</id>
		<title>迷雾样式迁移：​重写科普正文：定义、结构、原理与资料表</title>
		<link rel="alternate" type="text/html" href="https://wiki.mistarg.cn/index.php?title=%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%9B%BE%E7%81%B5%E6%9C%BA&amp;diff=2318&amp;oldid=prev"/>
		<updated>2026-10-14T10:14:42Z</updated>

		<summary type="html">&lt;p&gt;重写科普正文：定义、结构、原理与资料表&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年10月14日 (三) 10:14的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;第1行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;程序代码是一组可由特定语言及运行环境解释的指令；相同文字在不同语言中可能含义不同。图灵机则是研究计算过程的抽象模型，通常用一条纸带、读写头、状态及转移规则描述步骤；它不是某一种实际电脑或通用编程语言。&amp;lt;ref name=&quot;python&quot;&amp;gt;[https://docs.python.org/zh-cn/3/tutorial/controlflow.html Python 官方教程《更多控制流工具》，中文]&amp;lt;/ref&amp;gt;&amp;lt;ref name=&quot;stanford&quot;&amp;gt;[https://plato.stanford.edu/entries/turing-machine/ 斯坦福哲学百科《Turing Machines》，英文，计算模型]&amp;lt;/ref&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;程序是用特定语言表达的计算步骤，运行结果取决于语言规则、输入和执行环境。图灵机是描述可计算过程的抽象模型；它不依赖某一种实际处理器或编程语言。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;复现一段程序 &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;程序执行 &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;记录语言及版本、完整源代码、输入、预期输出和运行限制。例如 Python 中 &lt;/del&gt;&amp;lt;code&amp;gt;print(2 + 3)&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;输出 &lt;/del&gt;&amp;lt;code&amp;gt;5&amp;lt;/code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;；仅截图输出“5”不足以证明原始程序是什么。程序若读取文件、网络或当前时间，结果还取决于外部环境。&amp;lt;ref name=&quot;python&quot; /&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;源代码由解析器或编译器依据语言语法处理。&lt;/ins&gt;&amp;lt;code&amp;gt;print(2 + 3)&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;在 Python 中输出 &lt;/ins&gt;&amp;lt;code&amp;gt;5&amp;lt;/code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;；相同字符序列在其他语言中可能有不同语法。输入文件、运行环境、语言版本以及外部状态也可能影响结果。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;图灵机示意图中的箭头常标注“读到什么／写成什么／向哪边移动”，每一步还要跟踪当前状态。学习时可用它解释算法是否有明确规则，不能据此推断任意具体程序会快速运行或一定停止。&amp;lt;ref name&lt;/del&gt;=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;stanford&quot; /&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= 图灵机模型 ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;图灵机通常由状态集合、纸带、读写头和转移规则组成。一次转移按当前状态与读到的符号，确定写入符号、读写头移动方向和下一状态。有限的规则能够描述逐步计算，但某个程序是否会停止并不能对所有可能程序机械地判定。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 参考资料 ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 参考资料 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;references &lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https:&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/docs.python.org/zh-cn/3/tutorial/controlflow.html Python 官方教程《更多控制流工具》，中文]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://plato.stanford.edu/entries/turing-machine/ 斯坦福哲学百科《Turing Machines》，英文，计算模型]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[工具和科普/逻辑与程序|返回逻辑与程序]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[工具和科普/逻辑与程序|返回逻辑与程序]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>迷雾样式迁移</name></author>
	</entry>
	<entry>
		<id>https://wiki.mistarg.cn/index.php?title=%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%9B%BE%E7%81%B5%E6%9C%BA&amp;diff=2257&amp;oldid=prev</id>
		<title>迷雾样式迁移：​重排科普目录与分类页面；保留工具索引和学习资源</title>
		<link rel="alternate" type="text/html" href="https://wiki.mistarg.cn/index.php?title=%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C%E4%B8%8E%E5%9B%BE%E7%81%B5%E6%9C%BA&amp;diff=2257&amp;oldid=prev"/>
		<updated>2026-10-14T09:36:50Z</updated>

		<summary type="html">&lt;p&gt;重排科普目录与分类页面；保留工具索引和学习资源&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;程序代码是一组可由特定语言及运行环境解释的指令；相同文字在不同语言中可能含义不同。图灵机则是研究计算过程的抽象模型，通常用一条纸带、读写头、状态及转移规则描述步骤；它不是某一种实际电脑或通用编程语言。&amp;lt;ref name=&amp;quot;python&amp;quot;&amp;gt;[https://docs.python.org/zh-cn/3/tutorial/controlflow.html Python 官方教程《更多控制流工具》，中文]&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;stanford&amp;quot;&amp;gt;[https://plato.stanford.edu/entries/turing-machine/ 斯坦福哲学百科《Turing Machines》，英文，计算模型]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 复现一段程序 ==&lt;br /&gt;
记录语言及版本、完整源代码、输入、预期输出和运行限制。例如 Python 中 &amp;lt;code&amp;gt;print(2 + 3)&amp;lt;/code&amp;gt; 输出 &amp;lt;code&amp;gt;5&amp;lt;/code&amp;gt;；仅截图输出“5”不足以证明原始程序是什么。程序若读取文件、网络或当前时间，结果还取决于外部环境。&amp;lt;ref name=&amp;quot;python&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
图灵机示意图中的箭头常标注“读到什么／写成什么／向哪边移动”，每一步还要跟踪当前状态。学习时可用它解释算法是否有明确规则，不能据此推断任意具体程序会快速运行或一定停止。&amp;lt;ref name=&amp;quot;stanford&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 参考资料 ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[工具和科普/逻辑与程序|返回逻辑与程序]]&lt;/div&gt;</summary>
		<author><name>迷雾样式迁移</name></author>
	</entry>
</feed>