【MIT 公开课】Computer Science and Programing Lession1
来源:互联网 发布:servlet源码包下载 编辑:程序博客网 时间:2024/05/19 03:42
学完python基本语法,并且写了一些关于爬虫的小程序后,深刻的觉得在编程思维上很是欠缺。发现在网易云课堂有一个使用python语言讲解的Computer Science and Programing 的MIT公开课,所以决定跟着学完全部课程,并在博客上做好记录。
公开课地址 :
网易云课堂http://study.163.com/plan/planIntroduction/1222079.htm
MIT该课程主页
https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/index.htm
学习完一课后,主页上有相关习题,可以加以复习。
Lission1:
1.What is the difference between declarative and imperative knowledge?
Answer:
declarative knowledge is something like definition. such as “the square of x is y, so y is positive number.”
imperative knowledge is something like recipe. such as “how to get the square of x.”
the answer for reference form MIT is:
Declarative knowledge is statements of fact; imperative knowledge is “how to” knowledge.
2.What is the advantage of a stored-program computer?
answer:
the stored-program computer can give us some instruction to solve many different questions.
the answer for reference form MIT is:
It’s far more versatile than a fixed-program computer, science it’s interprets program given to it and carries out those instructions, as opposed to being built to do one things..
3.What are the syntax, static semantics, and semantics of a language?
answer:
syntax is mean that we must write a string with an rule.
static semantics is mean that the string must has meaning.
semantics is mean that the sentence must has meaning.
the answer for reference form MIT is:
Syntax determines whether a string is legal, static semantics determine whether the string has meaning, and semantics assigns a meaning to a legal sentence (assuming no static semantic errors.
4.What sorts of errors can occur in a program?
answer:
the Variable is not being defined. the Array boundary
the answer for reference form MIT is:
Crash, run forever or give a wrong answer.
- 【MIT 公开课】Computer Science and Programing Lession1
- 【MIT 公开课】Computer Science and Programing Lession2
- 【MIT 公开课】Computer Science and Programing Lession3
- 【MIT 公开课】Computer Science and Programing Lession7
- 【MIT 公开课】Computer Science and Programing Lession 8
- 【MIT 公开课】Computer Science and Programing Lession 9
- 【MIT 公开课】Computer Science and Programing Lession 12
- 【MIT 公开课】Computer Science and Programing Lession 13
- 【MIT 公开课】Computer Science and Programing Lession 14
- MIT《Introduction to Computer Science and Programming》: Testing and Debugging
- MIT Electrical Engineering and Computer Science 参考书整理
- http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/
- Computer and Computer Science
- computer science and technology
- MIT 6.042 mathematics for computer science
- 看后总结(Introduction to Computer Science and Programming,MIT 600)
- Computer and computer Science(计算机与计算机科学)
- Computer Science and Programming: Books and Resources
- 【数据结构】二叉查找树
- ejabberd、jabber、jabberd、xmpp辨析
- android开发 -- Notification 状态栏 消息推送
- opencv颜色空间转换
- 安卓调用系统相机拍照
- 【MIT 公开课】Computer Science and Programing Lession1
- 桥接模式
- 360度实拍介绍唐山市鼎旺社区(唐山鼎旺、鼎旺国际、鼎旺瑞景、鼎旺大观、鼎旺90社区)
- Shiro框架
- 安卓 简易音乐播放器
- 定时器
- 关于C++虚函数,纯虚函数以及模板等重要概念的深入讨论(一)
- jquery json
- Ubuntu让新增用户获取su