【学习笔记】Introduction to Computer Science and Programming

1.Declarative knowledge & Imperative knowldge

           陈述性知识                    程序性知识

陈述性知识:是关于事物及其关系的知识,或者说是关于“是什么”的知识,包括对事实,规则,事件等信息的表达。 

程序性知识:是关于完成某项任务的行为或操作步骤的知识,或者说是关于“如何做”的知识。它包括一切为了进行信息转换活动而采取的具体操作程序。

陈述性知识和程序性知识是学习过程不可分割的两个方面。任何知识的学习都要经过陈述性阶段才能进入程序性阶段。程序性知识的获得过程就是陈述性知识向技能的转化过程。练习与反馈是陈述性知识转化为程序性知识的重要条件。程序性知识的运用有助于陈述性知识的学习。在人类的绝大多数的活动中,这两类知识是共同参与,互为条件的。


2.Interpreted Language & Compile Language

        编译型语言                          解释型语言

In an interpreted language, you take what's called the source code, the thing you write, it may go through a simple checker, but it bascially goes to the interpreter, that thing inside the machine that's control the flow of going through flow, each one of the instructions and give an output.

So the interpreter is simply operating directly on your code at run time. An interperated language is often easier to debug, but not always fast.


In a compile language, you have an intermediate step, in which you take the source code, it runs through what's called a checker or a compiler or both, and it creates what's calledobject code. And that does two things: one, it helps catch bugd in your code; two, it often converts it into  a more efficient sequence of instructions before you actually go off and run it. A compiled language is usualluy much faster

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值