MITx - 6.00.1x 笔记(1) Python Basics

Python Basics

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

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

计算机的局限:

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

计算机可识别的信息:

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

steps + flow of control + when to stop = Algorithm

Basic Machine Architecture

计算机的核心包括:

  • 算术逻辑单元(arithmetic logic unit) 是能实现多组算术运算和逻辑运算的组合逻辑电路,简称ALU
  • 控制单元(Control Unit)
    mechanical process

Basic Primitives

  • 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

primitive constructs

Definitions
Quora上的解释:Syntax→Static semantics→Semantics

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值