Python Basics

归根到底,计算机能做的事:

  • 迅速进行计算(需要有好的算法
  • 存储数据

计算机的局限:

  • 无法解决很复杂的问题
  • 一些不能通过计算来解决的问题

计算机可识别的信息:

  • 陈述性的信息(declarative knowledge):是什么
  • 命令性的信息(imperative knowledge):怎么做

steps + flow of control + when to stop = Algorithm

MITx - 6.00.1x 笔记(1) Python Basics

计算机的核心包括:

  • 算术逻辑单元(arithmetic logic unit) 是能实现多组算术运算和逻辑运算的组合逻辑电路,简称ALU
  • 控制单元(Control Unit)
    MITx - 6.00.1x 笔记(1) Python Basics

MITx - 6.00.1x 笔记(1) Python Basics

  • The six basic operations/primitives that gives a language Turing completeness
    • Right: Move the Machine’s head to the right of the current square
    • Left: Move the Machine’s head to the left of the current square
    • Print: Print a symbol on the current square
    • Scan: Identify any symbols on the current square
    • Erase: Erase any symbols presented on the current square
    • Nothing/halt: Do nothing
  • abstract
    • abstract methods to create new primitives
  • Turing complete
    • anything computable in one language is computable in any other programming language

MITx - 6.00.1x 笔记(1) Python Basics

MITx - 6.00.1x 笔记(1) Python Basics
Quora上的解释:Syntax→Static semantics→Semantics

相关文章:

  • 2018-05-03
  • 2021-10-01
  • 2021-05-03
  • 2021-04-15
  • 2021-12-12
  • 2021-06-23
  • 2021-12-01
猜你喜欢
  • 2021-05-13
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2021-11-29
  • 2021-08-17
  • 2021-11-24
相关资源
相似解决方案