From 318ed81bcab64ac3a3f52128c31c463d81546040 Mon Sep 17 00:00:00 2001 From: Eric Douglas Date: Tue, 6 May 2014 21:29:42 -0300 Subject: [PATCH] 01.01.01 Introduction --- .../archives/UNIT-01/01-introduction/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/01-introduction/README.md b/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/01-introduction/README.md index 0876ef5..5a57df9 100644 --- a/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/01-introduction/README.md +++ b/archives/01-introduction-to-computer-science-and-programming/archives/UNIT-01/01-introduction/README.md @@ -15,3 +15,19 @@ This lecture covers course expectations, introduces computer programming and its * Resources * [Lecture slides (PDF)](http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/unit-1/lecture-1-introduction-to-6.00/MIT6_00SCS11_lec01_slides.pdf) +## Check Yourself + +##### What is the difference between declarative and imperative knowledge? + +Declarative knowledge is statements of fact; imperative knowledge is "how to" knowledge. + +##### What is the advantage of a stored-program computer? + +It's far more versatile than a fixed-program computer, since it interprets a program given to it and carries out those instructions, as opposed to being to do one thing. + +##### What are syntax, static semantics, and semantics of a language? + +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). + +##### What sorts of errors can occur in a program? +It can crash, run forever, or give a wrong answer.