自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 【MIT 6.0001 课程笔记】Lecture 4. Decomposition, Abstraction, Functions

Lecture 4. Decomposition, Abstraction, Functions文章目录Lecture 4. Decomposition, Abstraction, Functions随堂阅读资料作业正式笔记一个好的programme一个例子——Projector投影仪抽象与分解通过分解来构造结构通过抽象来压缩不必要的细节函数 FunctionsVariable Scope 变量阈return vs. printreturnprint返回值的特点scope的特性一个学习网站随堂阅读资料

2020-12-06 20:32:30 286

原创 【MIT 6.0001 课程笔记】Lecture 3. String Manipulation, Guess and Check, Approximations, Bisection

Lecture 3. String Manipulation, Guess and Check, Approximations, Bisection文章目录Lecture 3. String Manipulation, Guess and Check, Approximations, Bisection随堂阅读资料作业正式笔记String Manipulation 字符串操作Slice 切片无法改变性Loop Recap 在Loop中的可遍历/迭代对象字符串的loopGuess-and-Check 穷举

2020-12-04 16:07:24 307

原创 【MIT 6.0001 课程笔记】Problem Set 1

Problem Set 1文章目录Problem Set 1基本目标作业A House Hunting要求提示参考代码作业B Saving, with a raise要求提示参考代码作业C Finding the right amount to save away要求提示参考代码参考资料基本目标A Very Simple Program: Raising a number to a power and taking a logarithmThis problem set will introduc

2020-11-29 20:50:31 1901

原创 【MIT 6.0001 课程笔记】Lecture 2. Branching and Iteration

Lecture 2. Branching and Iteration文章目录Lecture 2. Branching and Iteration随堂阅读资料作业正式笔记Strings 字符串类input/outputprint语法input语法对比操作针对布尔值的逻辑操作符对比示例条件判断Control Flow - Branching 控制流之分支(if语句)缩进的重要性“=” vs “==”小例子:塞尔达传说——迷失丛林Control Flow - while loops 控制流之循环(while语句

2020-11-29 12:57:33 390

原创 【MIT 6.0001 课程笔记】Problem Set 0

Problem Set 0文章目录Problem Set 0基本目标作业要求提示参考代码参考资料基本目标A Very Simple Program: Raising a number to a power and taking a logarithmThe goal of this programming exercise is to make sure your python and numpy installations are correct, to get you more comfort

2020-11-25 16:43:14 385

原创 【MIT 6.0001 课程笔记】Lecture 1. What is computation?

Lecture 1. What is computation?文章目录Lecture 1. What is computation?随堂阅读资料作业正式笔记Topics 课程主题What does a computer do 计算机功能不同类型的知识Declarative Knowledge 陈述性知识Imperative Knowledge 程序性知识更具体的例子What is a recipe? 怎样才算一个配方(程序性知识)?计算机的特性计算机的作用计算机的结构Stored Program Comp

2020-11-25 16:02:33 285

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除